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

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

Issue 23137022: Replace uses of GR_DEBUG by SK_DEBUG. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: not GR_RELEASE Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « include/gpu/GrUserConfig.h ('k') | include/gpu/gl/GrGLConfig.h » ('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
11 #ifndef SkGr_DEFINED 11 #ifndef SkGr_DEFINED
12 #define SkGr_DEFINED 12 #define SkGr_DEFINED
13 13
14 #include <stddef.h> 14 #include <stddef.h>
15 15
16 // Gr headers 16 // Gr headers
17 #include "GrTypes.h" 17 #include "GrTypes.h"
18 #include "GrContext.h" 18 #include "GrContext.h"
19 #include "GrFontScaler.h" 19 #include "GrFontScaler.h"
20 20
21 // skia headers 21 // skia headers
22 #include "SkBitmap.h" 22 #include "SkBitmap.h"
23 #include "SkPath.h" 23 #include "SkPath.h"
24 #include "SkPoint.h" 24 #include "SkPoint.h"
25 #include "SkRegion.h" 25 #include "SkRegion.h"
26 #include "SkClipStack.h" 26 #include "SkClipStack.h"
27 27
28 #if (GR_DEBUG && defined(SK_RELEASE)) || (GR_RELEASE && defined(SK_DEBUG)) 28 #if (GR_RELEASE && defined(SK_DEBUG))
29 // #error "inconsistent GR_DEBUG and SK_DEBUG" 29 // #error "inconsistent GR_RELEASE and SK_DEBUG"
30 #endif 30 #endif
31 31
32 //////////////////////////////////////////////////////////////////////////////// 32 ////////////////////////////////////////////////////////////////////////////////
33 // Sk to Gr Type conversions 33 // Sk to Gr Type conversions
34 34
35 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff); 35 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff);
36 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff); 36 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff);
37 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff); 37 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff);
38 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff); 38 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff);
39 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff); 39 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 private: 93 private:
94 SkGlyphCache* fStrike; 94 SkGlyphCache* fStrike;
95 GrKey* fKey; 95 GrKey* fKey;
96 // DECLARE_INSTANCE_COUNTER(SkGrFontScaler); 96 // DECLARE_INSTANCE_COUNTER(SkGrFontScaler);
97 }; 97 };
98 98
99 //////////////////////////////////////////////////////////////////////////////// 99 ////////////////////////////////////////////////////////////////////////////////
100 100
101 #endif 101 #endif
OLDNEW
« no previous file with comments | « include/gpu/GrUserConfig.h ('k') | include/gpu/gl/GrGLConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698