Home
last modified time | relevance | path

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

/third_party/skia/include/core/
DSkUnPreMultiply.h24 return gTable; in GetScaleTable()
29 return gTable[alpha]; in GetScale()
53 static const uint32_t gTable[256];
/third_party/flutter/skia/include/core/
DSkUnPreMultiply.h24 return gTable; in GetScaleTable()
29 return gTable[alpha]; in GetScale()
53 static const uint32_t gTable[256];
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipeline.cpp182 static const VkStencilOp gTable[] = { in stencil_op_to_vk_stencil_op() local
192 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrStencilOpCount); in stencil_op_to_vk_stencil_op()
202 return gTable[(int)op]; in stencil_op_to_vk_stencil_op()
206 static const VkCompareOp gTable[] = { in stencil_func_to_vk_compare_op() local
216 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrStencilTestCount); in stencil_func_to_vk_compare_op()
227 return gTable[(int)test]; in stencil_func_to_vk_compare_op()
301 static const VkBlendFactor gTable[] = { in blend_coeff_to_vk_blend() local
322 GR_STATIC_ASSERT(SK_ARRAY_COUNT(gTable) == kGrBlendCoeffCnt); in blend_coeff_to_vk_blend()
343 return gTable[coeff]; in blend_coeff_to_vk_blend()
348 static const VkBlendOp gTable[] = { in blend_equation_to_vk_blend_op() local
[all …]
/third_party/flutter/skia/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.cpp578 static const GrGLenum gTable[kGrStencilTestCount] = { in GrToGLStencilFunc() local
598 return gTable[(int)test]; in GrToGLStencilFunc()
DGrGLGpu.cpp2610 static const GrGLenum gTable[kGrStencilOpCount] = { in gr_to_gl_stencil_op() local
2629 return gTable[(int)op]; in gr_to_gl_stencil_op()
/third_party/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()
339 static const VkBlendOp gTable[] = { in blend_equation_to_vk_blend_op() local
383 static_assert(SK_ARRAY_COUNT(gTable) == kGrBlendEquationCnt); in blend_equation_to_vk_blend_op()
386 return gTable[equation]; in blend_equation_to_vk_blend_op()
/third_party/flutter/skia/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];
/third_party/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()
/third_party/flutter/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()
/third_party/skia/src/core/
DSkUnPreMultiply.cpp19 const uint32_t SkUnPreMultiply::gTable[] = { member in SkUnPreMultiply
/third_party/flutter/skia/src/core/
DSkUnPreMultiply.cpp19 const uint32_t SkUnPreMultiply::gTable[] = { member in SkUnPreMultiply
/third_party/skia/src/gpu/
DSkGr.cpp344 } gTable; in make_dither_lut() local
347 bmp.setPixels(const_cast<uint8_t*>(gTable.data)); in make_dither_lut()
/third_party/skia/src/gpu/gl/
DGrGLUtil.cpp713 static const GrGLenum gTable[kGrStencilTestCount] = { in GrToGLStencilFunc() local
733 return gTable[(int)test]; in GrToGLStencilFunc()
DGrGLGpu.cpp2423 static const GrGLenum gTable[kGrStencilOpCount] = { in gr_to_gl_stencil_op() local
2442 return gTable[(int)op]; in gr_to_gl_stencil_op()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm326 static const MTLBlendOperation gTable[] = {
331 static_assert(SK_ARRAY_COUNT(gTable) == kFirstAdvancedGrBlendEquation);
337 return gTable[equation];