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

Issue 1275773003: gpu: support GL_TEXTURE_CUBE_MAP destination target to Copy(Sub)TextureCHROMIUM. (Closed)

Created:
5 years, 4 months ago by dshwang
Modified:
5 years, 3 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

gpu: support GL_TEXTURE_CUBE_MAP destination target to Copy(Sub)TextureCHROMIUM. It makes it possible to optimize WebGL. TEST=gl_tests GLCopyTextureCHROMIUMTests/GLCopyTextureCHROMIUMTest.* BUG=517548 Committed: https://crrev.com/fa25f0e5786527e63c6ff9aeda77da3bd7456ee3 Cr-Commit-Position: refs/heads/master@{#347354}

Patch Set 1 #

Patch Set 2 : update CHROMIUM_copy_texture.txt #

Patch Set 3 : #

Patch Set 4 : fix android build #

Total comments: 10

Patch Set 5 : Address piman's comments #

Total comments: 1

Patch Set 6 : Choose correct and expensive way #

Total comments: 6

Patch Set 7 : resolve nvidia failure by adding hack to gl_tests #

Patch Set 8 : fix GLCopyTextureCHROMIUMTest.InternalFormat #

Patch Set 9 : Handle nvidia #

Total comments: 7

Patch Set 10 : add comments about crbug.com/528145 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+499 lines, -253 lines) Patch
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -10 lines 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -3 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +21 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.h View 1 2 3 4 5 6 7 8 4 chunks +25 lines, -12 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 1 2 3 4 5 6 7 8 13 chunks +128 lines, -43 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 17 chunks +73 lines, -72 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc View 1 2 3 4 5 6 7 8 9 27 chunks +231 lines, -112 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (5 generated)
dshwang
piman, siever, could you review this CL to expand Copy(Sub)TextureCHROMIUM for GL_TEXTURE_CUBE_MAP?
5 years, 4 months ago (2015-08-06 17:58:28 UTC) #2
dshwang
On 2015/08/06 17:58:28, dshwang wrote: > piman, siever, could you review this CL to expand ...
5 years, 4 months ago (2015-08-06 18:02:54 UTC) #3
Ken Russell (switch to Gerrit)
+zmo as he's been doing a lot of work in the command buffer recently. I ...
5 years, 4 months ago (2015-08-06 19:57:53 UTC) #5
piman
https://codereview.chromium.org/1275773003/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/1275773003/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode94 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:94: been bound as GL_TEXTURE_2D object. Please update here (allow ...
5 years, 4 months ago (2015-08-06 20:43:23 UTC) #6
dshwang
thx for reviewing. I addressed all comments. https://codereview.chromium.org/1275773003/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/1275773003/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode94 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:94: been bound ...
5 years, 4 months ago (2015-08-10 08:04:18 UTC) #7
Ken Russell (switch to Gerrit)
Thanks Dongseong for this patch. With piman's comments addressed this looks good, but I'm not ...
5 years, 4 months ago (2015-08-11 16:49:15 UTC) #8
Ken Russell (switch to Gerrit)
On 2015/08/11 16:49:15, Ken Russell OOO-till-Aug-17 wrote: > Thanks Dongseong for this patch. With piman's ...
5 years, 4 months ago (2015-08-11 16:50:06 UTC) #9
dshwang
On 2015/08/11 16:50:06, Ken Russell OOO-till-Aug-17 wrote: > On 2015/08/11 16:49:15, Ken Russell OOO-till-Aug-17 wrote: ...
5 years, 4 months ago (2015-08-11 18:09:42 UTC) #10
Ken Russell (switch to Gerrit)
On 2015/08/11 18:09:42, dshwang wrote: > On 2015/08/11 16:50:06, Ken Russell OOO-till-Aug-17 wrote: > > ...
5 years, 4 months ago (2015-08-11 18:18:24 UTC) #11
dshwang
On 2015/08/11 18:18:24, Ken Russell OOO-till-Aug-17 wrote: > On 2015/08/11 18:09:42, dshwang wrote: > > ...
5 years, 4 months ago (2015-08-12 15:02:56 UTC) #12
dshwang
https://codereview.chromium.org/1275773003/diff/100001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/1275773003/diff/100001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode76 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:76: and an empty image data. On 2015/08/12 15:02:56, dshwang ...
5 years, 4 months ago (2015-08-12 17:40:51 UTC) #13
dshwang
https://codereview.chromium.org/1275773003/diff/100001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/1275773003/diff/100001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode76 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:76: and an empty image data. On 2015/08/12 17:40:51, dshwang ...
5 years, 4 months ago (2015-08-13 18:50:36 UTC) #14
Ken Russell (switch to Gerrit)
Thanks for continuing to move this patch forward. The continued failures on win_chromium_rel_ng are concerning. ...
5 years, 4 months ago (2015-08-18 00:33:02 UTC) #15
dshwang
On 2015/08/18 00:33:02, Ken Russell wrote: > Thanks for continuing to move this patch forward. ...
5 years, 4 months ago (2015-08-18 14:42:01 UTC) #16
dshwang
kbr, piman, could you review again? Finally I figured out how to workaround all platforms. ...
5 years, 3 months ago (2015-09-02 11:01:19 UTC) #18
piman
lgtm https://codereview.chromium.org/1275773003/diff/180001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc File gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc (right): https://codereview.chromium.org/1275773003/diff/180001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode325 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:325: texture_state->force_cube_map_positive_x_allocation; On 2015/09/02 11:01:19, dshwang_ooo_5.9-27.9 wrote: > We ...
5 years, 3 months ago (2015-09-03 19:13:27 UTC) #19
dshwang
thx for reviewing! https://codereview.chromium.org/1275773003/diff/180001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc File gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc (right): https://codereview.chromium.org/1275773003/diff/180001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode325 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:325: texture_state->force_cube_map_positive_x_allocation; On 2015/09/03 19:13:26, piman (slow ...
5 years, 3 months ago (2015-09-04 06:23:13 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275773003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275773003/200001
5 years, 3 months ago (2015-09-04 06:25:28 UTC) #23
commit-bot: I haz the power
Committed patchset #10 (id:200001)
5 years, 3 months ago (2015-09-04 07:33:19 UTC) #24
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/fa25f0e5786527e63c6ff9aeda77da3bd7456ee3 Cr-Commit-Position: refs/heads/master@{#347354}
5 years, 3 months ago (2015-09-04 07:34:07 UTC) #25
Jamie Madill
5 years, 3 months ago (2015-09-04 18:27:57 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:200001) has been created in
https://codereview.chromium.org/1304103005/ by jmadill@chromium.org.

The reason for reverting is: Linux AMD GPU FYI bot has a broken gl_tests, likely
because of this patch.

http://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28AT....

Powered by Google App Engine
This is Rietveld 408576698