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

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

Issue 628633003: gl programs rewrite (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: build fix 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 kPublicGrBlendCoeffCount 225 kFirstPublicGrBlendCoeff = kZero_GrBlendCoeff,
226 kLastPublicGrBlendCoeff = kIConstA_GrBlendCoeff,
226 }; 227 };
228 static const int kPublicGrBlendCoeffCount = kLastPublicGrBlendCoeff + 1;
227 229
228 /** 230 /**
229 * Formats for masks, used by the font cache. 231 * Formats for masks, used by the font cache.
230 * Important that these are 0-based. 232 * Important that these are 0-based.
231 */ 233 */
232 enum GrMaskFormat { 234 enum GrMaskFormat {
233 kA8_GrMaskFormat, //!< 1-byte per pixel 235 kA8_GrMaskFormat, //!< 1-byte per pixel
234 kA565_GrMaskFormat, //!< 2-bytes per pixel 236 kA565_GrMaskFormat, //!< 2-bytes per pixel
235 kA888_GrMaskFormat, //!< 4-bytes per pixel 237 kA888_GrMaskFormat, //!< 4-bytes per pixel
236 kARGB_GrMaskFormat, //!< 4-bytes per pixel, color format 238 kARGB_GrMaskFormat, //!< 4-bytes per pixel, color format
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 public: 720 public:
719 GrAutoMalloc() : INHERITED() {} 721 GrAutoMalloc() : INHERITED() {}
720 explicit GrAutoMalloc(size_t size) : INHERITED(size) {} 722 explicit GrAutoMalloc(size_t size) : INHERITED(size) {}
721 virtual ~GrAutoMalloc() {} 723 virtual ~GrAutoMalloc() {}
722 private: 724 private:
723 typedef GrAutoMallocBaseType INHERITED; 725 typedef GrAutoMallocBaseType INHERITED;
724 }; 726 };
725 727
726 #undef GrAutoMallocBaseType 728 #undef GrAutoMallocBaseType
727 #endif 729 #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