| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 GrProcessor_DEFINED | 8 #ifndef GrProcessor_DEFINED |
| 9 #define GrProcessor_DEFINED | 9 #define GrProcessor_DEFINED |
| 10 | 10 |
| 11 #include "GrColor.h" | 11 #include "GrColor.h" |
| 12 #include "GrProcessorUnitTest.h" | 12 #include "GrProcessorUnitTest.h" |
| 13 #include "GrProgramElement.h" | 13 #include "GrProgramElement.h" |
| 14 #include "GrTextureAccess.h" | 14 #include "GrTextureAccess.h" |
| 15 #include "GrBufferAccess.h" | 15 #include "GrBufferAccess.h" |
| 16 #include "SkMath.h" | 16 #include "SkMath.h" |
| 17 #include "SkString.h" | 17 #include "SkString.h" |
| 18 #include "../private/SkAtomics.h" |
| 18 | 19 |
| 19 class GrContext; | 20 class GrContext; |
| 20 class GrCoordTransform; | 21 class GrCoordTransform; |
| 21 class GrInvariantOutput; | 22 class GrInvariantOutput; |
| 22 | 23 |
| 23 /** | 24 /** |
| 24 * Used by processors to build their keys. It incorporates each per-processor ke
y into a larger | 25 * Used by processors to build their keys. It incorporates each per-processor ke
y into a larger |
| 25 * shader key. | 26 * shader key. |
| 26 */ | 27 */ |
| 27 class GrProcessorKeyBuilder { | 28 class GrProcessorKeyBuilder { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 static int32_t gCurrProcessorClassID; | 174 static int32_t gCurrProcessorClassID; |
| 174 | 175 |
| 175 RequiredFeatures fRequiredFeatures; | 176 RequiredFeatures fRequiredFeatures; |
| 176 | 177 |
| 177 typedef GrProgramElement INHERITED; | 178 typedef GrProgramElement INHERITED; |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 GR_MAKE_BITFIELD_OPS(GrProcessor::RequiredFeatures); | 181 GR_MAKE_BITFIELD_OPS(GrProcessor::RequiredFeatures); |
| 181 | 182 |
| 182 #endif | 183 #endif |
| OLD | NEW |