HomeSort by relevance Sort by last modified time
    Searched refs:GR_STATIC_ASSERT (Results 1 - 25 of 48) sorted by null

1 2

  /external/chromium_org/third_party/skia/include/gpu/
GrTypesPriv.h 40 GR_STATIC_ASSERT(0 == kVoid_GrSLType);
41 GR_STATIC_ASSERT(1 == kFloat_GrSLType);
42 GR_STATIC_ASSERT(2 == kVec2f_GrSLType);
43 GR_STATIC_ASSERT(3 == kVec3f_GrSLType);
44 GR_STATIC_ASSERT(4 == kVec4f_GrSLType);
45 GR_STATIC_ASSERT(5 == kMat33f_GrSLType);
46 GR_STATIC_ASSERT(6 == kMat44f_GrSLType);
47 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
48 GR_STATIC_ASSERT(GR_ARRAY_COUNT(kCounts) == kGrSLTypeCount);
57 GR_STATIC_ASSERT(kFloat_GrSLType == 1)
    [all...]
SkGr.h 31 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff);
32 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff);
33 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff);
34 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff);
35 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff);
36 GR_STATIC_ASSERT((int)kIDC_GrBlendCoeff == (int)SkXfermode::kIDC_Coeff);
37 GR_STATIC_ASSERT((int)kSA_GrBlendCoeff == (int)SkXfermode::kSA_Coeff);
38 GR_STATIC_ASSERT((int)kISA_GrBlendCoeff == (int)SkXfermode::kISA_Coeff);
39 GR_STATIC_ASSERT((int)kDA_GrBlendCoeff == (int)SkXfermode::kDA_Coeff);
40 GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff)
    [all...]
GrColor.h 117 GR_STATIC_ASSERT(0 == kUnknown_GrPixelConfig);
118 GR_STATIC_ASSERT(1 == kAlpha_8_GrPixelConfig);
119 GR_STATIC_ASSERT(2 == kIndex_8_GrPixelConfig);
120 GR_STATIC_ASSERT(3 == kRGB_565_GrPixelConfig);
121 GR_STATIC_ASSERT(4 == kRGBA_4444_GrPixelConfig);
122 GR_STATIC_ASSERT(5 == kRGBA_8888_GrPixelConfig);
123 GR_STATIC_ASSERT(6 == kBGRA_8888_GrPixelConfig);
124 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kFlags) == kGrPixelConfigCnt);
GrConfig.h 190 * GR_STATIC_ASSERT is a compile time assertion. Depending on the platform
196 #if !defined(GR_STATIC_ASSERT)
198 #define GR_STATIC_ASSERT(CONDITION) static_assert(CONDITION, "bug")
202 #define GR_STATIC_ASSERT(CONDITION) \
  /external/skia/include/gpu/
GrTypesPriv.h 40 GR_STATIC_ASSERT(0 == kVoid_GrSLType);
41 GR_STATIC_ASSERT(1 == kFloat_GrSLType);
42 GR_STATIC_ASSERT(2 == kVec2f_GrSLType);
43 GR_STATIC_ASSERT(3 == kVec3f_GrSLType);
44 GR_STATIC_ASSERT(4 == kVec4f_GrSLType);
45 GR_STATIC_ASSERT(5 == kMat33f_GrSLType);
46 GR_STATIC_ASSERT(6 == kMat44f_GrSLType);
47 GR_STATIC_ASSERT(7 == kSampler2D_GrSLType);
48 GR_STATIC_ASSERT(GR_ARRAY_COUNT(kCounts) == kGrSLTypeCount);
57 GR_STATIC_ASSERT(kFloat_GrSLType == 1)
    [all...]
SkGr.h 31 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff);
32 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff);
33 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff);
34 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff);
35 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff);
36 GR_STATIC_ASSERT((int)kIDC_GrBlendCoeff == (int)SkXfermode::kIDC_Coeff);
37 GR_STATIC_ASSERT((int)kSA_GrBlendCoeff == (int)SkXfermode::kSA_Coeff);
38 GR_STATIC_ASSERT((int)kISA_GrBlendCoeff == (int)SkXfermode::kISA_Coeff);
39 GR_STATIC_ASSERT((int)kDA_GrBlendCoeff == (int)SkXfermode::kDA_Coeff);
40 GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff)
    [all...]
