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

Issue 2458103002: Set correct internalformat info for TexStorageEXT according context type (Closed)

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

Description

Set correct internalformat info for TexStorageEXT according context type For ES2 context, EXT_texture_storage enables TexStorageEXT. In the extension spec, it says for OpenGL ES " The TexImage* calls in the TexStorage* pseudocode are modified so that the <internalformat>, <format> and <type> parameters are taken from the <format>, <format> and <type> columns (respectively). " See https://www.khronos.org/registry/gles/extensions/EXT/EXT_texture_storage.txt. So, when we set texture level info, internalformat should be adjusted to format in es2 context. 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/12cc0e01ea62888ed2b84b3aeda6293194c819d4 Cr-Commit-Position: refs/heads/master@{#430501}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase only #

Patch Set 3 : use RGBA8_OES for ES2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -4 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 2 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (7 generated)
qiankun
PTAL.
4 years, 1 month ago (2016-10-28 15:44:35 UTC) #3
Ken Russell (switch to Gerrit)
I'd like to defer review of this change to zmo@. CC'ing piman@ in case zmo@ ...
4 years, 1 month ago (2016-10-28 18:24:19 UTC) #4
Zhenyao Mo
I think dshwang purposely tried to set internalformat correctly (and ran into a Mac issue ...
4 years, 1 month ago (2016-10-28 19:07:10 UTC) #5
qiankun
On 2016/10/28 19:07:10, Zhenyao Mo wrote: > I think dshwang purposely tried to set internalformat ...
4 years, 1 month ago (2016-10-31 16:17:11 UTC) #6
dshwang
On 2016/10/31 16:17:11, qiankun wrote: > On 2016/10/28 19:07:10, Zhenyao Mo wrote: > > I ...
4 years, 1 month ago (2016-10-31 16:51:48 UTC) #7
dshwang
In addition, " The TexImage* calls in the TexStorage* pseudocode are modified so that the ...
4 years, 1 month ago (2016-10-31 16:56:41 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/2458103002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (left): https://codereview.chromium.org/2458103002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#oldcode16652 gpu/command_buffer/service/gles2_cmd_decoder.cc:16652: #endif I agree with Dongseong. Now you found the ...
4 years, 1 month ago (2016-10-31 18:14:41 UTC) #9
qiankun
On 2016/10/31 16:56:41, dshwang wrote: > In addition, > " > The TexImage* calls in ...
4 years, 1 month ago (2016-11-01 05:44:40 UTC) #10
dshwang
On 2016/11/01 05:44:40, qiankun wrote: > On 2016/10/31 16:56:41, dshwang wrote: > > In addition, ...
4 years, 1 month ago (2016-11-01 17:51:15 UTC) #11
qiankun
On 2016/11/01 17:51:15, dshwang wrote: > On 2016/11/01 05:44:40, qiankun wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-11-02 02:43:34 UTC) #12
dshwang
On 2016/11/02 02:43:34, qiankun wrote: > On 2016/11/01 17:51:15, dshwang wrote: > > On 2016/11/01 ...
4 years, 1 month ago (2016-11-02 13:05:15 UTC) #13
piman
On Wed, Nov 2, 2016 at 6:05 AM, <dongseong.hwang@intel.com> wrote: > On 2016/11/02 02:43:34, qiankun ...
4 years, 1 month ago (2016-11-02 18:19:38 UTC) #14
dshwang
On 2016/11/02 18:19:38, piman wrote: > On Wed, Nov 2, 2016 at 6:05 AM, <mailto:dongseong.hwang@intel.com> ...
4 years, 1 month ago (2016-11-02 19:12:55 UTC) #15
piman
On Wed, Nov 2, 2016 at 12:12 PM, <dongseong.hwang@intel.com> wrote: > On 2016/11/02 18:19:38, piman ...
4 years, 1 month ago (2016-11-02 21:18:22 UTC) #16
qiankun
On 2016/11/02 18:19:38, piman wrote: > On Wed, Nov 2, 2016 at 6:05 AM, <mailto:dongseong.hwang@intel.com> ...
4 years, 1 month ago (2016-11-03 08:00:57 UTC) #19
qiankun
Any further comments about this CL? Can we land it?
4 years, 1 month ago (2016-11-07 10:52:21 UTC) #20
Zhenyao Mo
On 2016/11/07 10:52:21, qiankun wrote: > Any further comments about this CL? Can we land ...
4 years, 1 month ago (2016-11-07 23:15:53 UTC) #21
qiankun
On 2016/11/07 23:15:53, Zhenyao Mo wrote: > On 2016/11/07 10:52:21, qiankun wrote: > > Any ...
4 years, 1 month ago (2016-11-08 02:26:04 UTC) #22
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/2458103002/40001
4 years, 1 month ago (2016-11-08 02:26:40 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-08 03:19:01 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-11-08 03:27:53 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/12cc0e01ea62888ed2b84b3aeda6293194c819d4
Cr-Commit-Position: refs/heads/master@{#430501}

Powered by Google App Engine
This is Rietveld 408576698