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

Issue 6316002: Make CommandBuffer::Flush asynchronous, and add CommandBuffer::FlushSync with former semantics. (Closed)

Created:
9 years, 11 months ago by piman
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, jam, darin-cc_chromium.org, Paweł Hajdan Jr., stuartmorgan+watch_chromium.org, apatrick_chromium
Visibility:
Public.

Description

Make CommandBuffer::Flush asynchronous, and add CommandBuffer::FlushSync with former semantics. Also force a flush when the buffer is getting full. BUG=none TEST=gpu_unittests, some webgl content, some 3d css content, pepper flash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71514

Patch Set 1 #

Total comments: 10

Patch Set 2 : review comments #

Total comments: 1

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -30 lines) Patch
M chrome/gpu/gpu_command_buffer_stub.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/plugin/command_buffer_stub.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/command_buffer_proxy.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/renderer/command_buffer_proxy.cc View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/renderer/webplugin_delegate_pepper.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.cc View 1 2 3 5 chunks +22 lines, -14 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/command_buffer.h View 1 chunk +8 lines, -1 line 0 comments Download
M gpu/command_buffer/common/command_buffer_mock.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/command_buffer_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/command_buffer_service.cc View 2 chunks +5 lines, -1 line 0 comments Download
M gpu/pgl/command_buffer_pepper.h View 1 chunk +2 lines, -1 line 0 comments Download
M gpu/pgl/command_buffer_pepper.cc View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
piman
I'm also working on a CL that would replace the uses of FlushSync (in all ...
9 years, 11 months ago (2011-01-14 04:55:04 UTC) #1
apatrick
Awesome thanks for doing this. Just some notes and observations. LGTM. http://codereview.chromium.org/6316002/diff/1/gpu/command_buffer/client/cmd_buffer_helper.cc File gpu/command_buffer/client/cmd_buffer_helper.cc (right): ...
9 years, 11 months ago (2011-01-14 18:31:34 UTC) #2
Antoine Labour
http://codereview.chromium.org/6316002/diff/1/gpu/command_buffer/client/cmd_buffer_helper.cc File gpu/command_buffer/client/cmd_buffer_helper.cc (right): http://codereview.chromium.org/6316002/diff/1/gpu/command_buffer/client/cmd_buffer_helper.cc#newcode116 gpu/command_buffer/client/cmd_buffer_helper.cc:116: GPU_CHECK(count < usable_entry_count_); On 2011/01/14 18:31:34, apatrick wrote: > ...
9 years, 11 months ago (2011-01-14 21:35:33 UTC) #3
apatrick_chromium
LGTM http://codereview.chromium.org/6316002/diff/11001/gpu/command_buffer/client/cmd_buffer_helper.cc File gpu/command_buffer/client/cmd_buffer_helper.cc (right): http://codereview.chromium.org/6316002/diff/11001/gpu/command_buffer/client/cmd_buffer_helper.cc#newcode141 gpu/command_buffer/client/cmd_buffer_helper.cc:141: // reader is know to be idle. know ...
9 years, 11 months ago (2011-01-14 22:43:32 UTC) #4
Antoine Labour
PTAL (sorry). The unittests were failing because they relied on implementation details. Adding the extra ...
9 years, 11 months ago (2011-01-14 23:17:27 UTC) #5
apatrick_chromium
9 years, 11 months ago (2011-01-14 23:29:31 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698