GrColor.h 117 GR_STATIC_ASSERT(0 == kUnknown_GrPixelConfig);
118 GR_STATIC_ASSERT(1 == kAlpha_8_GrPixelConfig);
119 GR_STATIC_ASSERT(2 == kIndex_8_GrPixelConfig);
120 GR_STATIC_ASSERT(3 == kRGB_565_GrPixelConfig);
121 GR_STATIC_ASSERT(4 == kRGBA_4444_GrPixelConfig);
122 GR_STATIC_ASSERT(5 == kRGBA_8888_GrPixelConfig);
123 GR_STATIC_ASSERT(6 == kBGRA_8888_GrPixelConfig);
124 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kFlags) == kGrPixelConfigCnt);
GrConfig.h 190 * GR_STATIC_ASSERT is a compile time assertion. Depending on the platform
196 #if !defined(GR_STATIC_ASSERT)
198 #define GR_STATIC_ASSERT(CONDITION) static_assert(CONDITION, "bug")
202 #define GR_STATIC_ASSERT(CONDITION) \
  /external/chromium_org/third_party/skia/src/gpu/
GrCacheID.cpp 19 GR_STATIC_ASSERT(sizeof(kAssertKey.fData8) == sizeof(kAssertKey.fData32));
20 GR_STATIC_ASSERT(sizeof(kAssertKey.fData8) == sizeof(kAssertKey.fData64));
21 GR_STATIC_ASSERT(sizeof(kAssertKey.fData8) == sizeof(kAssertKey));
GrStencilBuffer.cpp 31 GR_STATIC_ASSERT(sizeof(key) >= 3 * sizeof(uint32_t));
GrPathRendererChain.cpp 45 GR_STATIC_ASSERT(GrPathRenderer::kNoSupport_StencilSupport <
47 GR_STATIC_ASSERT(GrPathRenderer::kStencilOnly_StencilSupport <
  /external/skia/src/gpu/
GrCacheID.cpp 19 GR_STATIC_ASSERT(sizeof(kAssertKey.fData8) == sizeof(kAssertKey.fData32));
20 GR_STATIC_ASSERT(sizeof(kAssertKey.fData8) == sizeof(kAssertKey.fData64));
21 GR_STATIC_ASSERT(sizeof(kAssertKey.fData8) == sizeof(kAssertKey));
GrStencilBuffer.cpp 31 GR_STATIC_ASSERT(sizeof(key) >= 3 * sizeof(uint32_t));
GrPathRendererChain.cpp 45 GR_STATIC_ASSERT(GrPathRenderer::kNoSupport_StencilSupport <
47 GR_STATIC_ASSERT(GrPathRenderer::kStencilOnly_StencilSupport <
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLPath.cpp 27 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
28 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
29 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb);
30 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb);
31 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb);
47 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
48 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
49 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb);
50 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb);
51 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb)
    [all...]
GrGLVertexArray.h 37 GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType);
38 GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType);
39 GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType);
40 GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType);
41 GR_STATIC_ASSERT(4 == kVec4ub_GrVertexAttribType);
42 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kLayouts) == kGrVertexAttribTypeCount);
GrGLCaps.cpp 608 GR_STATIC_ASSERT(0 == kNone_MSFBOType);
609 GR_STATIC_ASSERT(1 == kDesktop_ARB_MSFBOType);
610 GR_STATIC_ASSERT(2 == kDesktop_EXT_MSFBOType);
611 GR_STATIC_ASSERT(3 == kES_3_0_MSFBOType);
612 GR_STATIC_ASSERT(4 == kES_Apple_MSFBOType);
613 GR_STATIC_ASSERT(5 == kES_IMG_MsToTexture_MSFBOType);
614 GR_STATIC_ASSERT(6 == kES_EXT_MsToTexture_MSFBOType);
615 GR_STATIC_ASSERT(GR_ARRAY_COUNT(kMSFBOExtStr) == kLast_MSFBOType + 1);
622 GR_STATIC_ASSERT(0 == kNone_FBFetchType);
623 GR_STATIC_ASSERT(1 == kEXT_FBFetchType)
    [all...]
