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

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

Issue 824753002: Rename GrGpuGL -> GrGLGpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address nit 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 | « src/gpu/gl/GrGLPath.cpp ('k') | src/gpu/gl/GrGLPathRendering.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "GrGLPathRange.h" 9 #include "GrGLPathRange.h"
10 #include "GrGLPath.h" 10 #include "GrGLPath.h"
11 #include "GrGLPathRendering.h" 11 #include "GrGLPathRendering.h"
12 #include "GrGpuGL.h" 12 #include "GrGLGpu.h"
13 13
14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const S kStrokeRec& stroke) 14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const S kStrokeRec& stroke)
15 : INHERITED(gpu, pathGenerator, stroke), 15 : INHERITED(gpu, pathGenerator, stroke),
16 fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())), 16 fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())),
17 fGpuMemorySize(0) { 17 fGpuMemorySize(0) {
18 this->registerWithCache(); 18 this->registerWithCache();
19 } 19 }
20 20
21 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, 21 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu,
22 GrGLuint basePathID, 22 GrGLuint basePathID,
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 } 57 }
58 58
59 INHERITED::onRelease(); 59 INHERITED::onRelease();
60 } 60 }
61 61
62 void GrGLPathRange::onAbandon() { 62 void GrGLPathRange::onAbandon() {
63 fBasePathID = 0; 63 fBasePathID = 0;
64 64
65 INHERITED::onAbandon(); 65 INHERITED::onAbandon();
66 } 66 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLPath.cpp ('k') | src/gpu/gl/GrGLPathRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698