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

Issue 2389363002: Move special DEPTH_STENCIL attachment logic from command buffers to WebGL1 (Closed)

Created:
4 years, 2 months ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 2 months ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews, blink-reviews, piman+watch_chromium.org, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move special DEPTH_STENCIL attachment logic from command buffers to WebGL1 (piman's https://codereview.chromium.org/2372953002/ , conflicts resolved) GL_DEPTH_STENCIL_ATTACHMENT is not a real attachment in ES3, but instead is translated to separate DEPTH and STENCIL attachment. However, WebGL1 has a concept of a separate DEPTH_STENCIL attachment that is mutually exclusive with DEPTH and STENCIL attachments. This CL moves the logic that tracks the separate DEPTH_STENCIL attachment to the WebGL side, so that the ES3 implementation can consistently track which attachment is active, in accordance to ES3 rules. BUG=630568 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel TBR=zmo@chromium.org Committed: https://crrev.com/761e2ddaa6d3aea34848809174a250291b2615a5 Cr-Commit-Position: refs/heads/master@{#423054}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -327 lines) Patch
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/context_group.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.h View 5 chunks +0 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 15 chunks +38 lines, -71 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager_unittest.cc View 9 chunks +6 lines, -13 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 9 chunks +47 lines, -32 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 9 chunks +80 lines, -38 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 chunk +2 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h View 3 chunks +16 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp View 6 chunks +183 lines, -82 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 2 chunks +4 lines, -38 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Ken Russell (switch to Gerrit)
Apologies, I took too long investigating the review questions on https://codereview.chromium.org/2372953002/ and there are now ...
4 years, 2 months ago (2016-10-05 00:41:30 UTC) #4
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/2389363002/1
4 years, 2 months ago (2016-10-05 00:42:17 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-05 02:44:18 UTC) #9
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/761e2ddaa6d3aea34848809174a250291b2615a5 Cr-Commit-Position: refs/heads/master@{#423054}
4 years, 2 months ago (2016-10-05 02:45:39 UTC) #11
piman
On 2016/10/05 02:45:39, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
4 years, 2 months ago (2016-10-11 00:09:05 UTC) #12
Ken Russell (switch to Gerrit)
4 years, 2 months ago (2016-10-11 00:39:56 UTC) #13
Message was sent while issue was closed.
On 2016/10/11 00:09:05, piman extended OOO until Oct17 wrote:
> On 2016/10/05 02:45:39, commit-bot: I haz the power wrote:
> > Patchset 1 (id:??) landed as
> > https://crrev.com/761e2ddaa6d3aea34848809174a250291b2615a5
> > Cr-Commit-Position: refs/heads/master@{#423054}
> 
> Thanks for landing this!

Thank you again for writing it! It's a significant simplification and I can't
think of anyone (myself included) who could have driven it through end-to-end.

Powered by Google App Engine
This is Rietveld 408576698