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

Issue 1236053003: texture mipmap level is not zero-only in ES 3 (Closed)

Created:
5 years, 5 months ago by yunchao
Modified:
5 years, 1 month 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

texture mipmap level is not zero-only in ES 3 TEST=conformance2/renderbuffers/framebuffer-test.html, gpu_unittests BUG=429053 Committed: https://crrev.com/9c63be8127c4c3a3d7f25d7e70d270499bb3c97f Cr-Commit-Position: refs/heads/master@{#361159}

Patch Set 1 #

Patch Set 2 : addressed zmo@'s feedback #

Total comments: 2

Patch Set 3 : addressed zmo@'s feedback: move texture level check into GLES2DecoderImpl #

Patch Set 4 : addressed zmo@'s feedback: revise python code to generate correct test code #

Patch Set 5 : update framebufferTexture2DMultisamplerEXT #

Total comments: 4

Patch Set 6 : addressed feedback from piman and zmo: remove ZeroOnlyForES2 #

Patch Set 7 : code rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -116 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 2 chunks +1 line, -10 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 4 5 6 2 chunks +2 lines, -12 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 3 4 5 2 chunks +5 lines, -19 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 4 5 7 chunks +23 lines, -12 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 4 5 4 chunks +10 lines, -7 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc View 1 2 3 4 5 1 chunk +0 lines, -13 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 2 3 4 5 1 chunk +0 lines, -32 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc View 1 2 3 4 5 6 3 chunks +124 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 31 (10 generated)
yunchao
texture mipmap level is not zero only in ES 3. We should not translate framebufferTexture2D(, ...
5 years, 5 months ago (2015-07-15 08:14:52 UTC) #2
Zhenyao Mo
On 2015/07/15 08:14:52, yunchao wrote: > texture mipmap level is not zero only in ES ...
5 years, 5 months ago (2015-07-15 17:01:02 UTC) #3
yunchao
On 2015/07/15 17:01:02, Zhenyao Mo wrote: > On 2015/07/15 08:14:52, yunchao wrote: > > texture ...
5 years, 5 months ago (2015-07-21 10:43:56 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/1236053003/diff/20001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1236053003/diff/20001/gpu/command_buffer/service/texture_manager.cc#newcode1439 gpu/command_buffer/service/texture_manager.cc:1439: if (level > 0 && !feature_info_->IsES3Capable()) This is the ...
5 years, 5 months ago (2015-07-21 21:25:05 UTC) #5
Zhenyao Mo
https://codereview.chromium.org/1236053003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h File gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h (right): https://codereview.chromium.org/1236053003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h#newcode921 gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h:921: GL_TEXTURE_2D, kServiceTextureId, 5)); Actually these tests will fail, because ...
5 years, 5 months ago (2015-07-21 21:36:47 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/1236053003/20001
5 years, 5 months ago (2015-07-22 01:38:48 UTC) #8
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 5 months ago (2015-07-22 01:38:50 UTC) #10
yunchao
On 2015/07/21 21:36:47, Zhenyao Mo wrote: > https://codereview.chromium.org/1236053003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h > File gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h (right): > > https://codereview.chromium.org/1236053003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h#newcode921 ...
5 years, 1 month ago (2015-11-10 07:04:38 UTC) #12
Ken Russell (switch to Gerrit)
Thanks for updating this. I'm not an OWNER and zmo@'s out of town right now ...
5 years, 1 month ago (2015-11-17 23:13:06 UTC) #13
piman
https://codereview.chromium.org/1236053003/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1236053003/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode2011 gpu/command_buffer/build_gles2_cmd_buffer.py:2011: 'ZeroOnlyForES2': { What is the point of GLintZeroOnlyForES2 (as ...
5 years, 1 month ago (2015-11-17 23:40:06 UTC) #14
yunchao
Thanks for your review, @piman. https://codereview.chromium.org/1236053003/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1236053003/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode2011 gpu/command_buffer/build_gles2_cmd_buffer.py:2011: 'ZeroOnlyForES2': { On 2015/11/17 ...
5 years, 1 month ago (2015-11-19 10:14:11 UTC) #15
zmo
Mostly look good. https://codereview.chromium.org/1236053003/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/1236053003/diff/80001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode2011 gpu/command_buffer/build_gles2_cmd_buffer.py:2011: 'ZeroOnlyForES2': { ZeroOnlyForES2 is misleading. The ...
5 years, 1 month ago (2015-11-19 19:15:00 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236053003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1236053003/100001
5 years, 1 month ago (2015-11-23 08:53:29 UTC) #19
yunchao
I have updated the code as you suggested: remove the ZeroOnly thing and move the ...
5 years, 1 month ago (2015-11-23 10:44:39 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236053003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1236053003/120001
5 years, 1 month ago (2015-11-23 10:53:00 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-23 12:16:59 UTC) #24
zmo
LGTM
5 years, 1 month ago (2015-11-23 18:16:07 UTC) #25
piman
lgtm
5 years, 1 month ago (2015-11-23 19:34:59 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1236053003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1236053003/120001
5 years, 1 month ago (2015-11-23 19:41:50 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 1 month ago (2015-11-23 20:13:09 UTC) #30
commit-bot: I haz the power
5 years, 1 month ago (2015-11-23 20:13:53 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9c63be8127c4c3a3d7f25d7e70d270499bb3c97f
Cr-Commit-Position: refs/heads/master@{#361159}

Powered by Google App Engine
This is Rietveld 408576698