GrGpuGL.cpp 83 GR_STATIC_ASSERT(kTotalGrBlendCoeffCount ==
86 GR_STATIC_ASSERT(0 == kZero_GrBlendCoeff);
87 GR_STATIC_ASSERT(1 == kOne_GrBlendCoeff);
88 GR_STATIC_ASSERT(2 == kSC_GrBlendCoeff);
89 GR_STATIC_ASSERT(3 == kISC_GrBlendCoeff);
90 GR_STATIC_ASSERT(4 == kDC_GrBlendCoeff);
91 GR_STATIC_ASSERT(5 == kIDC_GrBlendCoeff);
92 GR_STATIC_ASSERT(6 == kSA_GrBlendCoeff);
93 GR_STATIC_ASSERT(7 == kISA_GrBlendCoeff);
94 GR_STATIC_ASSERT(8 == kDA_GrBlendCoeff)
    [all...]
GrGLIRect.h 35 GR_STATIC_ASSERT(sizeof(GrGLIRect) == 4*sizeof(GrGLint));
  /external/skia/src/gpu/gl/
GrGLPath.cpp 27 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
28 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
29 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb);
30 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb);
31 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb);
47 GR_STATIC_ASSERT(0 == SkPath::kMove_Verb);
48 GR_STATIC_ASSERT(1 == SkPath::kLine_Verb);
49 GR_STATIC_ASSERT(2 == SkPath::kQuad_Verb);
50 GR_STATIC_ASSERT(4 == SkPath::kCubic_Verb);
51 GR_STATIC_ASSERT(5 == SkPath::kClose_Verb)
    [all...]
GrGLVertexArray.h 37 GR_STATIC_ASSERT(0 == kFloat_GrVertexAttribType);
38 GR_STATIC_ASSERT(1 == kVec2f_GrVertexAttribType);
39 GR_STATIC_ASSERT(2 == kVec3f_GrVertexAttribType);
40 GR_STATIC_ASSERT(3 == kVec4f_GrVertexAttribType);
41 GR_STATIC_ASSERT(4 == kVec4ub_GrVertexAttribType);
42 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kLayouts) == kGrVertexAttribTypeCount);
GrGLCaps.cpp 608 GR_STATIC_ASSERT(0 == kNone_MSFBOType);
609 GR_STATIC_ASSERT(1 == kDesktop_ARB_MSFBOType);
610 GR_STATIC_ASSERT(2 == kDesktop_EXT_MSFBOType);
611 GR_STATIC_ASSERT(3 == kES_3_0_MSFBOType);
612 GR_STATIC_ASSERT(4 == kES_Apple_MSFBOType);
613 GR_STATIC_ASSERT(5 == kES_IMG_MsToTexture_MSFBOType);
614 GR_STATIC_ASSERT(6 == kES_EXT_MsToTexture_MSFBOType);
615 GR_STATIC_ASSERT(GR_ARRAY_COUNT(kMSFBOExtStr) == kLast_MSFBOType + 1);
622 GR_STATIC_ASSERT(0 == kNone_FBFetchType);
623 GR_STATIC_ASSERT(1 == kEXT_FBFetchType)
    [all...]
GrGpuGL.cpp 83 GR_STATIC_ASSERT(kTotalGrBlendCoeffCount ==
86 GR_STATIC_ASSERT(0 == kZero_GrBlendCoeff);
87 GR_STATIC_ASSERT(1 == kOne_GrBlendCoeff);
88 GR_STATIC_ASSERT(2 == kSC_GrBlendCoeff);
89 GR_STATIC_ASSERT(3 == kISC_GrBlendCoeff);
90 GR_STATIC_ASSERT(4 == kDC_GrBlendCoeff);
91 GR_STATIC_ASSERT(5 == kIDC_GrBlendCoeff);
92 GR_STATIC_ASSERT(6 == kSA_GrBlendCoeff);
93 GR_STATIC_ASSERT(7 == kISA_GrBlendCoeff);
94 GR_STATIC_ASSERT(8 == kDA_GrBlendCoeff)
    [all...]
GrGLIRect.h 35 GR_STATIC_ASSERT(sizeof(GrGLIRect) == 4*sizeof(GrGLint));
  /external/chromium_org/third_party/skia/src/gpu/gl/mesa/
SkMesaGLContext.cpp 35 GR_STATIC_ASSERT(sizeof(Context) == sizeof(OSMesaContext));

Completed in 75 milliseconds

1 2