Home
last modified time | relevance | path

Searched refs:colorShader (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/src/core/
H A DSkDraw_atlas.cpp183 UpdatableColorShader* colorShader = nullptr; in drawAtlas() local
186 colorShader = alloc.make<UpdatableColorShader>(fDst.colorSpace()); in drawAtlas()
188 bmode, sk_ref_sp(colorShader), sk_ref_sp(updateShader)); in drawAtlas()
197 if (colorShader) { in drawAtlas()
198 colorShader->updateColor(colors[i]); in drawAtlas()
H A DSkDraw_vertices.cpp477 SkTriColorShader* colorShader = nullptr; in drawFixedVertices() local
480 colorShader = outerAlloc->make<SkTriColorShader>(compute_is_opaque(colors, vertexCount), in drawFixedVertices()
485 blendMode, sk_ref_sp(colorShader), sk_ref_sp(shader)); in drawFixedVertices()
487 shader = colorShader; in drawFixedVertices()
505 if (colorShader && !colorShader->update(ctmInverse, positions, dstColors,state.f0, in drawFixedVertices()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fFboRenderTest.cpp1129 FlatColorShader colorShader; in render() local
1131 deUint32 colorShaderID = ctx.createProgram(&colorShader); in render()
1159 colorShader.setColor(ctx, colorShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f)); in render()
1170 colorShader.setColor(ctx, colorShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in render()
1450 FlatColorShader colorShader; in render() local
1452 deUint32 colorShaderID = context.createProgram(&colorShader); in render()
1459 colorShader.setColor(context, colorShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in render()
1707 FlatColorShader colorShader; in render() local
1709 deUint32 colorShaderID = context.createProgram(&colorShader); in render()
1723 colorShader in render()
[all...]
/third_party/skia/src/pdf/
H A DSkPDFGradientShader.cpp853 SkPDFIndirectReference colorShader = find_pdf_shader(doc, std::move(opaqueState), false); in make_alpha_function_shader() local
854 if (!colorShader) { in make_alpha_function_shader()
861 std::unique_ptr<SkPDFDict> resourceDict = get_gradient_resource_dict(colorShader, alphaGsRef); in make_alpha_function_shader()
864 create_pattern_fill_content(alphaGsRef.fValue, colorShader.fValue, bbox); in make_alpha_function_shader()

Completed in 7 milliseconds