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

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

Issue 824753002: Rename GrGpuGL -> GrGLGpu (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address nit Created 5 years, 12 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 | « src/gpu/gl/GrGLIndexBuffer.cpp ('k') | src/gpu/gl/GrGLPathRange.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 2012 Google Inc. 3 * Copyright 2012 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 "GrGLPath.h" 9 #include "GrGLPath.h"
10 #include "GrGLPathRendering.h" 10 #include "GrGLPathRendering.h"
11 #include "GrGpuGL.h" 11 #include "GrGLGpu.h"
12 12
13 namespace { 13 namespace {
14 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) { 14 inline GrGLubyte verb_to_gl_path_cmd(SkPath::Verb verb) {
15 static const GrGLubyte gTable[] = { 15 static const GrGLubyte gTable[] = {
16 GR_GL_MOVE_TO, 16 GR_GL_MOVE_TO,
17 GR_GL_LINE_TO, 17 GR_GL_LINE_TO,
18 GR_GL_QUADRATIC_CURVE_TO, 18 GR_GL_QUADRATIC_CURVE_TO,
19 GR_GL_CONIC_CURVE_TO, 19 GR_GL_CONIC_CURVE_TO,
20 GR_GL_CUBIC_CURVE_TO, 20 GR_GL_CUBIC_CURVE_TO,
21 GR_GL_CLOSE_PATH, 21 GR_GL_CLOSE_PATH,
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 203 }
204 204
205 INHERITED::onRelease(); 205 INHERITED::onRelease();
206 } 206 }
207 207
208 void GrGLPath::onAbandon() { 208 void GrGLPath::onAbandon() {
209 fPathID = 0; 209 fPathID = 0;
210 210
211 INHERITED::onAbandon(); 211 INHERITED::onAbandon();
212 } 212 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLIndexBuffer.cpp ('k') | src/gpu/gl/GrGLPathRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698