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

Side by Side Diff: src/gpu/GrProgramDesc.h

Issue 778453002: Remove backend factories (Closed) Base URL: https://skia.googlesource.com/skia.git@unichoice
Patch Set: more clang warnings Created 6 years 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/GrProcessor.cpp ('k') | src/gpu/effects/GrBezierEffect.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 2014 Google Inc. 2 * Copyright 2014 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 GrProgramDesc_DEFINED 8 #ifndef GrProgramDesc_DEFINED
9 #define GrProgramDesc_DEFINED 9 #define GrProgramDesc_DEFINED
10 10
11 #include "GrBackendProcessorFactory.h"
12 #include "GrColor.h" 11 #include "GrColor.h"
13 #include "GrTypesPriv.h" 12 #include "GrTypesPriv.h"
14 #include "SkChecksum.h" 13 #include "SkChecksum.h"
15 14
16 class GrGpuGL; 15 class GrGpuGL;
17 16
18 /** This class describes a program to generate. It also serves as a program cach e key. Very little 17 /** This class describes a program to generate. It also serves as a program cach e key. Very little
19 of this is GL-specific. The GL-specific parts could be factored out into a s ubclass. */ 18 of this is GL-specific. The GL-specific parts could be factored out into a s ubclass. */
20 class GrProgramDesc { 19 class GrProgramDesc {
21 public: 20 public:
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 kPreAllocSize = kHeaderOffset + kHeaderSize + 207 kPreAllocSize = kHeaderOffset + kHeaderSize +
209 kMaxPreallocProcessors * sizeof(uint32_t) * kIntsPerProc essor, 208 kMaxPreallocProcessors * sizeof(uint32_t) * kIntsPerProc essor,
210 }; 209 };
211 210
212 SkSTArray<kPreAllocSize, uint8_t, true> fKey; 211 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
213 212
214 friend class GrGLProgramDescBuilder; 213 friend class GrGLProgramDescBuilder;
215 }; 214 };
216 215
217 #endif 216 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrProcessor.cpp ('k') | src/gpu/effects/GrBezierEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698