Home
last modified time | relevance | path

Searched refs:kColor (Results 1 – 25 of 61) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTexture3DTest.cpp773 const GLColor kColor(210, 200, 150, 235); in testFloatFormats() local
780 testCopy(testTarget, kColor, GL_R16F, floatType, false, false, false, in testFloatFormats()
782 testCopy(testTarget, kColor, GL_R16F, floatType, false, true, false, in testFloatFormats()
784 testCopy(testTarget, kColor, GL_R16F, floatType, false, false, true, in testFloatFormats()
787 testCopy(testTarget, kColor, GL_RG16F, floatType, false, false, false, in testFloatFormats()
789 testCopy(testTarget, kColor, GL_RG16F, floatType, false, true, false, in testFloatFormats()
791 testCopy(testTarget, kColor, GL_RG16F, floatType, false, false, true, in testFloatFormats()
794 testCopy(testTarget, kColor, GL_RGB16F, floatType, false, false, false, in testFloatFormats()
796 testCopy(testTarget, kColor, GL_RGB16F, floatType, false, true, false, in testFloatFormats()
798 testCopy(testTarget, kColor, GL_RGB16F, floatType, false, false, true, in testFloatFormats()
[all …]
DVulkanUniformUpdatesTest.cpp436 const GLColor kColor = kColors[kColorIndex]; in TEST_P() local
449 GL_UNSIGNED_BYTE, kColor.data()); in TEST_P()
467 const GLColor kColor = kColors[kColorIndex]; in TEST_P() local
468 EXPECT_PIXEL_RECT_EQ(xoffset, yoffset, kHalfX, kHalfY, kColor); in TEST_P()
DVulkanImageTest.cpp149 constexpr GLuint kColor = 0xafbfcfdf; in TEST_P() local
155 std::vector<GLuint> pixels(kWidth * kHeight, kColor); in TEST_P()
181 EXPECT_EQ(pixels, std::vector<GLuint>(kWidth * kHeight, kColor)); in TEST_P()
/third_party/skia/modules/svg/include/
DSkSVGTypes.h166 kColor, enumerator
170 SkSVGColor() : fType(Type::kColor), fColor(SK_ColorBLACK) {} in SkSVGColor()
172 explicit SkSVGColor(const SkSVGColorType& c) : fType(Type::kColor), fColor(c) {} in SkSVGColor()
179 const SkSVGColorType& color() const { SkASSERT(fType == Type::kColor); return fColor; } in color()
190 kColor, enumerator
196 explicit SkSVGPaint(const SkSVGColor& c) : fType(Type::kColor), fColor(c) {} in SkSVGPaint()
210 SkASSERT(fType == Type::kColor || fType == Type::kIRI); in color()
388 kColor, enumerator
394 SkSVGStopColor() : fType(Type::kColor), fColor(SK_ColorBLACK) {} in SkSVGStopColor()
396 explicit SkSVGStopColor(const SkSVGColorType& c) : fType(Type::kColor), fColor(c) {} in SkSVGStopColor()
[all …]
DSkSVGValue.h21 kColor, enumerator
71 using SkSVGColorValue = SkSVGWrapperValue<SkSVGColorType , SkSVGValue::Type::kColor >;
/third_party/skia/src/gpu/ops/
DClearOp.cpp30 return GrOp::Make<ClearOp>(context, Buffer::kColor, scissor, color, false); in MakeColor()
74 if (other->fBuffer & Buffer::kColor) { in onCombineIfPossible()
88 if (fBuffer & Buffer::kColor) { in onExecute()
DStrokeTessellateOp.cpp124 if (!(combinedAttribs & PatchAttribs::kColor) && this->headColor() != op->headColor()) { in onCombineIfPossible()
127 combinedAttribs |= PatchAttribs::kColor; in onCombineIfPossible()
132 PatchAttribs::kColor); in onCombineIfPossible()
DPathTessellateOp.cpp56 if (!(fPatchAttribs & PatchAttribs::kColor) && in onCombineIfPossible()
59 fPatchAttribs |= PatchAttribs::kColor; in onCombineIfPossible()
DClearOp.h41 kColor = 0b01, enumerator
/third_party/skia/modules/skottie/src/layers/shapelayer/
DFillStroke.cpp31 , fShaderType(gradient_adapter ? ShaderType::kGradient : ShaderType::kColor) { in FillStrokeAdapter()
64 if (fShaderType == ShaderType::kColor) { in FillStrokeAdapter()
74 if (fShaderType == ShaderType::kColor) { in onSync()
80 enum class ShaderType { kColor, kGradient }; enumerator
/third_party/skia/src/gpu/tessellate/shaders/
DGrPathTessellationShader.cpp70 !(attribs & (PatchAttribs::kColor | PatchAttribs::kExplicitCurveType))) { in Make()
136 if (!(shader.fAttribs & PatchAttribs::kColor)) { in onEmitCode()
155 if (!(shader.fAttribs & PatchAttribs::kColor)) { in setData()
DGrPathTessellationShader_MiddleOut.cpp46 if (fAttribs & PatchAttribs::kColor) { in MiddleOutShader()
198 if (middleOutShader.fAttribs & PatchAttribs::kColor) { in makeProgramImpl()
DGrStrokeTessellationShader.cpp80 if (fPatchAttribs & PatchAttribs::kColor) { in GrStrokeTessellationShader()
408 uint32_t key = (uint32_t)(fPatchAttribs & ~PatchAttribs::kColor); in addToKey()
/third_party/skia/src/gpu/tessellate/
DTessellation.h77 kColor = 1 << 2, // [ubyte4 or float4] Used when patches have different colors. enumerator
120 (attribs & PatchAttribs::kColor in PatchAttribsStride()
DPatchWriter.h51 SkASSERT(fPatchAttribs & PatchAttribs::kColor); in updateColorAttrib()
143 << If((fPatchAttribs & PatchAttribs::kColor), fColorAttrib) in outputPatchAttribs()
DStrokeFixedCountTessellator.cpp62 SkASSERT(fAttribs & PatchAttribs::kColor); in updateDynamicColor()
191 if (fAttribs & PatchAttribs::kColor) { in writeDynamicAttribs()
289 if (fAttribs & PatchAttribs::kColor) { in prepare()
/third_party/skia/src/gpu/effects/
DGrCustomXfermode.cpp44 static_assert(kHSLColor_GrBlendEquation == (int)SkBlendMode::kColor + kEqOffset); in hw_blend_equation()
371 static constexpr const CustomXPFactory gColor(SkBlendMode::kColor); in Get()
398 case SkBlendMode::kColor: in Get()
/third_party/skia/gm/
Druntimecolorfilter.cpp169 constexpr SkColor kColor = SK_ColorWHITE; in __anon05c912a30402() local
173 &kColor, in __anon05c912a30402()
Dhsl.cpp175 { SkBlendMode::kColor, color },
224 { SkBlendMode::kColor, "Color" },
/third_party/skia/docs/examples/
DColor.cpp8 canvas->drawColor(0xFF00FF00, SkBlendMode::kColor); in draw()
/third_party/skia/src/gpu/v1/
DPathRendererChain.h39 kColor, // draw to the color buffer, no AA enumerator
/third_party/skia/include/core/
DSkBlendMode.h68 kColor, //!< hue and saturation of source with luminosity of destination enumerator
/third_party/gn/src/gn/
Dswitches.h33 extern const char kColor[];
/third_party/skia/src/gpu/glsl/
DGrGLSLBlend.cpp43 case SkBlendMode::kColor: return "blend_color"; in BlendFuncName()
/third_party/skia/modules/androidkit/src/
DUtils.cpp67 static_assert(27 == static_cast<int>(SkBlendMode::kColor)); in BlendMode()

123