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

Issue 737373004: cc: Make one-copy tile initialization mechanism use immutable textures. (Closed)

Created:
6 years, 1 month ago by dshwang
Modified:
6 years, 1 month ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Make one-copy tile initialization mechanism use immutable textures. Currently, one-copy doesn't use immutable texture while the compositor intends to use immutable texture. It's because one-copy tries to copy source texture to unallocated destination texture. In the case, GPU process allocates the destination texture as normal texture. In theory, it speeds up drawing speed, because immutable texture skips texture validation on drawing call. However, I didn't see actual performance difference in Linux and Android. BUG=406404 Committed: https://crrev.com/eebda5986284b9fce42c2ab8de5d2686b079e52e Cr-Commit-Position: refs/heads/master@{#305077}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix ResourceProviderTest.CopyResource_GLTexture #

Total comments: 1

Patch Set 3 : address style nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M cc/resources/resource_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_image_memory.cc View 1 2 1 chunk +5 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
dshwang
Hi, could you review? https://codereview.chromium.org/737373004/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/737373004/diff/1/cc/resources/resource_provider.cc#newcode2080 cc/resources/resource_provider.cc:2080: LazyAllocate(dest_resource); It doesn't regress perf ...
6 years, 1 month ago (2014-11-20 16:58:40 UTC) #2
reveman
Looks good. Does this have a performance impact? In that case, please explain why in ...
6 years, 1 month ago (2014-11-20 17:44:36 UTC) #3
dshwang
On 2014/11/20 17:44:36, reveman wrote: > Looks good. Does this have a performance impact? In ...
6 years, 1 month ago (2014-11-20 17:48:53 UTC) #4
reveman
On 2014/11/20 17:48:53, dshwang wrote: > On 2014/11/20 17:44:36, reveman wrote: > > Looks good. ...
6 years, 1 month ago (2014-11-20 17:55:18 UTC) #5
dshwang
On 2014/11/20 17:55:18, reveman wrote: > On 2014/11/20 17:48:53, dshwang wrote: > > On 2014/11/20 ...
6 years, 1 month ago (2014-11-20 18:14:43 UTC) #6
reveman
lgtm with nit https://codereview.chromium.org/737373004/diff/20001/ui/gl/gl_image_memory.cc File ui/gl/gl_image_memory.cc (right): https://codereview.chromium.org/737373004/diff/20001/ui/gl/gl_image_memory.cc#newcode184 ui/gl/gl_image_memory.cc:184: memory_); nit: Please make the style ...
6 years, 1 month ago (2014-11-20 18:57:15 UTC) #7
dshwang
On 2014/11/20 18:57:15, reveman wrote: > lgtm with nit Thank you for review! > > ...
6 years, 1 month ago (2014-11-20 19:15:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/737373004/40001
6 years, 1 month ago (2014-11-20 19:16:01 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-20 20:55:38 UTC) #11
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 20:56:13 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eebda5986284b9fce42c2ab8de5d2686b079e52e
Cr-Commit-Position: refs/heads/master@{#305077}

Powered by Google App Engine
This is Rietveld 408576698