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

Issue 11415223: gpu: Allow BufferData size=0 for pixel transfer buffer objects. (Closed)

Created:
8 years ago by reveman
Modified:
8 years ago
Reviewers:
greggman
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

gpu: Allow BufferData size=0 for pixel transfer buffer objects. This makes it possible to release all shared memory used by a pixel transfer buffer without destroying the Id. BUG=163482 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170776

Patch Set 1 #

Total comments: 3

Patch Set 2 : Allow BufferTracker::Buffer to be created with zero size. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -12 lines) Patch
M gpu/command_buffer/client/buffer_tracker.cc View 1 2 chunks +11 lines, -8 lines 0 comments Download
M gpu/command_buffer/client/buffer_tracker_unittest.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
greggman
https://codereview.chromium.org/11415223/diff/1/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (left): https://codereview.chromium.org/11415223/diff/1/gpu/command_buffer/client/gles2_implementation.cc#oldcode1200 gpu/command_buffer/client/gles2_implementation.cc:1200: if (size == 0) { this removal I understand ...
8 years ago (2012-11-30 09:13:15 UTC) #1
reveman
https://codereview.chromium.org/11415223/diff/1/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/11415223/diff/1/gpu/command_buffer/client/gles2_implementation.cc#newcode1221 gpu/command_buffer/client/gles2_implementation.cc:1221: if (size) { On 2012/11/30 09:13:15, greggman wrote: > ...
8 years ago (2012-11-30 09:30:33 UTC) #2
reveman
Latest patch creates a Buffer with zero size. I also added a unit test. PTAL.
8 years ago (2012-11-30 09:57:12 UTC) #3
greggman
On 2012/11/30 09:57:12, David Reveman wrote: > Latest patch creates a Buffer with zero size. ...
8 years ago (2012-12-03 04:29:07 UTC) #4
reveman
On 2012/12/03 04:29:07, greggman wrote: > On 2012/11/30 09:57:12, David Reveman wrote: > > Latest ...
8 years ago (2012-12-03 12:53:19 UTC) #5
greggman
On 2012/12/03 12:53:19, David Reveman wrote: > On 2012/12/03 04:29:07, greggman wrote: > > On ...
8 years ago (2012-12-03 13:56:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/11415223/5001
8 years ago (2012-12-03 14:04:13 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) ash_unittests
8 years ago (2012-12-03 15:22:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/11415223/5001
8 years ago (2012-12-03 16:22:37 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) ash_unittests
8 years ago (2012-12-03 16:56:14 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/11415223/5001
8 years ago (2012-12-03 18:11:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/11415223/5001
8 years ago (2012-12-03 18:51:44 UTC) #12
commit-bot: I haz the power
8 years ago (2012-12-03 19:04:34 UTC) #13
Message was sent while issue was closed.
Change committed as 170776

Powered by Google App Engine
This is Rietveld 408576698