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

Side by Side Diff: src/gpu/gl/GrGLGpuProgramCache.cpp

Issue 807133002: Rename GrGpuGL_program.cpp to GrGLGpuProgramCache.cpp (Closed) Base URL: https://skia.googlesource.com/skia.git@glgpu
Patch Set: Created 6 years 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 | « gyp/gpu.gypi ('k') | src/gpu/gl/GrGpuGL_program.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 2011 Google Inc. 2 * Copyright 2011 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 #include "GrGpuGL.h" 8 #include "GrGpuGL.h"
9 9
10 #include "builders/GrGLProgramBuilder.h" 10 #include "builders/GrGLProgramBuilder.h"
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 if (SK_MaxU32 == fCurrLRUStamp) { 190 if (SK_MaxU32 == fCurrLRUStamp) {
191 // wrap around! just trash our LRU, one time hit. 191 // wrap around! just trash our LRU, one time hit.
192 for (int i = 0; i < fCount; ++i) { 192 for (int i = 0; i < fCount; ++i) {
193 fEntries[i]->fLRUStamp = 0; 193 fEntries[i]->fLRUStamp = 0;
194 } 194 }
195 } 195 }
196 ++fCurrLRUStamp; 196 ++fCurrLRUStamp;
197 return entry->fProgram; 197 return entry->fProgram;
198 } 198 }
OLDNEW
« no previous file with comments | « gyp/gpu.gypi ('k') | src/gpu/gl/GrGpuGL_program.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698