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

Issue 11548052: Identify evictable textures by GL texture parameter (Closed)

Created:
8 years ago by ccameron
Modified:
8 years ago
Reviewers:
jamesr, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Make textures that are rendered through the prioritized resource manager identify themselves as managed to the GPU memory manager through a GL texture parameter. This allows the GPU memory manager to get very precise statistics on evictable memory usage with minimal overhead. BUG=164947 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173252

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove pools from resourceProvider #

Patch Set 3 : Resolve against pool removal #

Patch Set 4 : Resolve against head #

Patch Set 5 : Resolve against head again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -4 lines) Patch
M cc/prioritized_resource_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/resource_provider.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M cc/resource_provider.cc View 1 2 3 chunks +17 lines, -2 lines 0 comments Download
M cc/resource_provider_unittest.cc View 1 2 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ccameron
8 years ago (2012-12-13 02:25:20 UTC) #1
piman
https://codereview.chromium.org/11548052/diff/1/cc/resource_provider.cc File cc/resource_provider.cc (right): https://codereview.chromium.org/11548052/diff/1/cc/resource_provider.cc#newcode181 cc/resource_provider.cc:181: GLC(context3d, context3d->texParameteri(GL_TEXTURE_2D, GL_TEXTURE_POOL_CHROMIUM, GL_TEXTURE_POOL_MANAGED_CHROMIUM)); Layering violation - the resource ...
8 years ago (2012-12-13 02:31:55 UTC) #2
ccameron
On 2012/12/13 02:31:55, piman wrote: > https://codereview.chromium.org/11548052/diff/1/cc/resource_provider.cc > File cc/resource_provider.cc (right): > > https://codereview.chromium.org/11548052/diff/1/cc/resource_provider.cc#newcode181 > ...
8 years ago (2012-12-13 02:36:01 UTC) #3
piman
On Wed, Dec 12, 2012 at 6:36 PM, <ccameron@chromium.org> wrote: > On 2012/12/13 02:31:55, piman ...
8 years ago (2012-12-13 02:37:40 UTC) #4
piman
On Wed, Dec 12, 2012 at 6:37 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
8 years ago (2012-12-13 02:41:16 UTC) #5
piman
On Wed, Dec 12, 2012 at 6:40 PM, Antoine Labour <piman@chromium.org> wrote: > > > ...
8 years ago (2012-12-13 02:43:47 UTC) #6
ccameron
On 2012/12/13 02:41:16, piman wrote: > On Wed, Dec 12, 2012 at 6:37 PM, Antoine ...
8 years ago (2012-12-13 09:20:14 UTC) #7
piman
On Thu, Dec 13, 2012 at 1:20 AM, <ccameron@chromium.org> wrote: > On 2012/12/13 02:41:16, piman ...
8 years ago (2012-12-13 17:47:01 UTC) #8
ccameron
It looks like there are plans for this class that aren't evident from its current ...
8 years ago (2012-12-13 18:48:20 UTC) #9
ccameron
We decided to remove the idea of pools from the ResourceProvider because their use was ...
8 years ago (2012-12-14 00:16:02 UTC) #10
piman
lgtm
8 years ago (2012-12-14 02:02:10 UTC) #11
ccameron
Thanks!! (off to battle the trybots again)
8 years ago (2012-12-14 21:39:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/11548052/10001
8 years ago (2012-12-14 21:41:39 UTC) #13
commit-bot: I haz the power
8 years ago (2012-12-15 00:53:48 UTC) #14
Retried try job too often on win_rel for step(s) browser_tests

Powered by Google App Engine
This is Rietveld 408576698