Home
last modified time | relevance | path

Searched refs:color4f (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flutter/skia/docs/examples/
DRGBA4f_FromColor.cpp9 SkColor4f color4f = SkColor4f::FromColor(argb); in draw() local
10 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color4f.fR, color4f.fG, color4f.fB, color4f.fA); in draw()
11 SkColor fromColor4f = color4f.toSkColor(); in draw()
DRGBA4f_toSkColor.cpp8 SkColor4f color4f = { red, green, blue, alpha }; in draw() local
9 SkColor argb = color4f.toSkColor(); in draw()
/third_party/skia/docs/examples/
DRGBA4f_FromColor.cpp9 SkColor4f color4f = SkColor4f::FromColor(argb); in draw() local
10 SkDebugf("red=%g green=%g blue=%g alpha=%g\n", color4f.fR, color4f.fG, color4f.fB, color4f.fA); in draw()
11 SkColor fromColor4f = color4f.toSkColor(); in draw()
DRGBA4f_toSkColor.cpp8 SkColor4f color4f = { red, green, blue, alpha }; in draw() local
9 SkColor argb = color4f.toSkColor(); in draw()
/third_party/skia/modules/canvaskit/
Dmemory.js337 function copyColorToWasm(color4f, ptr) { argument
338 return copy1dArray(color4f, 'HEAPF32', ptr || _scratchColorPtr);
352 function copyColorToWasmNoScratch(color4f) { argument
354 return copy1dArray(color4f, 'HEAPF32');
Dinterface.js451 CanvasKit.Canvas.prototype.clear = function(color4f) { argument
453 var cPtr = copyColorToWasm(color4f);
548 CanvasKit.Canvas.prototype.drawColor = function(color4f, mode) { argument
550 var cPtr = copyColorToWasm(color4f);
842 CanvasKit.ColorFilter.MakeBlend = function(color4f, mode) { argument
843 var cPtr = copyColorToWasm(color4f);
893 CanvasKit.Paint.prototype.setColor = function(color4f, colorSpace) { argument
896 var cPtr = copyColorToWasm(color4f);
993 CanvasKit.Shader.MakeColor = function(color4f, colorSpace) { argument
995 var cPtr = copyColorToWasm(color4f);
/third_party/skia/experimental/skottiekit/
Dinterface.js11 SkottieKit.SkCanvas.prototype.clear = function (color4f) { argument
12 var cPtr = copy1dArray(color4f, SkottieKit.HEAPF32);
/third_party/flutter/skia/tests/
DProcessorTest.cpp232 SkColor4f color4f = SkColor4f::FromColor(color); in input_texel_color() local
234 if (color4f[i] > 0.5) { in input_texel_color()
235 color4f[i] -= delta; in input_texel_color()
237 color4f[i] += delta; in input_texel_color()
240 return color4f.premul().toBytes_RGBA(); in input_texel_color()
/third_party/flutter/skia/src/atlastext/
DSkAtlasTextTarget.cpp212 SkPMColor4f color4f = SkPMColor4f::FromBytes_RGBA(color); in finalizeForTextTarget() local
214 fGeoData[i].fColor = color4f; in finalizeForTextTarget()
/third_party/skia/tests/
DProcessorTest.cpp213 SkColor4f color4f = SkColor4f::FromColor(color); in input_texel_color() local
218 if (color4f[i] > 0.5) { in input_texel_color()
219 color4f[i] -= delta; in input_texel_color()
221 color4f[i] += delta; in input_texel_color()
224 return color4f.premul().toBytes_RGBA(); in input_texel_color()
/third_party/flutter/skia/bench/
DVertexColorSpaceBench.cpp134 Op(const SkColor4f& color4f, Mode mode) in Op() argument
137 , fColor4f(color4f) { in Op()
/third_party/flutter/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp666 CoverageMode mode, const V4f& coverage, SkPMColor4f color4f, in write_quad() argument
681 color4f * (mode == CoverageMode::kWithColor ? coverage[i] : 1.f), wide)); in write_quad()
743 const SkPMColor4f& color4f, const GrQuad& localQuad, const SkRect& domain, in Tessellate() argument
796 write_quad(&vb, spec, mode, maxCoverage, color4f, geomDomain, domain, inner); in Tessellate()
797 write_quad(&vb, spec, mode, 0.f, color4f, geomDomain, domain, outer); in Tessellate()
801 write_quad(&vb, spec, mode, 1.f, color4f, SkRect::MakeEmpty(), domain, outer); in Tessellate()
/third_party/skia/bench/
DVertexColorSpaceBench.cpp145 Op(const SkColor4f& color4f, Mode mode) in Op() argument
148 , fColor4f(color4f) { in Op()
/third_party/skia/gm/
Dcolor4f.cpp72 DEF_SIMPLE_GM(color4f, canvas, 1024, 260) {
/third_party/flutter/skia/gm/
Dcolor4f.cpp72 DEF_SIMPLE_GM(color4f, canvas, 1024, 260) {
/third_party/mesa3d/src/freedreno/ci/
Dfreedreno-a630-skqp-gl_rendertests.txt50 color4f,0
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DContext_gles_1_0_autogen.h21 void color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); \
DContext_gles_1_0.cpp83 void Context::color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in color4f() function in gl::Context
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DContext_gles_1_0_autogen.h21 void color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); \
DContext_gles_1_0.cpp82 void Context::color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) in color4f() function in gl::Context
/third_party/mesa3d/src/intel/ci/
Dintel-tgl-skqp-gles_rendertests.txt133 color4f,0
Dintel-tgl-skqp-gl_rendertests.txt133 color4f,0
/third_party/flutter/skia/gn/
Dgm.gni81 "$_gm/color4f.cpp",
/third_party/skia/gn/
Dgm.gni83 "$_gm/color4f.cpp",
/third_party/flutter/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_gles_1_0_autogen.cpp167 context->color4f(red, green, blue, alpha); in Color4f()

12