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

Issue 9702081: Splitting GpuMemoryAllocation into two parts: for renderer and browser (Closed)

Created:
8 years, 9 months ago by mmocny
Modified:
8 years, 9 months ago
Reviewers:
piman, jonathan.backer
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Splitting GpuMemoryAllocation into two parts: for renderer and browser. Sets the suggest_have_backbuffer value of WebKit::WebGraphicsMemoryAllocation as part of GpuMemoryManager work. BUG=116049 TEST=content_unittests GpuMemoryManagerTest.* and Manual testing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127572

Patch Set 1 #

Total comments: 10

Patch Set 2 : removing needless includes #

Total comments: 9

Patch Set 3 : Fixing the small nits for now. #

Patch Set 4 : Adding suggest have backbuffer hint to memory allocation callback in WGC3D #

Patch Set 5 : Removing code unrelated to suggest_have_backbuffer memory allocation. #

Patch Set 6 : Adding unittests for GpuMemoryAllocation comparison functions since they have become not as trivial. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -105 lines) Patch
M content/common/gpu/client/command_buffer_proxy.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/gpu/client/content_gl_context.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/gpu/client/content_gl_context.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_memory_allocation.h View 1 2 1 chunk +70 lines, -27 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_memory_manager_unittest.cc View 1 2 3 4 5 14 chunks +83 lines, -58 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mmocny
This is an intermediate CL to move drop backbuffer hooks over to renderer. I am ...
8 years, 9 months ago (2012-03-15 19:11:42 UTC) #1
piman
https://chromiumcodereview.appspot.com/9702081/diff/2001/content/common/gpu/client/command_buffer_proxy.cc File content/common/gpu/client/command_buffer_proxy.cc (right): https://chromiumcodereview.appspot.com/9702081/diff/2001/content/common/gpu/client/command_buffer_proxy.cc#newcode112 content/common/gpu/client/command_buffer_proxy.cc:112: Send(new GpuCommandBufferMsg_CreateBackbuffer(route_id_)); The problem is that here you have ...
8 years, 9 months ago (2012-03-15 20:14:31 UTC) #2
mmocny
https://chromiumcodereview.appspot.com/9702081/diff/2001/content/common/gpu/client/command_buffer_proxy.cc File content/common/gpu/client/command_buffer_proxy.cc (right): https://chromiumcodereview.appspot.com/9702081/diff/2001/content/common/gpu/client/command_buffer_proxy.cc#newcode112 content/common/gpu/client/command_buffer_proxy.cc:112: Send(new GpuCommandBufferMsg_CreateBackbuffer(route_id_)); You are correct, this will be moved ...
8 years, 9 months ago (2012-03-15 20:39:27 UTC) #3
mmocny
Latest patch relies on https://bugs.webkit.org/show_bug.cgi?id=81279 landing. On 2012/03/15 20:39:27, mmocny wrote: > https://chromiumcodereview.appspot.com/9702081/diff/2001/content/common/gpu/client/command_buffer_proxy.cc > File ...
8 years, 9 months ago (2012-03-15 23:02:45 UTC) #4
mmocny
I am going to break this patch up into smaller pieces, since the gles2 extension ...
8 years, 9 months ago (2012-03-19 19:27:29 UTC) #5
mmocny
Alright, I've split the CL and this is now just the subset which will suggest ...
8 years, 9 months ago (2012-03-19 20:31:40 UTC) #6
piman
lgtm
8 years, 9 months ago (2012-03-19 20:34:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmocny@chromium.org/9702081/11002
8 years, 9 months ago (2012-03-19 21:55:20 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-19 23:39:45 UTC) #9
Change committed as 127572

Powered by Google App Engine
This is Rietveld 408576698