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

Issue 2656563002: Support cube map dest target for CopyTextureCHROMIUM extension (Closed)

Created:
3 years, 11 months ago by qiankun
Modified:
3 years, 10 months ago
CC:
chromium-reviews, piman+watch_chromium.org, Yang Gu
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support cube map dest target for CopyTextureCHROMIUM extension DIRECT_DRAW path isn't available for cube map dest texture if it isn't cube map complete. So, use DRAW_AND_COPY path in this scenario, i.e. draw to a 2D intemediate texture first, then copy from the 2d texture to the cube map dest texture. Also, this CL makes DIRECT_COPY and DRAW_AND_COPY path work well for cube map dest texture. BUG=612542 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 Review-Url: https://codereview.chromium.org/2656563002 Cr-Commit-Position: refs/heads/master@{#446940} Committed: https://chromium.googlesource.com/chromium/src/+/88a4e827ea7c5066a990cef70eec165ef6f28c26

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -92 lines) Patch
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 7 chunks +42 lines, -23 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +10 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_tex_image_2d_workaround_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc View 1 8 chunks +192 lines, -59 lines 0 comments Download
M gpu/command_buffer/tests/gl_test_utils.h View 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/tests/gl_test_utils.cc View 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
qiankun
PTAL.
3 years, 11 months ago (2017-01-24 09:41:54 UTC) #3
Zhenyao Mo
On 2017/01/24 09:41:54, qiankun wrote: > PTAL. Very nice. LGTM
3 years, 10 months ago (2017-01-27 00:10:10 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/2656563002/diff/1/gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc File gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc (right): https://codereview.chromium.org/2656563002/diff/1/gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc#newcode412 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc:412: // For cube map textures, make the texture is ...
3 years, 10 months ago (2017-01-27 00:10:18 UTC) #5
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/2656563002/20001
3 years, 10 months ago (2017-01-29 15:39:30 UTC) #12
qiankun
https://codereview.chromium.org/2656563002/diff/1/gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc File gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc (right): https://codereview.chromium.org/2656563002/diff/1/gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc#newcode412 gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc:412: // For cube map textures, make the texture is ...
3 years, 10 months ago (2017-01-29 15:39:31 UTC) #13
Yang Gu
Yang is on vacation from Jan 24 to Feb 5 for Chinese New Year, so ...
3 years, 10 months ago (2017-01-29 15:39:38 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/88a4e827ea7c5066a990cef70eec165ef6f28c26
3 years, 10 months ago (2017-01-29 15:44:42 UTC) #17
Ken Russell (switch to Gerrit)
3 years, 10 months ago (2017-01-31 00:13:30 UTC) #18
Message was sent while issue was closed.
Thank you Qiankun for pushing this forward! Excellent work!

Powered by Google App Engine
This is Rietveld 408576698