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

Side by Side Diff: src/gpu/gl/GrGpuGL.h

Issue 579753003: Fix typo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Missed an instance Created 6 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 | « src/gpu/GrGpu.cpp ('k') | src/gpu/gl/GrGpuGL.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 #ifndef GrGpuGL_DEFINED 8 #ifndef GrGpuGL_DEFINED
9 #define GrGpuGL_DEFINED 9 #define GrGpuGL_DEFINED
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 #ifdef SK_DEVELOPER 24 #ifdef SK_DEVELOPER
25 #define PROGRAM_CACHE_STATS 25 #define PROGRAM_CACHE_STATS
26 #endif 26 #endif
27 27
28 class GrGpuGL : public GrGpu { 28 class GrGpuGL : public GrGpu {
29 public: 29 public:
30 GrGpuGL(const GrGLContext& ctx, GrContext* context); 30 GrGpuGL(const GrGLContext& ctx, GrContext* context);
31 virtual ~GrGpuGL(); 31 virtual ~GrGpuGL();
32 32
33 virtual void contextAbandonded() SK_OVERRIDE; 33 virtual void contextAbandoned() SK_OVERRIDE;
34 34
35 const GrGLContext& glContext() const { return fGLContext; } 35 const GrGLContext& glContext() const { return fGLContext; }
36 36
37 const GrGLInterface* glInterface() const { return fGLContext.interface(); } 37 const GrGLInterface* glInterface() const { return fGLContext.interface(); }
38 const GrGLContextInfo& ctxInfo() const { return fGLContext; } 38 const GrGLContextInfo& ctxInfo() const { return fGLContext; }
39 GrGLStandard glStandard() const { return fGLContext.standard(); } 39 GrGLStandard glStandard() const { return fGLContext.standard(); }
40 GrGLVersion glVersion() const { return fGLContext.version(); } 40 GrGLVersion glVersion() const { return fGLContext.version(); }
41 GrGLSLGeneration glslGeneration() const { return fGLContext.glslGeneration() ; } 41 GrGLSLGeneration glslGeneration() const { return fGLContext.glslGeneration() ; }
42 const GrGLCaps& glCaps() const { return *fGLContext.caps(); } 42 const GrGLCaps& glCaps() const { return *fGLContext.caps(); }
43 43
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 438
439 // we record what stencil format worked last time to hopefully exit early 439 // we record what stencil format worked last time to hopefully exit early
440 // from our loop that tries stencil formats and calls check fb status. 440 // from our loop that tries stencil formats and calls check fb status.
441 int fLastSuccessfulStencilFmtIdx; 441 int fLastSuccessfulStencilFmtIdx;
442 442
443 typedef GrGpu INHERITED; 443 typedef GrGpu INHERITED;
444 friend class GrGLPathRendering; // For accessing setTextureUnit. 444 friend class GrGLPathRendering; // For accessing setTextureUnit.
445 }; 445 };
446 446
447 #endif 447 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrGpu.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698