Index: src/gpu/GrLayerCache.h |
diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h |
index 58887d6405c9e6d820c23dba96a498f4ab4a9dc3..c77233292254ee9a155a528087de48e9d4563c2e 100644 |
--- a/src/gpu/GrLayerCache.h |
+++ b/src/gpu/GrLayerCache.h |
@@ -211,7 +211,7 @@ public: |
// Attempt to place 'layer' in the atlas. Return true on success; false on failure. |
// When true is returned, 'needsRendering' will indicate if the layer must be (re)drawn. |
// Additionally, the GPU resources will be locked. |
- bool tryToAtlas(GrCachedLayer* layer, const GrTextureDesc& desc, bool* needsRendering); |
+ bool tryToAtlas(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* needsRendering); |
// Attempt to lock the GPU resources required for a layer. Return true on success; |
// false on failure. When true is returned 'needsRendering' will indicate if the |
@@ -221,7 +221,7 @@ public: |
// Currently, this path always uses a new scratch texture for non-Atlased layers |
// and (thus) doesn't cache anything. This can yield a lot of re-rendering. |
// TODO: allow rediscovery of free-floating layers that are still in the resource cache. |
- bool lock(GrCachedLayer* layer, const GrTextureDesc& desc, bool* needsRendering); |
+ bool lock(GrCachedLayer* layer, const GrSurfaceDesc& desc, bool* needsRendering); |
// addUse is just here to keep the API symmetric |
void addUse(GrCachedLayer* layer) { layer->addUse(); } |