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

Issue 2166923002: Add unittests for InvalidateFramebuffer with DEPTH_STENCIL_ATTACHMENT (Closed)

Created:
4 years, 5 months ago by qiankun
Modified:
4 years, 5 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unittests for InvalidateFramebuffer with DEPTH_STENCIL_ATTACHMENT Unit tests for https://codereview.chromium.org/2149523002/. BUG=628496, 624506 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 Committed: https://crrev.com/af3b3d8bb5281c929bcfd930cb6ebbfa3a5004c9 Cr-Commit-Position: refs/heads/master@{#407271}

Patch Set 1 #

Total comments: 5

Patch Set 2 : check glInvalidateFramebuffer #

Total comments: 2

Patch Set 3 : fix depth_stencil #

Patch Set 4 : fix bots failures #

Total comments: 4

Patch Set 5 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -24 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 1 2 1 chunk +30 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 4 chunks +12 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
qiankun
I wrote this unit tests for https://codereview.chromium.org/2149523002/. PTAL. https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); ...
4 years, 5 months ago (2016-07-20 19:23:58 UTC) #2
qiankun
4 years, 5 months ago (2016-07-20 19:24:28 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); On 2016/07/20 19:23:58, qiankun wrote: > zhenyao, do ...
4 years, 5 months ago (2016-07-20 19:36:49 UTC) #5
qiankun
https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); On 2016/07/20 19:36:49, Zhenyao Mo wrote: > On ...
4 years, 5 months ago (2016-07-20 19:39:57 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); On 2016/07/20 19:39:56, qiankun wrote: > On 2016/07/20 ...
4 years, 5 months ago (2016-07-20 19:41:45 UTC) #7
qiankun
https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); On 2016/07/20 19:41:44, Zhenyao Mo wrote: > On ...
4 years, 5 months ago (2016-07-20 20:12:28 UTC) #8
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2166923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); Could you add a subsequent test which invalidates ...
4 years, 5 months ago (2016-07-20 23:44:08 UTC) #9
qiankun
Please review it again when you free. https://codereview.chromium.org/2166923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc (right): https://codereview.chromium.org/2166923002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc#newcode3447 gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc:3447: EXPECT_FALSE(framebuffer->HasUnclearedAttachment(GL_STENCIL_ATTACHMENT)); On ...
4 years, 5 months ago (2016-07-22 17:56:40 UTC) #15
Ken Russell (switch to Gerrit)
Thanks for updating the tests. LGTM https://codereview.chromium.org/2166923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2166923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5798 gpu/command_buffer/service/gles2_cmd_decoder.cc:5798: // TODO(qiankun.miao@intel.com): We ...
4 years, 5 months ago (2016-07-22 18:24:31 UTC) #16
qiankun
zmo: owner review. https://codereview.chromium.org/2166923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2166923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5798 gpu/command_buffer/service/gles2_cmd_decoder.cc:5798: // TODO(qiankun.miao@intel.com): We should only make ...
4 years, 5 months ago (2016-07-22 19:15:07 UTC) #17
Zhenyao Mo
On 2016/07/22 19:15:07, qiankun wrote: > zmo: owner review. > > https://codereview.chromium.org/2166923002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc ...
4 years, 5 months ago (2016-07-22 19:36:59 UTC) #18
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/2166923002/100001
4 years, 5 months ago (2016-07-22 21:34:41 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 5 months ago (2016-07-22 21:40:10 UTC) #27
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 21:42:33 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/af3b3d8bb5281c929bcfd930cb6ebbfa3a5004c9
Cr-Commit-Position: refs/heads/master@{#407271}

Powered by Google App Engine
This is Rietveld 408576698