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

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

Issue 421253003: Finish removing GrTHashTable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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/GrTHashTable.h ('k') | src/gpu/gl/GrGpuGL.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 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 8
9 #ifndef GrGLProgram_DEFINED 9 #ifndef GrGLProgram_DEFINED
10 #define GrGLProgram_DEFINED 10 #define GrGLProgram_DEFINED
11 11
12 #include "GrDrawState.h" 12 #include "GrDrawState.h"
13 #include "GrGLContext.h" 13 #include "GrGLContext.h"
14 #include "GrGLProgramDesc.h" 14 #include "GrGLProgramDesc.h"
15 #include "GrGLShaderBuilder.h" 15 #include "GrGLShaderBuilder.h"
16 #include "GrGLSL.h" 16 #include "GrGLSL.h"
17 #include "GrGLTexture.h" 17 #include "GrGLTexture.h"
18 #include "GrGLUniformManager.h" 18 #include "GrGLUniformManager.h"
19 19
20 #include "SkString.h" 20 #include "SkString.h"
21 #include "SkXfermode.h" 21 #include "SkXfermode.h"
22 22
23 class GrBinHashKeyBuilder;
24 class GrGLEffect; 23 class GrGLEffect;
25 class GrGLProgramEffects; 24 class GrGLProgramEffects;
26 class GrGLShaderBuilder; 25 class GrGLShaderBuilder;
27 26
28 /** 27 /**
29 * This class manages a GPU program and records per-program information. 28 * This class manages a GPU program and records per-program information.
30 * We can specify the attribute locations so that they are constant 29 * We can specify the attribute locations so that they are constant
31 * across our shaders. But the driver determines the uniform locations 30 * across our shaders. But the driver determines the uniform locations
32 * at link time. We don't need to remember the sampler uniform location 31 * at link time. We don't need to remember the sampler uniform location
33 * because we will bind a texture slot to it and never change it 32 * because we will bind a texture slot to it and never change it
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 192
194 GrGLProgramDesc fDesc; 193 GrGLProgramDesc fDesc;
195 GrGpuGL* fGpu; 194 GrGpuGL* fGpu;
196 195
197 SkAutoTUnref<GrGLUniformManager> fUniformManager; 196 SkAutoTUnref<GrGLUniformManager> fUniformManager;
198 197
199 typedef SkRefCnt INHERITED; 198 typedef SkRefCnt INHERITED;
200 }; 199 };
201 200
202 #endif 201 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTHashTable.h ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698