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

Side by Side Diff: src/gpu/GrLayerHoister.h

Issue 1905383002: Retract SkDevice a bit more (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrLayerHoister.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrLayerHoister_DEFINED 8 #ifndef GrLayerHoister_DEFINED
9 #define GrLayerHoister_DEFINED 9 #define GrLayerHoister_DEFINED
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 /** Forceably remove all cached layers and release the atlas. Useful for deb ugging and timing. 108 /** Forceably remove all cached layers and release the atlas. Useful for deb ugging and timing.
109 This is only functional when GR_CACHE_HOISTED_LAYERS is set to 1 in GrLa yerCache.h 109 This is only functional when GR_CACHE_HOISTED_LAYERS is set to 1 in GrLa yerCache.h
110 @param context Owner of the layer cache (and thus the layers) 110 @param context Owner of the layer cache (and thus the layers)
111 */ 111 */
112 static void PurgeCache(GrContext* context); 112 static void PurgeCache(GrContext* context);
113 113
114 private: 114 private:
115 /** Update the GrTexture in 'layer' with its filtered version 115 /** Update the GrTexture in 'layer' with its filtered version
116 @param context Owner of the layer cache (and thus the layers) 116 @param context Owner of the layer cache (and thus the layers)
117 @param device Required by the filtering code 117 @param props Surface properties
118 @param info Layer info for a layer needing filtering prior to bein g composited 118 @param info Layer info for a layer needing filtering prior to bein g composited
119 */ 119 */
120 static void FilterLayer(GrContext* context, SkGpuDevice* device, const GrHoi stedLayer& info); 120 static void FilterLayer(GrContext* context, const SkSurfaceProps*, const GrH oistedLayer& info);
121 121
122 }; 122 };
123 123
124 #endif 124 #endif
OLDNEW
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/gpu/GrLayerHoister.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698