Home
last modified time | relevance | path

Searched refs:gTable (Results 1 – 14 of 14) sorted by relevance

/external/skia/include/core/
DSkUnPreMultiply.h24 return gTable; in GetScaleTable()
29 return gTable[alpha]; in GetScale()
53 static const uint32_t gTable[256];
/external/skqp/include/core/
DSkUnPreMultiply.h24 return gTable; in GetScaleTable()
29 return gTable[alpha]; in GetScale()
53 static const uint32_t gTable[256];
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp175 static const VkStencilOp gTable[] = { in stencil_op_to_vk_stencil_op() local
185 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrStencilOpCount); in stencil_op_to_vk_stencil_op()
195 return gTable[(int)op]; in stencil_op_to_vk_stencil_op()
199 static const VkCompareOp gTable[] = { in stencil_func_to_vk_compare_op() local
209 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrStencilTestCount); in stencil_func_to_vk_compare_op()
220 return gTable[(int)test]; in stencil_func_to_vk_compare_op()
298 static const VkBlendFactor gTable[] = { in blend_coeff_to_vk_blend() local
319 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrBlendCoeffCnt); in blend_coeff_to_vk_blend()
340 return gTable[coeff]; in blend_coeff_to_vk_blend()
345 static const VkBlendOp gTable[] = { in blend_equation_to_vk_blend_op() local
[all …]
/external/skqp/src/gpu/gl/
DGrGLPath.cpp15 static const GrGLubyte gTable[] = { in verb_to_gl_path_cmd() local
30 SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); in verb_to_gl_path_cmd()
31 return gTable[verb]; in verb_to_gl_path_cmd()
36 static const int gTable[] = { in num_coords() local
51 SkASSERT(verb >= 0 && (size_t)verb < SK_ARRAY_COUNT(gTable)); in num_coords()
52 return gTable[verb]; in num_coords()
DGrGLUtil.cpp527 static const GrGLenum gTable[kGrStencilTestCount] = { in GrToGLStencilFunc() local
547 return gTable[(int)test]; in GrToGLStencilFunc()
DGrGLGpu.cpp2732 static const GrGLenum gTable[kGrStencilOpCount] = { in gr_to_gl_stencil_op() local
2751 return gTable[(int)op]; in gr_to_gl_stencil_op()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp180 static const VkStencilOp gTable[] = { in stencil_op_to_vk_stencil_op() local
190 static_assert(SK_ARRAY_COUNT(gTable) == kGrStencilOpCount); in stencil_op_to_vk_stencil_op()
200 return gTable[(int)op]; in stencil_op_to_vk_stencil_op()
204 static const VkCompareOp gTable[] = { in stencil_func_to_vk_compare_op() local
214 static_assert(SK_ARRAY_COUNT(gTable) == kGrStencilTestCount); in stencil_func_to_vk_compare_op()
225 return gTable[(int)test]; in stencil_func_to_vk_compare_op()
362 static const VkBlendOp gTable[] = { in blend_equation_to_vk_blend_op() local
406 static_assert(SK_ARRAY_COUNT(gTable) == kGrBlendEquationCnt); in blend_equation_to_vk_blend_op()
409 return gTable[equation]; in blend_equation_to_vk_blend_op()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm210 static const MTLBlendFactor gTable[] = {
231 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrBlendCoeffCnt);
252 return gTable[coeff];
256 static const MTLBlendOperation gTable[] = {
261 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kFirstAdvancedGrBlendEquation);
267 return gTable[equation];
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp155 uint8_t rTable[256], gTable[256], bTable[256]; in MakeNColorGradient() local
182 gTable[j] = static_cast<uint8_t>(std::round(g)); in MakeNColorGradient()
201 return SkTableColorFilter::MakeARGB(nullptr, rTable, gTable, bTable) in MakeNColorGradient()
/external/skqp/src/core/
DSkUnPreMultiply.cpp19 const uint32_t SkUnPreMultiply::gTable[] = { member in SkUnPreMultiply
/external/skia/src/core/
DSkUnPreMultiply.cpp19 const uint32_t SkUnPreMultiply::gTable[] = { member in SkUnPreMultiply
/external/skia/src/gpu/gl/
DGrGLUtil.cpp661 static const GrGLenum gTable[kGrStencilTestCount] = { in GrToGLStencilFunc() local
681 return gTable[(int)test]; in GrToGLStencilFunc()
DGrGLGpu.cpp2387 static const GrGLenum gTable[kGrStencilOpCount] = { in gr_to_gl_stencil_op() local
2406 return gTable[(int)op]; in gr_to_gl_stencil_op()
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm326 static const MTLBlendOperation gTable[] = {
331 static_assert(SK_ARRAY_COUNT(gTable) == kFirstAdvancedGrBlendEquation);
337 return gTable[equation];