Index: src/gpu/GrProgramDesc.h |
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h |
index b306f02e4f78a27e8292b7345bef4f1d7b434915..de943784ad3b1fc973e0b489bb7eaaa20b623fda 100644 |
--- a/src/gpu/GrProgramDesc.h |
+++ b/src/gpu/GrProgramDesc.h |
@@ -94,21 +94,21 @@ protected: |
*checksum = SkChecksum::Compute(reinterpret_cast<uint32_t*>(fKey.begin()), keyLength); |
} |
- // The key, stored in fKey, is composed of four parts: |
- // 1. uint32_t for total key length. |
- // 2. uint32_t for a checksum. |
- // 3. Header struct defined above. Also room for extensions to the header |
- // 4. A Backend specific payload. Room is preallocated for this |
- enum KeyOffsets { |
- // Part 1. |
- kLengthOffset = 0, |
- // Part 2. |
- kChecksumOffset = kLengthOffset + sizeof(uint32_t), |
- // Part 3. |
- kHeaderOffset = kChecksumOffset + sizeof(uint32_t), |
- kHeaderSize = SkAlign4(2 * sizeof(KeyHeader)), |
- }; |
- |
+ // The key, stored in fKey, is composed of four parts: |
+ // 1. uint32_t for total key length. |
+ // 2. uint32_t for a checksum. |
+ // 3. Header struct defined above. Also room for extensions to the header |
+ // 4. A Backend specific payload. Room is preallocated for this |
+ enum KeyOffsets { |
+ // Part 1. |
+ kLengthOffset = 0, |
+ // Part 2. |
+ kChecksumOffset = kLengthOffset + sizeof(uint32_t), |
+ // Part 3. |
+ kHeaderOffset = kChecksumOffset + sizeof(uint32_t), |
+ kHeaderSize = SkAlign4(2 * sizeof(KeyHeader)), |
+ }; |
+ |
enum { |
kMaxPreallocProcessors = 8, |
kIntsPerProcessor = 4, // This is an overestimate of the average effect key size. |