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

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

Issue 1202293002: Move GLSL-specific routines/classes to separate glsl directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrGLGLSL.{cpp,h} Created 5 years, 5 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/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLContext.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 2013 Google Inc. 2 * Copyright 2013 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 8
9 #ifndef GrGLContext_DEFINED 9 #ifndef GrGLContext_DEFINED
10 #define GrGLContext_DEFINED 10 #define GrGLContext_DEFINED
11 11
12 #include "gl/GrGLExtensions.h" 12 #include "gl/GrGLExtensions.h"
13 #include "gl/GrGLInterface.h" 13 #include "gl/GrGLInterface.h"
14 #include "GrGLCaps.h" 14 #include "GrGLCaps.h"
15 #include "GrGLSL.h"
16 #include "GrGLUtil.h" 15 #include "GrGLUtil.h"
17 16
18 struct GrContextOptions; 17 struct GrContextOptions;
19 18
20 /** 19 /**
21 * Encapsulates information about an OpenGL context including the OpenGL 20 * Encapsulates information about an OpenGL context including the OpenGL
22 * version, the GrGLStandard type of the context, and GLSL version. 21 * version, the GrGLStandard type of the context, and GLSL version.
23 */ 22 */
24 class GrGLContextInfo : public SkNoncopyable { 23 class GrGLContextInfo : public SkNoncopyable {
25 public: 24 public:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 76
78 const GrGLInterface* interface() const { return fInterface; } 77 const GrGLInterface* interface() const { return fInterface; }
79 78
80 private: 79 private:
81 GrGLContext(const ConstructorArgs& args) : INHERITED(args) {} 80 GrGLContext(const ConstructorArgs& args) : INHERITED(args) {}
82 81
83 typedef GrGLContextInfo INHERITED; 82 typedef GrGLContextInfo INHERITED;
84 }; 83 };
85 84
86 #endif 85 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698