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

Issue 2432413003: gpu, cmaa: add glApplyScreenSpaceAntialiasingCHROMIUM unittests (Closed)

Created:
4 years, 2 months ago by dshwang
Modified:
4 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu, cmaa: add glApplyScreenSpaceAntialiasingCHROMIUM unittests Add new unittests for glApplyScreenSpaceAntialiasingCHROMIUM, which check the conformance with GL_INTEL_framebuffer_CMAA spec [1]. Many tests are very similar to tests of GLCopyTextureCHROMIUMTest. [1] https://www.khronos.org/registry/gles/extensions/INTEL/framebuffer_CMAA.txt BUG=535198 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/a5d6052cdc38c8d12bb7d4686177d67809b1f66e Cr-Commit-Position: refs/heads/master@{#427326}

Patch Set 1 #

Total comments: 4

Patch Set 2 : resolve reviewer's concerns #

Total comments: 2

Patch Set 3 : add documentation about INVALID_OPERATION #

Patch Set 4 : fix linux_chromium_rel_ng #

Unified diffs Side-by-side diffs Delta from patch set Stats (+442 lines, -2 lines) Patch
M gpu/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_screen_space_antialiasing.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
A gpu/command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.cc View 1 2 3 1 chunk +427 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (25 generated)
dshwang
piman@: could you review?
4 years, 2 months ago (2016-10-19 15:12:07 UTC) #5
piman
Thanks for the tests, they look great. Couple of things... https://codereview.chromium.org/2432413003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (left): https://codereview.chromium.org/2432413003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#oldcode2393 ...
4 years, 2 months ago (2016-10-19 19:10:43 UTC) #8
dshwang
thx for reviewing. I resolved all nits. could you review again? https://codereview.chromium.org/2432413003/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (left): ...
4 years, 2 months ago (2016-10-20 16:21:20 UTC) #11
piman
lgtm https://codereview.chromium.org/2432413003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2432413003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode16728 gpu/command_buffer/service/gles2_cmd_decoder.cc:16728: } Can you update gpu/GLES2/extensions/CHROMIUM/CHROMIUM_screen_space_antialiasing.txt to document this ...
4 years, 2 months ago (2016-10-20 18:36:17 UTC) #14
dshwang
Thank you for reviewing. Let me land it with replying your comment. https://codereview.chromium.org/2432413003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc ...
4 years, 2 months ago (2016-10-20 19:12:19 UTC) #15
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/2432413003/20001
4 years, 2 months ago (2016-10-20 19:13:34 UTC) #17
piman
On Thu, Oct 20, 2016 at 12:12 PM, <dongseong.hwang@intel.com> wrote: > Thank you for reviewing. ...
4 years, 2 months ago (2016-10-20 19:47:14 UTC) #19
dshwang
Hi, I add the explicit description in txt file. Could you approve to land? On ...
4 years, 2 months ago (2016-10-21 09:58:42 UTC) #22
piman
lgtm
4 years, 2 months ago (2016-10-21 20:16:45 UTC) #25
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/2432413003/40001
4 years, 2 months ago (2016-10-21 20:17:53 UTC) #27
piman
On Fri, Oct 21, 2016 at 2:58 AM, <dongseong.hwang@intel.com> wrote: > Hi, I add the ...
4 years, 2 months ago (2016-10-21 20:20:07 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/321712)
4 years, 2 months ago (2016-10-21 23:15:45 UTC) #30
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/2432413003/60001
4 years, 1 month ago (2016-10-25 11:50:50 UTC) #37
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-25 12:30:19 UTC) #38
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/a5d6052cdc38c8d12bb7d4686177d67809b1f66e Cr-Commit-Position: refs/heads/master@{#427326}
4 years, 1 month ago (2016-10-25 12:32:13 UTC) #40
ajuma
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2451803002/ by ajuma@chromium.org. ...
4 years, 1 month ago (2016-10-25 14:00:02 UTC) #41
dshwang
4 years, 1 month ago (2016-10-25 14:24:13 UTC) #42
Message was sent while issue was closed.
On 2016/10/25 14:00:02, ajuma wrote:
> A revert of this CL (patchset #4 id:60001) has been created in
> https://codereview.chromium.org/2451803002/ by mailto:ajuma@chromium.org.
> 
> The reason for reverting is: The tests added here are crashing on an assertion
> on multiple GPU Debug bots. For example:
>
https://build.chromium.org/p/chromium.gpu/builders/Mac%2010.10%20Retina%20Deb...
>
https://build.chromium.org/p/chromium.gpu/builders/Win7%20Debug%20%28NVIDIA%2...
> 
> Snippet from the log:
> [548:3764:1025/061243:2681579:FATAL:gles2_implementation_impl_autogen.h(606)]
> Check failed: textures[i] != 0. 
> Backtrace:
> 	base::debug::StackTrace::StackTrace [0x00A7B3E7+23]
> 	logging::LogMessage::~LogMessage [0x00ACD4EB+59]
> 	gpu::gles2::GLES2Implementation::DeleteTextures [0x03DB1732+626]
> 	GLES2DeleteTextures [0x03EB5954+36]
> 	gpu::GLApplyScreenSpaceAntialiasingCHROMIUMTest::TearDown [0x00442AC8+24]
> .

Thx for reverting as well as sharing stack trace.

Powered by Google App Engine
This is Rietveld 408576698