Home
last modified time | relevance | path

Searched refs:fColor (Results 1 – 25 of 98) sorted by relevance

1234

/external/skia/src/gpu/
DGrBlend.cpp17 : fColor(color) in MaskedColor()
23 fColor = color; in set()
28 return MaskedColor(GrInvertColor(in.fColor), in.fFlags); in Invert()
34 return MaskedColor(GrColorPackA4(GrColorUnpackA(in.fColor)), flags); in ExtractAlpha()
40 return MaskedColor(GrColorPackA4(0xFF - GrColorUnpackA(in.fColor)), flags); in ExtractInverseAlpha()
46 return MaskedColor(GrColorMul(a.fColor, b.fColor), outFlags); in Mul()
52 return MaskedColor(GrColorSatAdd(a.fColor, b.fColor), outFlags); in SatAdd()
55 GrColor color() const { return fColor; } in color()
62 if ((kR_GrColorComponentFlag & fFlags) && value == GrColorUnpackR(fColor)) { in componentsWithValue()
65 if ((kG_GrColorComponentFlag & fFlags) && value == GrColorUnpackG(fColor)) { in componentsWithValue()
[all …]
DGrDefaultGeoProcFactory.h30 SkColor fColor; member
35 SkColor fColor; member
52 GrColor fColor; member
58 GrColor fColor; member
69 explicit Color(GrColor color) : fType(kPremulGrColorUniform_Type), fColor(color) {} in Color()
70 Color(Type type) : fType(type), fColor(GrColor_ILLEGAL) { in Color()
75 GrColor fColor; member
DGrPathProcessor.cpp18 GrGLPathProcessor() : fColor(GrColor_ILLEGAL) {} in GrGLPathProcessor()
76 if (pathProc.color() != fColor) { in setData()
80 fColor = pathProc.color(); in setData()
111 GrColor fColor; member in GrGLPathProcessor
119 : fColor(color) in GrPathProcessor()
DGrDefaultGeoProcFactory.cpp49 GrColor color() const { return fColor; } in color()
60 : fViewMatrix(SkMatrix::InvalidMatrix()), fColor(GrColor_ILLEGAL), fCoverage(0xff) {} in GLSLProcessor()
159 if (dgp.color() != fColor && !dgp.hasVertexColor()) { in setData()
163 fColor = dgp.color(); in setData()
175 GrColor fColor; member in DefaultGeoProc::GLSLProcessor
199 : fColor(color) in DefaultGeoProc()
225 GrColor fColor; member in DefaultGeoProc
281 GrColor inColor = color.fColor; in Make()
/external/skia/include/core/
DSkLights.h31 , fColor(other.fColor) in Light()
40 , fColor(other.fColor) in Light()
62 const SkColor3f& color() const { return fColor; } in color()
91 fColor = b.fColor;
105 return (fColor == b.fColor) &&
117 SkColor3f fColor; // linear (unpremul) color. Range is 0..1 in each channel. variable
133 fColor = color;
/external/skia/src/gpu/ops/
DGrClearOp.h44 string.appendf("], Color: 0x%08x, RT: %d", fColor, in dumpInfo()
50 void setColor(GrColor color) { fColor = color; } in setColor()
56 , fColor(color) { in GrClearOp()
75 , fColor(color) in GrClearOp()
95 fColor = cb->fColor; in onCombineIfPossible()
97 } else if (cb->fColor == fColor && this->contains(cb)) { in onCombineIfPossible()
113 state->commandBuffer()->clear(fRenderTarget.get(), fClip, fColor); in onExecute()
117 GrColor fColor; variable
DGrShadowRRectOp.cpp133 fCircles[i].fColor, fCircles[i].fDevBounds.fLeft, fCircles[i].fDevBounds.fTop, in dumpInfo()
147 color->setToConstant(fCircles[0].fColor); in getFragmentProcessorAnalysisInputs()
152 optimizations.getOverrideColorIfSet(&fCircles[0].fColor); in applyPipelineOptimizations()
169 GrColor fColor; in onPrepareDraws() member
200 GrColor color = circle.fColor; in onPrepareDraws()
223 ov0->fColor = color; in onPrepareDraws()
229 ov1->fColor = color; in onPrepareDraws()
235 ov2->fColor = color; in onPrepareDraws()
241 ov3->fColor = color; in onPrepareDraws()
247 ov4->fColor = color; in onPrepareDraws()
[all …]
DGrTestMeshDrawOp.h26 : INHERITED(classID), fColor(color) { in GrTestMeshDrawOp()
31 GrColor color() const { return fColor; } in color()
38 color->setToConstant(fColor); in getFragmentProcessorAnalysisInputs()
43 optimizations.getOverrideColorIfSet(&fColor); in applyPipelineOptimizations()
49 GrColor fColor; variable
DGrDrawAtlasOp.h31 string.appendf("Color: 0x%08x, Quads: %d\n", geo.fColor, geo.fVerts.count() / 4); in dumpInfo()
47 color->setToConstant(fGeoData[0].fColor); in getFragmentProcessorAnalysisInputs()
56 GrColor color() const { return fColor; } in color()
64 GrColor fColor; member
71 GrColor fColor; variable
DGrOvalOpFactory.cpp34 GrColor fColor; member
42 GrColor fColor; member
796 fGeoData[i].fColor, fGeoData[i].fDevBounds.fLeft, fGeoData[i].fDevBounds.fTop, in dumpInfo()
810 color->setToConstant(fGeoData[0].fColor); in getFragmentProcessorAnalysisInputs()
815 optimizations.getOverrideColorIfSet(&fGeoData[0].fColor); in applyPipelineOptimizations()
833 GrColor fColor; in onPrepareDraws() member
869 GrColor color = geom.fColor; in onPrepareDraws()
891 v0->fColor = color; in onPrepareDraws()
897 v1->fColor = color; in onPrepareDraws()
903 v2->fColor = color; in onPrepareDraws()
[all …]
DGrRegionOp.cpp57 info.fColor = color; in RegionOp()
71 str.appendf("%d: Color: 0x%08x, Region with %d rects\n", i, info.fColor, in dumpInfo()
82 color->setToConstant(fRegions[0].fColor); in getFragmentProcessorAnalysisInputs()
87 optimizations.getOverrideColorIfSet(&fRegions[0].fColor); in applyPipelineOptimizations()
117 tesselate_region(verts, vertexStride, fRegions[i].fColor, fRegions[i].fRegion); in onPrepareDraws()
141 GrColor fColor; member
DGrAnalyticRectOp.cpp30 GrColor fColor; member
262 fGeoData[i].fColor, fGeoData[i].fCenter.x(), fGeoData[i].fCenter.y(), in dumpInfo()
274 color->setToConstant(fGeoData[0].fColor); in getFragmentProcessorAnalysisInputs()
279 optimizations.getOverrideColorIfSet(&fGeoData[0].fColor); in applyPipelineOptimizations()
307 GrColor color = geom.fColor; in onPrepareDraws()
318 verts[0].fColor = color; in onPrepareDraws()
325 verts[1].fColor = color; in onPrepareDraws()
332 verts[2].fColor = color; in onPrepareDraws()
339 verts[3].fColor = color; in onPrepareDraws()
367 GrColor fColor; member
DGrNonAAFillRectPerspectiveOp.cpp101 info.fColor = color; in NonAAFillRectPerspectiveOp()
122 geo.fColor, geo.fRect.fLeft, geo.fRect.fTop, geo.fRect.fRight, in dumpInfo()
135 color->setToConstant(fRects[0].fColor); in getFragmentProcessorAnalysisInputs()
140 optimizations.getOverrideColorIfSet(&fRects[0].fColor); in applyPipelineOptimizations()
176 tesselate(verts, vertexStride, info.fColor, nullptr, info.fRect, &quad); in onPrepareDraws()
178 tesselate(verts, vertexStride, info.fColor, nullptr, info.fRect, nullptr); in onPrepareDraws()
209 GrColor fColor; member
DGrNonAAFillRectOp.cpp79 info.fColor = color; in NonAAFillRectOp()
102 info.fColor, info.fRect.fLeft, info.fRect.fTop, info.fRect.fRight, in dumpInfo()
115 color->setToConstant(fRects[0].fColor); in getFragmentProcessorAnalysisInputs()
120 optimizations.getOverrideColorIfSet(&fRects[0].fColor); in applyPipelineOptimizations()
148 tesselate(verts, vertexStride, fRects[i].fColor, &fRects[i].fViewMatrix, in onPrepareDraws()
167 GrColor fColor; member
DGrNonAAStrokeRectOp.cpp60 fColor, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, fStrokeWidth); in dumpInfo()
73 op->fColor = color; in Make()
107 color->setToConstant(fColor); in getFragmentProcessorAnalysisInputs()
115 Color color(fColor); in onPrepareDraws()
165 optimizations.getOverrideColorIfSet(&fColor); in applyPipelineOptimizations()
175 GrColor fColor; member in NonAAStrokeRectOp
/external/skia/src/core/
DSkModeColorFilter.cpp29 str->appendHex(fColor); in toString()
37 *color = fColor; in asColorMode()
68 auto pm4f = SkColor4f::FromColor(fColor).premul(); in filterSpan4f()
75 buffer.writeColor(fColor); in flatten()
80 fPMColor = SkPreMultiplyColor(fColor); in updateCache()
94 auto color = scratch->make<SkPM4f>(SkPM4f_from_SkColor(fColor, dst)); in onAppendStages()
120 GrConstColorProcessor::Make(SkColorToPremulGrColor4f(fColor, dstColorSpace), in asFragmentProcessor()
DSkColorShader.cpp16 SkColorShader::SkColorShader(SkColor c) : fColor(c) {} in SkColorShader()
19 return SkColorGetA(fColor) == 255; in isOpaque()
27 buffer.writeColor(fColor); in flatten()
42 SkColor color = shader.fColor; in ColorShaderContext()
56 SkColor4f c4 = SkColor4f::FromColor(shader.fColor); in ColorShaderContext()
83 info->fColors[0] = fColor; in asAGradient()
96 GrColor4f color = SkColorToPremulGrColor4f(fColor, args.fDstColorSpace); in asFragmentProcessor()
107 str->appendHex(fColor); in toString()
319 auto color = scratch->make<SkPM4f>(SkPM4f_from_SkColor(fColor, dst)); in onAppendStages()
/external/skia/experimental/svg/model/
DSkSVGTypes.h96 SkSVGPaint() : fType(Type::kInherit), fColor(SK_ColorBLACK) {} in SkSVGPaint()
97 explicit SkSVGPaint(Type t) : fType(t), fColor(SK_ColorBLACK) {} in SkSVGPaint()
98 explicit SkSVGPaint(const SkSVGColorType& c) : fType(Type::kColor), fColor(c) {} in SkSVGPaint()
100 : fType(Type::kIRI), fColor(SK_ColorBLACK), fIRI(iri) {} in SkSVGPaint()
106 return fType == other.fType && fColor == other.fColor && fIRI == other.fIRI;
111 const SkSVGColorType& color() const { SkASSERT(fType == Type::kColor); return fColor; } in color()
118 SkSVGColorType fColor; variable
/external/skia/include/gpu/effects/
DGrConstColorProcessor.h37 str.appendf("Color: 0x%08x", fColor.toGrColor()); in dumpInfo()
41 GrColor4f color() const { return fColor; } in color()
58 : INHERITED(OptFlags(color, mode)), fColor(color), fMode(mode) { in GrConstColorProcessor()
72 GrColor4f fColor; variable
/external/skia/src/gpu/effects/
DGrBezierEffect.h101 GrColor color() const { return fColor; } in color()
115 GrColor fColor; variable
183 GrColor color() const { return fColor; } in color()
197 GrColor fColor; variable
260 GrColor color() const { return fColor; } in color()
261 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored()
271 GrColor fColor; variable
DGrConstColorProcessor.cpp67 return fColor; in constantOutputForConstantInput()
69 return fColor.mulByScalar(input.fRGBA[3]); in constantOutputForConstantInput()
71 return fColor.modulate(input); in constantOutputForConstantInput()
88 return fMode == that.fMode && fColor == that.fColor; in onIsEqual()
/external/skia/include/codec/
DSkEncodedInfo.h121 switch (fColor) { in makeImageInfo()
157 Color color() const { return fColor; } in color()
162 switch (fColor) { in bitsPerPixel()
189 : fColor(color) in SkEncodedInfo()
194 Color fColor; member
/external/skia/samplecode/
DSampleHT.cpp48 SkColor fColor; member in HTDrawable
56 fColor = rand_opaque_color(rand.nextU()); in HTDrawable()
67 color_to_floats(fColor, values); values[4] = 0; in spawnAnimation()
71 color_to_floats(rand_opaque_color(fColor), values); values[4] = 360; in spawnAnimation()
95 fColor = floats_to_color(values); in onDraw()
109 paint.setColor(fColor); in onDraw()
DSampleXfer.cpp49 SkColor fColor; member in PushButtonWig
54 fColor = (gRand.nextU() & 0x7F7F7F7F) | SkColorSetARGB(0xFF, 0, 0, 0x80); in PushButtonWig()
71 paint.setColor(fColor); in onDraw()
90 fColor = SkColorSetA(fColor, 0x99); in onClick()
92 fColor = SkColorSetA(fColor, 0xFF); in onClick()
/external/skia/src/gpu/vk/
DGrVkRenderPass.cpp79 fAttachmentsDescriptor.fColor.fLoadStoreOps = colorOp; in init()
81 fAttachmentsDescriptor.fColor, in init()
200 if (!fAttachmentsDescriptor.fColor.isCompatible(desc.fColor)) { in isCompatible()
228 if (fAttachmentsDescriptor.fColor.fLoadStoreOps != colorOps) { in equalLoadStoreOps()
243 b->add32(fAttachmentsDescriptor.fColor.fFormat); in genKey()
244 b->add32(fAttachmentsDescriptor.fColor.fSamples); in genKey()

1234