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

Issue 1673113002: Move WebGL1 attachment image type / attachment point matching check to command buffer. (Closed)

Created:
4 years, 10 months ago by Zhenyao Mo
Modified:
4 years, 10 months ago
CC:
chromium-reviews, krit, pdr+graphicswatchlist_chromium.org, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, vmpstr+blinkwatch_chromium.org, dshwang, jbroman, Justin Novosad, danakj+watch_chromium.org, Rik, f(malita), blink-reviews, piman+watch_chromium.org, kinuko+watch, Stephen Chennney, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move WebGL1 attachment image type / attachment point matching check to command buffer. Otherwise we will have to validate all texture calls to make sure we cache the right texture format/type for the check. BUG=570453 TEST=gpu_unittests,webgl_conformance R=kbr@chromium.org,bajones@chromium.org,piman@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/08c9d1ef6670f512e6b81a2316973ba7be9a3860 Cr-Commit-Position: refs/heads/master@{#374440}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -171 lines) Patch
M gpu/command_buffer/service/feature_info.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 6 chunks +27 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 chunks +33 lines, -14 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 chunk +17 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp View 5 chunks +5 lines, -41 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderbuffer.h View 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderbuffer.cpp View 2 chunks +0 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 7 chunks +13 lines, -62 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 6 chunks +35 lines, -23 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673113002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673113002/40001
4 years, 10 months ago (2016-02-07 22:03:45 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/177580)
4 years, 10 months ago (2016-02-07 23:00:58 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673113002/60001
4 years, 10 months ago (2016-02-08 04:57:21 UTC) #8
Zhenyao Mo
kbr,bajones: blink side piman: command buffer side PTAL
4 years, 10 months ago (2016-02-08 04:59:06 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/142167)
4 years, 10 months ago (2016-02-08 05:34:01 UTC) #11
piman
https://codereview.chromium.org/1673113002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1673113002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10080 gpu/command_buffer/service/gles2_cmd_decoder.cc:10080: glFramebufferTexture2DEXT(GL_DRAW_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT, Do we need to split this one ...
4 years, 10 months ago (2016-02-08 17:44:39 UTC) #12
Zhenyao Mo
https://codereview.chromium.org/1673113002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1673113002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10080 gpu/command_buffer/service/gles2_cmd_decoder.cc:10080: glFramebufferTexture2DEXT(GL_DRAW_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT, On 2016/02/08 17:44:39, piman wrote: > Do ...
4 years, 10 months ago (2016-02-08 18:52:48 UTC) #13
piman
lgtm https://codereview.chromium.org/1673113002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1673113002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode10080 gpu/command_buffer/service/gles2_cmd_decoder.cc:10080: glFramebufferTexture2DEXT(GL_DRAW_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT, On 2016/02/08 18:52:48, Zhenyao Mo wrote: ...
4 years, 10 months ago (2016-02-08 20:49:12 UTC) #14
Ken Russell (switch to Gerrit)
Great work and cleanup of the Blink-side code. LGTM https://codereview.chromium.org/1673113002/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/1673113002/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode109 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:109: ...
4 years, 10 months ago (2016-02-08 21:39:46 UTC) #16
Zhenyao Mo
https://codereview.chromium.org/1673113002/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp (right): https://codereview.chromium.org/1673113002/diff/60001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp#newcode109 third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp:109: extensionsUtil->ensureExtensionEnabled("GL_OES_packed_depth_stencil"); On 2016/02/08 21:39:45, Ken Russell wrote: > I ...
4 years, 10 months ago (2016-02-09 17:21:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1673113002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1673113002/80001
4 years, 10 months ago (2016-02-09 17:21:51 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 10 months ago (2016-02-09 20:16:01 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 20:17:14 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/08c9d1ef6670f512e6b81a2316973ba7be9a3860
Cr-Commit-Position: refs/heads/master@{#374440}

Powered by Google App Engine
This is Rietveld 408576698