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

Side by Side Diff: src/gpu/glsl/GrGLSLProgramDataManager.h

Issue 1425013003: Remove GrGLProcessor and create GrGLSLTextureSampler class. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove grglprocessor from gyp Created 5 years, 1 month 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/glsl/GrGLSLProcessorTypes.h ('k') | src/gpu/glsl/GrGLSLTextureSampler.h » ('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 2015 Google Inc. 2 * Copyright 2015 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 GrGLSLProgramDataManager_DEFINED 8 #ifndef GrGLSLProgramDataManager_DEFINED
9 #define GrGLSLProgramDataManager_DEFINED 9 #define GrGLSLProgramDataManager_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 12
13 class SkMatrix;
14
13 /** Manages the resources used by a shader program. 15 /** Manages the resources used by a shader program.
14 * The resources are objects the program uses to communicate with the 16 * The resources are objects the program uses to communicate with the
15 * application code. 17 * application code.
16 */ 18 */
17 class GrGLSLProgramDataManager : SkNoncopyable { 19 class GrGLSLProgramDataManager : SkNoncopyable {
18 public: 20 public:
19 // Opaque handle to a resource 21 // Opaque handle to a resource
20 class ShaderResourceHandle { 22 class ShaderResourceHandle {
21 public: 23 public:
22 ShaderResourceHandle(int value) 24 ShaderResourceHandle(int value)
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 71
70 protected: 72 protected:
71 GrGLSLProgramDataManager() {} 73 GrGLSLProgramDataManager() {}
72 74
73 private: 75 private:
74 76
75 typedef SkNoncopyable INHERITED; 77 typedef SkNoncopyable INHERITED;
76 }; 78 };
77 79
78 #endif 80 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLProcessorTypes.h ('k') | src/gpu/glsl/GrGLSLTextureSampler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698