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

Issue 411703003: Add plot-based purging to GrLayerCache (Closed)

Created:
6 years, 5 months ago by robertphillips
Modified:
6 years, 4 months ago
Reviewers:
jvanverth1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add plot-based purging to GrLayerCache This CL allows a GrPlot full of atlased layer to be purged from the atlas to make room for new layers. Committed: https://skia.googlesource.com/skia/+/320c92380fe6a43dffbcd3f9e7c99897da44298d

Patch Set 1 #

Patch Set 2 : Update to ToT #

Patch Set 3 : Finish plot-based purging #

Patch Set 4 : Cleanup #

Total comments: 6

Patch Set 5 : Respond to code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -65 lines) Patch
M src/gpu/GrAtlas.h View 1 2 2 chunks +18 lines, -0 lines 0 comments Download
M src/gpu/GrLayerCache.h View 1 2 7 chunks +40 lines, -4 lines 0 comments Download
M src/gpu/GrLayerCache.cpp View 1 2 3 4 9 chunks +129 lines, -25 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M tests/GpuLayerCacheTest.cpp View 1 2 3 8 chunks +83 lines, -36 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
robertphillips
6 years, 4 months ago (2014-07-28 18:24:19 UTC) #1
jvanverth1
https://codereview.chromium.org/411703003/diff/60001/src/gpu/GrLayerCache.cpp File src/gpu/GrLayerCache.cpp (right): https://codereview.chromium.org/411703003/diff/60001/src/gpu/GrLayerCache.cpp#newcode173 src/gpu/GrLayerCache.cpp:173: for (int i = 0; i < 2; ++i) ...
6 years, 4 months ago (2014-07-28 19:33:57 UTC) #2
robertphillips
https://codereview.chromium.org/411703003/diff/60001/src/gpu/GrLayerCache.cpp File src/gpu/GrLayerCache.cpp (right): https://codereview.chromium.org/411703003/diff/60001/src/gpu/GrLayerCache.cpp#newcode173 src/gpu/GrLayerCache.cpp:173: for (int i = 0; i < 2; ++i) ...
6 years, 4 months ago (2014-07-28 20:27:47 UTC) #3
jvanverth1
lgtm
6 years, 4 months ago (2014-07-29 12:54:34 UTC) #4
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 4 months ago (2014-07-29 12:55:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/411703003/80001
6 years, 4 months ago (2014-07-29 12:56:17 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 13:07:23 UTC) #7
Message was sent while issue was closed.
Change committed as 320c92380fe6a43dffbcd3f9e7c99897da44298d

Powered by Google App Engine
This is Rietveld 408576698