Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 10961008: cc: Remove TextureUploaderOption. (Closed)

Created:
8 years, 3 months ago by reveman
Modified:
8 years, 3 months ago
Reviewers:
jamesr, nduca, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Remove TextureUploaderOption. After stopping to throttle partial uploads this option is no longer needed. BUG= TEST=cc_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158192

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add SoftwareTextureUploader to CCResourceProvider for software mode and init m_maxTextureSize to 0. #

Total comments: 2

Patch Set 3 : Settle for removing TextureUploaderOption in this CL. I'll figure out what to do with the uploader … #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -63 lines) Patch
M cc/CCDelegatedRendererLayerImplTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/CCLayerTreeHostImpl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/CCLayerTreeHostImpl.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCLayerTreeHostImplTest.cpp View 1 2 22 chunks +22 lines, -22 lines 0 comments Download
M cc/CCPrioritizedTextureTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCRendererGLTest.cpp View 6 chunks +6 lines, -6 lines 0 comments Download
M cc/CCResourceProvider.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M cc/CCResourceProvider.cpp View 1 2 3 chunks +4 lines, -7 lines 0 comments Download
M cc/CCResourceProviderTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCScopedTextureTest.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M cc/CCSingleThreadProxy.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCTextureUpdateControllerTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/CCThreadProxy.cpp View 1 2 3 chunks +2 lines, -9 lines 0 comments Download
M cc/TiledLayerChromiumTest.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
reveman
Hi, here's some more cleanup. I will follow up with another CL that makes CCTextureUpdateController ...
8 years, 3 months ago (2012-09-20 01:27:32 UTC) #1
piman
https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp File cc/CCResourceProvider.cpp (left): https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp#oldcode398 cc/CCResourceProvider.cpp:398: m_textureUploader = UnthrottledTextureUploader::create(); drive-by: what about the software case ...
8 years, 3 months ago (2012-09-20 01:37:01 UTC) #2
nduca
LGTM https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp File cc/CCResourceProvider.cpp (left): https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp#oldcode398 cc/CCResourceProvider.cpp:398: m_textureUploader = UnthrottledTextureUploader::create(); It'd be really nice if ...
8 years, 3 months ago (2012-09-20 03:49:29 UTC) #3
piman
https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp File cc/CCResourceProvider.cpp (left): https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp#oldcode398 cc/CCResourceProvider.cpp:398: m_textureUploader = UnthrottledTextureUploader::create(); On 2012/09/20 03:49:29, nduca wrote: > ...
8 years, 3 months ago (2012-09-20 04:30:29 UTC) #4
nduca
Why dont you have a texture uploader? YOu're going to upload tile data... you definitely ...
8 years, 3 months ago (2012-09-20 04:31:05 UTC) #5
piman
On 2012/09/20 04:31:05, nduca wrote: > Why dont you have a texture uploader? YOu're going ...
8 years, 3 months ago (2012-09-20 04:31:49 UTC) #6
nduca
Oh, I seee, you're concerned about the very-near term, because we dont initialize it to ...
8 years, 3 months ago (2012-09-20 04:32:11 UTC) #7
nduca
Derp derp, ~stupid me~. David, seems like the step before this patch is to make ...
8 years, 3 months ago (2012-09-20 04:33:45 UTC) #8
reveman
https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp File cc/CCResourceProvider.cpp (left): https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp#oldcode398 cc/CCResourceProvider.cpp:398: m_textureUploader = UnthrottledTextureUploader::create(); On 2012/09/20 04:30:29, piman wrote: > ...
8 years, 3 months ago (2012-09-20 04:52:18 UTC) #9
reveman
On 2012/09/20 04:33:45, nduca wrote: > Derp derp, ~stupid me~. > > David, seems like ...
8 years, 3 months ago (2012-09-20 04:55:26 UTC) #10
reveman
On 2012/09/20 04:30:29, piman wrote: > https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp > File cc/CCResourceProvider.cpp (left): > > https://codereview.chromium.org/10961008/diff/1/cc/CCResourceProvider.cpp#oldcode398 > ...
8 years, 3 months ago (2012-09-20 04:58:28 UTC) #11
piman
On Wed, Sep 19, 2012 at 9:58 PM, <reveman@chromium.org> wrote: > On 2012/09/20 04:30:29, piman ...
8 years, 3 months ago (2012-09-20 06:25:12 UTC) #12
reveman
How do you feel about the latest patch. Ready to land?
8 years, 3 months ago (2012-09-20 18:24:31 UTC) #13
nduca
Fix below and LGTM https://chromiumcodereview.appspot.com/10961008/diff/10001/cc/CCResourceProvider.cpp File cc/CCResourceProvider.cpp (right): https://chromiumcodereview.appspot.com/10961008/diff/10001/cc/CCResourceProvider.cpp#newcode29 cc/CCResourceProvider.cpp:29: class SoftwareTextureUploader : public TextureUploader ...
8 years, 3 months ago (2012-09-20 18:34:17 UTC) #14
piman
https://chromiumcodereview.appspot.com/10961008/diff/10001/cc/CCResourceProvider.cpp File cc/CCResourceProvider.cpp (right): https://chromiumcodereview.appspot.com/10961008/diff/10001/cc/CCResourceProvider.cpp#newcode29 cc/CCResourceProvider.cpp:29: class SoftwareTextureUploader : public TextureUploader { On 2012/09/20 18:34:17, ...
8 years, 3 months ago (2012-09-20 18:48:42 UTC) #15
nduca
My feedback is not a style comment per se. In this case, its an obvious ...
8 years, 3 months ago (2012-09-20 19:00:11 UTC) #16
reveman
I don't mind putting that class in a separate file but taking a step back ...
8 years, 3 months ago (2012-09-20 19:22:58 UTC) #17
piman
On Thu, Sep 20, 2012 at 12:22 PM, <reveman@chromium.org> wrote: > I don't mind putting ...
8 years, 3 months ago (2012-09-20 19:29:03 UTC) #18
nduca
I think you're confused. We have both TextureUpdaters and TextureUploaders. One paints, one uploads.
8 years, 3 months ago (2012-09-20 19:42:01 UTC) #19
piman
On Thu, Sep 20, 2012 at 12:42 PM, <nduca@chromium.org> wrote: > I think you're confused. ...
8 years, 3 months ago (2012-09-20 20:48:24 UTC) #20
reveman
I'm going ahead and landing this now that I've removed the CCResourceProvider change that I ...
8 years, 3 months ago (2012-09-22 18:57:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/10961008/6004
8 years, 3 months ago (2012-09-22 18:57:31 UTC) #22
commit-bot: I haz the power
8 years, 3 months ago (2012-09-22 22:22:15 UTC) #23
Change committed as 158192

Powered by Google App Engine
This is Rietveld 408576698