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

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: cleanup 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
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 kPreAllocSize = kHeaderOffset + kHeaderSize + 196 kPreAllocSize = kHeaderOffset + kHeaderSize +
198 kMaxPreallocProcessors * sizeof(uint32_t) * kIntsPerProc essor, 197 kMaxPreallocProcessors * sizeof(uint32_t) * kIntsPerProc essor,
199 }; 198 };
200 199
201 SkSTArray<kPreAllocSize, uint8_t, true> fKey; 200 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
202 201
203 friend class GrGLProgramDescBuilder; 202 friend class GrGLProgramDescBuilder;
204 }; 203 };
205 204
206 #endif 205 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698