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

Issue 1881883002: SRGB_EXT is a valid format of texture in WebGL1.0 and ES2.0 contexts (Closed)

Created:
4 years, 8 months ago by xinghua.cao
Modified:
4 years, 7 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SRGB_EXT is a valid format of texture in WebGL1.0 and ES2.0 contexts. BUG=602544 TestCase= /conformance/extensions/ext-sRGB.html CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/60cce09ca802ba394b12dbcf0dd4728d7125df24 Cr-Commit-Position: refs/heads/master@{#392296}

Patch Set 1 #

Patch Set 2 : test #

Patch Set 3 : revert test #

Total comments: 2

Patch Set 4 : SRGB_EXT is valid texture internal format, but not a color-renderable format #

Total comments: 2

Patch Set 5 : Address ken's and zhenyao's nice comments #

Patch Set 6 : Correct texture format parameter #

Total comments: 5

Patch Set 7 : Address zhenyao's comment #

Total comments: 3

Patch Set 8 : Address zhenyao's comment: mapping format when context is not es2. #

Total comments: 4

Patch Set 9 : Address ken's comment: shrink the context range #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -7 lines) Patch
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ui/gl/gl_gl_api_implementation.cc View 1 2 3 4 5 6 7 8 2 chunks +42 lines, -3 lines 0 comments Download

Messages

Total messages: 45 (17 generated)
xinghua.cao
On 2016/04/12 07:04:22, xinghua.cao wrote: > mailto:xinghua.cao@intel.com changed reviewers: > + mailto:qiankun.miao@intel.com, mailto:yunchao.he@intel.com Read https://www.opengl.org/registry/specs/EXT/texture_sRGB.txt, ...
4 years, 8 months ago (2016-04-12 07:13:47 UTC) #4
yunchao
You should attach the WebGL extension registry webpage, instead of OGL extension registry webpage. WebGL ...
4 years, 8 months ago (2016-04-12 07:21:34 UTC) #5
xinghua.cao
On 2016/04/12 07:21:34, yunchao wrote: > You should attach the WebGL extension registry webpage, instead ...
4 years, 8 months ago (2016-04-12 07:35:50 UTC) #6
qiankun
LGTM, thanks. https://codereview.chromium.org/1881883002/diff/40001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1881883002/diff/40001/gpu/command_buffer/service/feature_info.cc#newcode614 gpu/command_buffer/service/feature_info.cc:614: validators_.texture_unsized_internal_format.AddValue(GL_SRGB_EXT); On 2016/04/12 07:21:34, yunchao wrote: > ...
4 years, 8 months ago (2016-04-12 11:01:50 UTC) #8
xinghua.cao
On 2016/04/12 11:01:50, qiankun wrote: > LGTM, thanks. > > https://codereview.chromium.org/1881883002/diff/40001/gpu/command_buffer/service/feature_info.cc > File gpu/command_buffer/service/feature_info.cc (right): ...
4 years, 8 months ago (2016-04-19 00:58:59 UTC) #12
Ken Russell (switch to Gerrit)
Sorry for the delay. lgtm, but I'm not an OWNER.
4 years, 8 months ago (2016-04-23 21:59:16 UTC) #13
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1881883002/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1881883002/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode614 gpu/command_buffer/service/feature_info.cc:614: validators_.texture_unsized_internal_format.AddValue(GL_SRGB_EXT); One point. This should only be added for ...
4 years, 8 months ago (2016-04-24 15:57:22 UTC) #14
Zhenyao Mo
https://codereview.chromium.org/1881883002/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1881883002/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode614 gpu/command_buffer/service/feature_info.cc:614: validators_.texture_unsized_internal_format.AddValue(GL_SRGB_EXT); On 2016/04/24 15:57:22, Ken Russell OOO till 5-2-2016 ...
4 years, 8 months ago (2016-04-25 18:00:00 UTC) #15
xinghua.cao
On 2016/04/25 18:00:00, Zhenyao Mo wrote: > https://codereview.chromium.org/1881883002/diff/60001/gpu/command_buffer/service/feature_info.cc > File gpu/command_buffer/service/feature_info.cc (right): > > https://codereview.chromium.org/1881883002/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode614 ...
4 years, 8 months ago (2016-04-26 10:24:11 UTC) #16
Ken Russell (switch to Gerrit)
On 2016/04/26 10:24:11, xinghua.cao wrote: > On 2016/04/25 18:00:00, Zhenyao Mo wrote: > > > ...
4 years, 8 months ago (2016-04-26 13:16:49 UTC) #17
Zhenyao Mo
Thanks Ken for the clear explanation. On desktop GL, the spec is ambiguous whether the ...
4 years, 8 months ago (2016-04-26 17:10:37 UTC) #18
xinghua.cao
On 2016/04/26 17:10:37, Zhenyao Mo wrote: > Thanks Ken for the clear explanation. On desktop ...
4 years, 8 months ago (2016-04-27 10:16:01 UTC) #20
Zhenyao Mo
https://codereview.chromium.org/1881883002/diff/100001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1881883002/diff/100001/gpu/command_buffer/service/feature_info.cc#newcode557 gpu/command_buffer/service/feature_info.cc:557: context_type_ == CONTEXT_TYPE_OPENGLES2) { This should be part of ...
4 years, 7 months ago (2016-04-27 17:12:26 UTC) #21
xinghua.cao
https://codereview.chromium.org/1881883002/diff/100001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/1881883002/diff/100001/gpu/command_buffer/service/feature_info.cc#newcode557 gpu/command_buffer/service/feature_info.cc:557: context_type_ == CONTEXT_TYPE_OPENGLES2) { On 2016/04/27 17:12:26, Zhenyao Mo ...
4 years, 7 months ago (2016-04-28 09:59:27 UTC) #22
Zhenyao Mo
Mostly looks good with one question. https://codereview.chromium.org/1881883002/diff/120001/ui/gl/gl_gl_api_implementation.cc File ui/gl/gl_gl_api_implementation.cc (right): https://codereview.chromium.org/1881883002/diff/120001/ui/gl/gl_gl_api_implementation.cc#newcode159 ui/gl/gl_gl_api_implementation.cc:159: gfx::g_version_info->is_desktop_core_profile) { Should ...
4 years, 7 months ago (2016-04-28 23:29:43 UTC) #23
xinghua.cao
https://codereview.chromium.org/1881883002/diff/120001/ui/gl/gl_gl_api_implementation.cc File ui/gl/gl_gl_api_implementation.cc (right): https://codereview.chromium.org/1881883002/diff/120001/ui/gl/gl_gl_api_implementation.cc#newcode159 ui/gl/gl_gl_api_implementation.cc:159: gfx::g_version_info->is_desktop_core_profile) { On 2016/04/28 23:29:42, Zhenyao Mo wrote: > ...
4 years, 7 months ago (2016-04-29 05:30:55 UTC) #24
Zhenyao Mo
lgtm
4 years, 7 months ago (2016-04-29 17:09:09 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881883002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881883002/140001
4 years, 7 months ago (2016-04-29 17:09:27 UTC) #27
Zhenyao Mo
Daniel: ui/gl
4 years, 7 months ago (2016-04-29 17:09:55 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-29 18:22:04 UTC) #31
Ken Russell (switch to Gerrit)
ui/gl lgtm with one comment addressed. https://codereview.chromium.org/1881883002/diff/140001/ui/gl/gl_gl_api_implementation.cc File ui/gl/gl_gl_api_implementation.cc (right): https://codereview.chromium.org/1881883002/diff/140001/ui/gl/gl_gl_api_implementation.cc#newcode158 ui/gl/gl_gl_api_implementation.cc:158: if (!(gfx::g_version_info->is_es2)) { ...
4 years, 7 months ago (2016-05-02 21:16:48 UTC) #32
xinghua.cao
Sorry, delay reply for vacation. https://codereview.chromium.org/1881883002/diff/140001/ui/gl/gl_gl_api_implementation.cc File ui/gl/gl_gl_api_implementation.cc (right): https://codereview.chromium.org/1881883002/diff/140001/ui/gl/gl_gl_api_implementation.cc#newcode158 ui/gl/gl_gl_api_implementation.cc:158: if (!(gfx::g_version_info->is_es2)) { On ...
4 years, 7 months ago (2016-05-04 02:55:41 UTC) #33
Zhenyao Mo
lgtm
4 years, 7 months ago (2016-05-04 18:19:26 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881883002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881883002/160001
4 years, 7 months ago (2016-05-04 18:20:38 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 19:42:45 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881883002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881883002/160001
4 years, 7 months ago (2016-05-09 09:30:48 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-09 10:30:43 UTC) #43
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 10:31:57 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/60cce09ca802ba394b12dbcf0dd4728d7125df24
Cr-Commit-Position: refs/heads/master@{#392296}

Powered by Google App Engine
This is Rietveld 408576698