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

Issue 2329523002: Save/restore PBO bindings in DrawingBuffer (Closed)

Created:
4 years, 3 months ago by Kai Ninomiya
Modified:
4 years, 3 months ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, haraken, Rik, f(malita), blink-reviews, piman+watch_chromium.org, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis, qiankun
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Save/restore PBO bindings in DrawingBuffer DrawingBuffer::prepareTextureMailboxInternal This prevents TexImage2D from being called internally with a leaked pixel unpack buffer object bound. BUG=644572 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/2c847da844d0f3f802069754b840bc36c3366c87 Cr-Commit-Position: refs/heads/master@{#417815}

Patch Set 1 #

Total comments: 5

Patch Set 2 : do this conditionally on WebGL2 #

Patch Set 3 : fix PBO deletion #

Patch Set 4 : oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 4 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 1 3 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
Kai Ninomiya
On 2016/09/09 17:56:32, Kai Ninomiya wrote: > mailto:kainino@chromium.org changed reviewers: > + mailto:kbr@chromium.org, mailto:zmo@chromium.org (PTAL.)
4 years, 3 months ago (2016-09-09 18:27:20 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode1391 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:1391: contextGL()->BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); You can't do this in WebGL1 because ...
4 years, 3 months ago (2016-09-09 18:58:05 UTC) #5
Ken Russell (switch to Gerrit)
I'm mainly just pointing out what zmo@ already pointed out. https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode327 ...
4 years, 3 months ago (2016-09-09 20:10:33 UTC) #6
Kai Ninomiya
https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode1391 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:1391: contextGL()->BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0); On 2016/09/09 18:58:04, Zhenyao Mo wrote: > ...
4 years, 3 months ago (2016-09-09 20:30:45 UTC) #7
Zhenyao Mo
On 2016/09/09 20:30:45, Kai Ninomiya wrote: > https://codereview.chromium.org/2329523002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp > (right): > > ...
4 years, 3 months ago (2016-09-09 20:50:26 UTC) #8
Ken Russell (switch to Gerrit)
Very nice. LGTM too.
4 years, 3 months ago (2016-09-09 21:22:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2329523002/20001
4 years, 3 months ago (2016-09-09 21:27:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2329523002/20001
4 years, 3 months ago (2016-09-09 21:33:00 UTC) #14
Kai Ninomiya
Updated to fix test failure
4 years, 3 months ago (2016-09-09 23:54:31 UTC) #16
Ken Russell (switch to Gerrit)
Great. Still LGTM.
4 years, 3 months ago (2016-09-09 23:59:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2329523002/40001
4 years, 3 months ago (2016-09-10 00:03:14 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/233533)
4 years, 3 months ago (2016-09-10 00:14:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2329523002/60001
4 years, 3 months ago (2016-09-10 00:18:55 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-10 03:33:34 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-09-10 03:38:20 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2c847da844d0f3f802069754b840bc36c3366c87
Cr-Commit-Position: refs/heads/master@{#417815}

Powered by Google App Engine
This is Rietveld 408576698