/external/skia/include/gpu/ |
D | GrInvariantOutput.h | 16 , fColor(0) in GrInitInvariantOutput() 21 fColor = color; in setKnownFourComponents() 32 fColor = 0xffU << GrColor_SHIFT_A; in setUnknownOpaqueFourComponents() 38 fColor = GrColorPackRGBA(alpha, alpha, alpha, alpha); in setKnownSingleComponent() 51 GrColor fColor; member 60 : fColor(color) in GrInvariantOutput() 68 : fColor(io.fColor) in GrInvariantOutput() 123 fColor = GrColorPackRGBA(SkMulDiv255Round(GrColorUnpackR(fColor), alpha), in mulByKnownSingleComponent() 124 SkMulDiv255Round(GrColorUnpackG(fColor), alpha), in mulByKnownSingleComponent() 125 SkMulDiv255Round(GrColorUnpackB(fColor), alpha), in mulByKnownSingleComponent() [all …]
|
D | GrPaint.h | 50 void setColor(GrColor color) { fColor = color; } in setColor() 51 GrColor getColor() const { return fColor; } in getColor() 116 fColor = paint.fColor; 158 GrColor fColor; variable
|
/external/skia/src/gpu/ |
D | GrBlend.cpp | 17 : 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 …]
|
D | GrOvalRenderer.cpp | 33 GrColor fColor; member 41 GrColor fColor; member 49 GrColor fColor; member 83 GrColor color() const { return fColor; } in color() 84 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 176 : fColor(color) in CircleEdgeEffect() 188 GrColor fColor; member in CircleEdgeEffect 235 GrColor color() const { return fColor; } in color() 236 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 345 : fColor(color) in EllipseEdgeEffect() [all …]
|
D | GrDefaultGeoProcFactory.h | 34 SkColor fColor; member 39 SkColor fColor; member 56 GrColor fColor; member 62 GrColor fColor; member 73 Color(GrColor color) : fType(kUniform_Type), fColor(color) {} in Color() 74 Color(Type type) : fType(type), fColor(GrColor_ILLEGAL) { in Color() 79 fColor = GrColor_WHITE; in Color() 84 GrColor fColor; member
|
D | GrInvariantOutput.cpp | 25 unsigned colorA = GrColorUnpackA(fColor); in colorComponentsAllEqual() 26 return(GrColorUnpackR(fColor) == colorA && in colorComponentsAllEqual() 27 GrColorUnpackG(fColor) == colorA && in colorComponentsAllEqual() 28 GrColorUnpackB(fColor) == colorA); in colorComponentsAllEqual()
|
D | GrDefaultGeoProcFactory.cpp | 50 GrColor color() const { return fColor; } in color() 51 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 63 : fViewMatrix(SkMatrix::InvalidMatrix()), fColor(GrColor_ILLEGAL), fCoverage(0xff) {} in GLSLProcessor() 169 if (dgp.color() != fColor && !dgp.hasVertexColor()) { in setData() 173 fColor = dgp.color(); in setData() 192 GrColor fColor; member in DefaultGeoProc::GLSLProcessor 221 , fColor(color) in DefaultGeoProc() 259 GrColor fColor; member in DefaultGeoProc 313 GrColor inColor = color.fColor; in Create()
|
D | GrPathProcessor.cpp | 19 GrGLPathProcessor() : fColor(GrColor_ILLEGAL) {} in GrGLPathProcessor() 87 if (pathProc.overrides().readsColor() && pathProc.color() != fColor) { in setData() 91 fColor = pathProc.color(); in setData() 120 GrColor fColor; member in GrGLPathProcessor 129 : fColor(color) in GrPathProcessor()
|
/external/skia/src/gpu/batches/ |
D | GrTestBatch.h | 24 GrColor fColor; member 33 color->setKnownFourComponents(this->geoData(0)->fColor); in computePipelineOptimizations() 40 this->geoData(0)->fColor = GrColor_ILLEGAL; in initBatchTracker() 42 overrides.getOverrideColorIfSet(&this->geoData(0)->fColor); in initBatchTracker() 46 fBatch.fColor = this->geoData(0)->fColor; in initBatchTracker() 77 GrColor fColor; member
|
D | GrClearBatch.h | 23 , fColor(color) in GrClearBatch() 36 fColor, fRect.fLeft, fRect.fTop, fRect.fRight, fRect.fBottom, in dumpInfo() 51 fColor = cb->fColor; in onCombineIfPossible() 53 } else if (cb->fColor == fColor && fRect.contains(cb->fRect)) { in onCombineIfPossible() 62 state->gpu()->clear(fRect, fColor, fRenderTarget.get()); in onDraw() 66 GrColor fColor; variable
|
D | GrAALinearizingConvexPathRenderer.cpp | 123 GrColor fColor; member 141 color->setKnownFourComponents(fGeoData[0].fColor); in computePipelineOptimizations() 149 fGeoData[0].fColor = GrColor_ILLEGAL; in initBatchTracker() 151 overrides.getOverrideColorIfSet(&fGeoData[0].fColor); in initBatchTracker() 155 fBatch.fColor = fGeoData[0].fColor; in initBatchTracker() 248 extract_verts(tess, vertices + vertexStride * vertexCount, vertexStride, args.fColor, in onPrepareDraws() 301 GrColor color() const { return fBatch.fColor; } in color() 309 GrColor fColor; member 330 geometry.fColor = args.fColor; in onDrawPath() 350 geometry.fColor = GrRandomColor(random); in DRAW_BATCH_TEST_DEFINE()
|
D | GrNonAAStrokeRectBatch.cpp | 48 GrColor fColor; member 61 color->setKnownFourComponents(fGeoData[0].fColor); in computePipelineOptimizations() 71 geometry.fColor = color; in append() 168 fGeoData[0].fColor = GrColor_ILLEGAL; in initBatchTracker() 170 overrides.getOverrideColorIfSet(&fGeoData[0].fColor); in initBatchTracker() 174 fBatch.fColor = fGeoData[0].fColor; in initBatchTracker() 181 GrColor color() const { return fBatch.fColor; } in color() 201 GrColor fColor; member
|
D | GrDrawAtlasBatch.h | 20 GrColor fColor; member 39 color->setKnownFourComponents(fGeoData[0].fColor); in computePipelineOptimizations() 54 GrColor color() const { return fColor; } in color() 65 GrColor fColor; variable
|
D | GrDrawAtlasBatch.cpp | 19 fGeoData[0].fColor = GrColor_ILLEGAL; in initBatchTracker() 21 if (overrides.getOverrideColorIfSet(&fGeoData[0].fColor) && fHasColors) { in initBatchTracker() 26 *(reinterpret_cast<GrColor*>(currVertex + sizeof(SkPoint))) = fGeoData[0].fColor; in initBatchTracker() 33 fColor = fGeoData[0].fColor; in initBatchTracker() 115 int paintAlpha = GrColorUnpackA(installedGeo.fColor); in GrDrawAtlasBatch() 191 fColor = GrColor_ILLEGAL; in onCombineIfPossible() 262 geometry.fColor = GrRandomColor(random); in DRAW_BATCH_TEST_DEFINE()
|
D | GrNonAAFillRectBatch.cpp | 122 GrColor fColor; member 131 geo.fColor, in DumpInfo() 153 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, &geo.fLocalQuad); in Tesselate() 165 GrColor fColor; member 176 geo.fColor, in DumpInfo() 206 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, &quad); in Tesselate() 208 tesselate(vertices, vertexStride, geo.fColor, geo.fViewMatrix, geo.fRect, nullptr); in Tesselate() 222 geo.fColor = color; in append_to_batch() 243 geo.fColor = color; in append_to_batch()
|
D | GrAtlasTextBatch.h | 31 GrColor fColor; member 82 fBatch.fColor = geo.fColor; in init() 144 GrColor color() const { return fBatch.fColor; } in color() 157 GrColor fColor; member
|
/external/skia/src/gpu/effects/ |
D | GrConstColorProcessor.cpp | 75 inout->setToOther(kRGBA_GrColorComponentFlags, fColor, in onComputeInvariantOutput() 78 GrColor r = GrColorUnpackR(fColor); in onComputeInvariantOutput() 79 bool colorIsSingleChannel = r == GrColorUnpackG(fColor) && r == GrColorUnpackB(fColor) && in onComputeInvariantOutput() 80 r == GrColorUnpackA(fColor); in onComputeInvariantOutput() 85 inout->mulByKnownFourComponents(fColor); in onComputeInvariantOutput() 91 inout->mulAlphaByKnownFourComponents(fColor); in onComputeInvariantOutput() 108 return fMode == that.fMode && fColor == that.fColor; in onIsEqual()
|
D | GrBezierEffect.h | 99 GrColor color() const { return fColor; } in color() 100 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 114 GrColor fColor; variable 179 GrColor color() const { return fColor; } in color() 180 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 194 GrColor fColor; variable 254 GrColor color() const { return fColor; } in color() 255 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 265 GrColor fColor; variable
|
D | GrDistanceFieldGeoProc.h | 70 GrColor color() const { return fColor; } in color() 71 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 91 GrColor fColor; variable 131 GrColor color() const { return fColor; } in color() 132 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 146 GrColor fColor; variable 199 GrColor color() const { return fColor; } in color() 200 bool colorIgnored() const { return GrColor_ILLEGAL == fColor; } in colorIgnored() 215 GrColor fColor; variable
|
/external/skia/src/core/ |
D | SkLight.h | 22 fColor.set(0.0f, 0.0f, 0.0f); in SkLight() 28 , fColor(color) { in SkLight() 34 , fColor(color) in SkLight() 42 const SkColor3f& color() const { return fColor; } in color() 50 SkColor3f fColor; // linear (unpremul) color. Range is 0..1 in each channel. variable
|
/external/skia/src/animator/ |
D | SkDrawBitmap.cpp | 60 rowBytes(0), width(-1), fColor(0), fColorSet(false) { in SkDrawBitmap() 71 SkDebugf("erase=\"argb(%d,%d,%d,%d)\" ", SkColorGetA(fColor)/255, SkColorGetR(fColor), in dump() 72 SkColorGetG(fColor), SkColorGetB(fColor)); in dump() 95 fBitmap.eraseColor(fColor); in onEndElement() 103 fColor = value.fOperand.fS32; in setProperty()
|
/external/skia/include/gpu/effects/ |
D | GrConstColorProcessor.h | 37 str.appendf("Color: 0x%08x", fColor); in dumpInfo() 41 GrColor color() const { return fColor; } in color() 46 GrConstColorProcessor(GrColor color, InputMode mode) : fColor(color), fMode(mode) { in GrConstColorProcessor() 60 GrColor fColor; variable
|
/external/skia/samplecode/ |
D | SampleHT.cpp | 48 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() 111 paint.setColor(fColor); in onDraw()
|
D | SampleXfer.cpp | 52 SkColor fColor; member in PushButtonWig 57 fColor = (gRand.nextU() & 0x7F7F7F7F) | SkColorSetARGB(0xFF, 0, 0, 0x80); in PushButtonWig() 74 paint.setColor(fColor); in onDraw() 93 fColor = SkColorSetA(fColor, 0x99); in onClick() 95 fColor = SkColorSetA(fColor, 0xFF); in onClick()
|
/external/skia/gm/ |
D | selftest.cpp | 20 fName(name), fColor(color) {} in SelfTestGM() 34 paint.setColor(fColor); in onDraw() 40 const SkColor fColor; member in SelfTestGM
|