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

Issue 350183006: Move allocation of texture from SkGpuDevice to GrLayerCache (Closed)

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

Description

Move allocation of texture from SkGpuDevice to GrLayerCache In order to atlas the layers the GrLayerCache needs to be given more control over where a given layer's texture is allocated (i.e., it could be a raw scratch texture or in the cache). Committed: https://skia.googlesource.com/skia/+/4ec84da746d66e1bcb76ab2f8b94602b8e966589

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 4

Patch Set 3 : Address code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -59 lines) Patch
M src/core/SkPicturePlayback.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrLayerCache.h View 1 2 2 chunks +18 lines, -7 lines 0 comments Download
M src/gpu/GrLayerCache.cpp View 4 chunks +26 lines, -3 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 chunks +38 lines, -47 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
robertphillips
6 years, 6 months ago (2014-06-24 17:17:19 UTC) #1
bsalomon
lgtm https://codereview.chromium.org/350183006/diff/20001/src/gpu/GrLayerCache.h File src/gpu/GrLayerCache.h (right): https://codereview.chromium.org/350183006/diff/20001/src/gpu/GrLayerCache.h#newcode110 src/gpu/GrLayerCache.h:110: // if it was found in the ResourceCache ...
6 years, 6 months ago (2014-06-24 17:29:59 UTC) #2
robertphillips
https://codereview.chromium.org/350183006/diff/20001/src/gpu/GrLayerCache.h File src/gpu/GrLayerCache.h (right): https://codereview.chromium.org/350183006/diff/20001/src/gpu/GrLayerCache.h#newcode110 src/gpu/GrLayerCache.h:110: // if it was found in the ResourceCache and ...
6 years, 6 months ago (2014-06-24 19:59:43 UTC) #3
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 6 months ago (2014-06-24 19:59:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/350183006/40001
6 years, 6 months ago (2014-06-24 20:00:01 UTC) #5
commit-bot: I haz the power
6 years, 6 months ago (2014-06-24 20:10:46 UTC) #6
Message was sent while issue was closed.
Change committed as 4ec84da746d66e1bcb76ab2f8b94602b8e966589

Powered by Google App Engine
This is Rietveld 408576698