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

Side by Side Diff: include/gpu/GrTypes.h

Issue 631183003: Revert of gl programs rewrite (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « include/gpu/GrProcessor.h ('k') | src/effects/SkColorFilters.cpp » ('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 /* 2 /*
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 kIDC_GrBlendCoeff, //<! one minus dst color 215 kIDC_GrBlendCoeff, //<! one minus dst color
216 kSA_GrBlendCoeff, //<! src alpha 216 kSA_GrBlendCoeff, //<! src alpha
217 kISA_GrBlendCoeff, //<! one minus src alpha 217 kISA_GrBlendCoeff, //<! one minus src alpha
218 kDA_GrBlendCoeff, //<! dst alpha 218 kDA_GrBlendCoeff, //<! dst alpha
219 kIDA_GrBlendCoeff, //<! one minus dst alpha 219 kIDA_GrBlendCoeff, //<! one minus dst alpha
220 kConstC_GrBlendCoeff, //<! constant color 220 kConstC_GrBlendCoeff, //<! constant color
221 kIConstC_GrBlendCoeff, //<! one minus constant color 221 kIConstC_GrBlendCoeff, //<! one minus constant color
222 kConstA_GrBlendCoeff, //<! constant color alpha 222 kConstA_GrBlendCoeff, //<! constant color alpha
223 kIConstA_GrBlendCoeff, //<! one minus constant color alpha 223 kIConstA_GrBlendCoeff, //<! one minus constant color alpha
224 224
225 kFirstPublicGrBlendCoeff = kZero_GrBlendCoeff, 225 kPublicGrBlendCoeffCount
226 kLastPublicGrBlendCoeff = kIConstA_GrBlendCoeff,
227 }; 226 };
228 static const int kPublicGrBlendCoeffCount = kLastPublicGrBlendCoeff + 1;
229 227
230 /** 228 /**
231 * Formats for masks, used by the font cache. 229 * Formats for masks, used by the font cache.
232 * Important that these are 0-based. 230 * Important that these are 0-based.
233 */ 231 */
234 enum GrMaskFormat { 232 enum GrMaskFormat {
235 kA8_GrMaskFormat, //!< 1-byte per pixel 233 kA8_GrMaskFormat, //!< 1-byte per pixel
236 kA565_GrMaskFormat, //!< 2-bytes per pixel 234 kA565_GrMaskFormat, //!< 2-bytes per pixel
237 kA888_GrMaskFormat, //!< 4-bytes per pixel 235 kA888_GrMaskFormat, //!< 4-bytes per pixel
238 kARGB_GrMaskFormat, //!< 4-bytes per pixel, color format 236 kARGB_GrMaskFormat, //!< 4-bytes per pixel, color format
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 public: 718 public:
721 GrAutoMalloc() : INHERITED() {} 719 GrAutoMalloc() : INHERITED() {}
722 explicit GrAutoMalloc(size_t size) : INHERITED(size) {} 720 explicit GrAutoMalloc(size_t size) : INHERITED(size) {}
723 virtual ~GrAutoMalloc() {} 721 virtual ~GrAutoMalloc() {}
724 private: 722 private:
725 typedef GrAutoMallocBaseType INHERITED; 723 typedef GrAutoMallocBaseType INHERITED;
726 }; 724 };
727 725
728 #undef GrAutoMallocBaseType 726 #undef GrAutoMallocBaseType
729 #endif 727 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrProcessor.h ('k') | src/effects/SkColorFilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698