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

Issue 2460973002: gpu, cmaa: reuse CopyTextureCHROMIUMResourceManager (Closed)

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

Description

gpu, cmaa: reuse CopyTextureCHROMIUMResourceManager In addition, prevent from using glCopyTexSubImage2D in CopyTextureCHROMIUMResourceManager on Intel ChromeOS, because copy via glDrawArrays is much faster in IA ChromeOS. However, glCopyTexSubImage2D is faster in Android. It looks Mesa bug, so I filed this issue to Mesa bugzilla; https://bugs.freedesktop.org/show_bug.cgi?id=98478 Perf data > test site: http://webglsamples.org/aquarium/aquarium.html glCopyTexSubImage2D glDrawArrays 4k fish on Chromebook Pixel 2015 (Broadwell): 22 FPS 32.6 FPS 4k fish on Ubuntu and Haswell: 23 FPS 30.9 FPS 500 fish on Android OnePlus One (Adreno 330): 25 FPS 22.5 FPS 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/0c8b1229552985d8ed976b8d47e66ff983afceac Cr-Commit-Position: refs/heads/master@{#429240}

Patch Set 1 #

Total comments: 2

Patch Set 2 : reuse CopyTextureCHROMIUMResourceManager #

Total comments: 3

Patch Set 3 : fix gl_tests #

Patch Set 4 : revert unrelated change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -82 lines) Patch
M gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.h View 1 6 chunks +5 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc View 1 10 chunks +10 lines, -49 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +6 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.cc View 1 3 chunks +7 lines, -24 lines 0 comments Download

Messages

Total messages: 37 (27 generated)
dshwang
piman@, could you review this strange issue? adrian@, it may be what you mentioned earlier. ...
4 years, 1 month ago (2016-10-28 18:13:24 UTC) #7
piman
https://codereview.chromium.org/2460973002/diff/1/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc File gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc (right): https://codereview.chromium.org/2460973002/diff/1/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc#newcode551 gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc:551: void ApplyFramebufferAttachmentCMAAINTELResourceManager::CopyTexture( We already have a facility to copy ...
4 years, 1 month ago (2016-10-28 21:51:12 UTC) #11
dshwang
piman@, could you review? After landing https://codereview.chromium.org/2465963002/, I rebase it. Interestingly, CopyTextureCHROMIUMResourceManager is fater than ...
4 years, 1 month ago (2016-11-01 17:12:46 UTC) #13
piman
https://codereview.chromium.org/2460973002/diff/40001/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/2460973002/diff/40001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode334 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:334: NOTREACHED(); I think this needs to be expanded to ...
4 years, 1 month ago (2016-11-01 19:04:59 UTC) #22
dshwang
Thank you for review. https://codereview.chromium.org/2460973002/diff/40001/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/2460973002/diff/40001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode334 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:334: NOTREACHED(); On 2016/11/01 19:04:59, piman ...
4 years, 1 month ago (2016-11-01 19:30:06 UTC) #25
dshwang
https://codereview.chromium.org/2460973002/diff/40001/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/2460973002/diff/40001/gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc#newcode334 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc:334: NOTREACHED(); On 2016/11/01 19:30:05, dshwang wrote: > On 2016/11/01 ...
4 years, 1 month ago (2016-11-01 19:35:17 UTC) #27
piman
lgtm
4 years, 1 month ago (2016-11-01 19:38:56 UTC) #29
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/2460973002/80001
4 years, 1 month ago (2016-11-02 08:33:20 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 1 month ago (2016-11-02 08:38:55 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 08:44:19 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0c8b1229552985d8ed976b8d47e66ff983afceac
Cr-Commit-Position: refs/heads/master@{#429240}

Powered by Google App Engine
This is Rietveld 408576698