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

Side by Side Diff: include/private/GrTextureStripAtlas.h

Issue 2262233002: Make GrTextureStripAtlas flush pending IO on newly acquired texture (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 years, 3 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 | « include/gpu/GrContext.h ('k') | src/effects/SkTableColorFilter.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 2012 Google Inc. 2 * Copyright 2012 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 GrTextureStripAtlas_DEFINED 8 #ifndef GrTextureStripAtlas_DEFINED
9 #define GrTextureStripAtlas_DEFINED 9 #define GrTextureStripAtlas_DEFINED
10 10
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Head and tail for linked list of least-recently-used rows (front = least recently used). 180 // Head and tail for linked list of least-recently-used rows (front = least recently used).
181 // Note that when a texture is locked, it gets removed from this list until it is unlocked. 181 // Note that when a texture is locked, it gets removed from this list until it is unlocked.
182 AtlasRow* fLRUFront; 182 AtlasRow* fLRUFront;
183 AtlasRow* fLRUBack; 183 AtlasRow* fLRUBack;
184 184
185 // A list of pointers to AtlasRows that currently contain cached images, sor ted by key 185 // A list of pointers to AtlasRows that currently contain cached images, sor ted by key
186 SkTDArray<AtlasRow*> fKeyTable; 186 SkTDArray<AtlasRow*> fKeyTable;
187 }; 187 };
188 188
189 #endif 189 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/effects/SkTableColorFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698