Home
last modified time | relevance | path

Searched refs:GrColor (Results 1 – 25 of 117) sorted by relevance

12345

/external/skia/src/gpu/
DGrBlend.cpp44 static GrColor add_colors(GrColor src, GrColor dst) { in add_colors()
56 static GrColor simplify_blend_term(GrBlendCoeff* srcCoeff, in simplify_blend_term()
57 GrColor srcColor, uint32_t srcCompFlags, in simplify_blend_term()
58 GrColor dstColor, uint32_t dstCompFlags, in simplify_blend_term()
59 GrColor constantColor) { in simplify_blend_term()
130 GrColor GrSimplifyBlend(GrBlendCoeff* srcCoeff, in GrSimplifyBlend()
132 GrColor srcColor, uint32_t srcCompFlags, in GrSimplifyBlend()
133 GrColor dstColor, uint32_t dstCompFlags, in GrSimplifyBlend()
134 GrColor constantColor) { in GrSimplifyBlend()
135 GrColor srcTermColor = simplify_blend_term(srcCoeff, in GrSimplifyBlend()
[all …]
DGrDefaultGeoProcFactory.h30 GrColor fCoverage;
41 GrColor fCoverage;
52 GrColor fCoverage;
57 GrColor fColor;
63 GrColor fColor;
65 GrColor fCoverage;
85 GrColor,
DGrPathProcessor.h16 GrColor fColor;
26 static GrPathProcessor* Create(GrColor color,
40 GrColor color() const { return fColor; } in color()
58 GrPathProcessor(GrColor color, const SkMatrix& viewMatrix, const SkMatrix& localMatrix);
64 static bool CanCombineOutput(GrGPInput left, GrColor lColor, GrGPInput right, GrColor rColor) { in CanCombineOutput()
94 GrColor fColor;
DGrOvalRenderer.h29 GrColor,
36 GrColor,
43 GrColor,
52 GrColor,
59 GrColor,
66 GrColor,
DGrAARectRenderer.cpp51 GrColor fColor;
174 GrColor color() const { return fBatch.fColor; } in color()
209 GrColor color, in generateAAFillRectGeometry()
268 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = 0; in generateAAFillRectGeometry()
270 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; in generateAAFillRectGeometry()
271 *reinterpret_cast<float*>(verts + i * vertexStride + sizeof(GrColor)) = 0; in generateAAFillRectGeometry()
286 GrColor scaledColor = (0xff == scale) ? color : SkAlphaMulQ(color, scale); in generateAAFillRectGeometry()
290 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = scaledColor; in generateAAFillRectGeometry()
292 *reinterpret_cast<GrColor*>(verts + i * vertexStride) = color; in generateAAFillRectGeometry()
294 sizeof(GrColor)) = innerCoverage; in generateAAFillRectGeometry()
[all …]
DGrAARectRenderer.h34 GrColor color, in SK_DECLARE_INST_COUNT()
43 GrColor,
52 GrColor,
59 GrColor,
66 GrColor,
DGrBlend.h40 GrColor GrSimplifyBlend(GrBlendCoeff* srcCoeff,
42 GrColor srcColor, uint32_t srcCompFlags,
43 GrColor dstColor, uint32_t dstCompFlags,
44 GrColor constantColor);
DGrRectBatch.cpp28 GrColor color, in create_rect_gp()
47 GrColor fColor;
140 static const int kLocalOffset = sizeof(SkPoint) + sizeof(GrColor); in generateGeometry()
151 GrColor* vertColor = GrTCast<GrColor*>(offset + kColorOffset); in generateGeometry()
154 vertColor = (GrColor*) ((intptr_t) vertColor + vertexStride); in generateGeometry()
172 GrColor color() const { return fBatch.fColor; } in color()
211 GrColor fColor;
223 GrBatch* Create(GrColor color, in Create()
257 GrColor color = GrRandomColor(random); in BATCH_TEST_DEFINE()
DGrAtlasTextContext.h149 GrColor fColor;
263 GrColor color, GrFontScaler*, const SkIRect& clipRect);
265 GrColor color, GrFontScaler*, const SkIRect& clipRect, SkScalar textRatio,
270 const SkRect& positions, GrColor color,
279 GrColor, SkScalar transX, SkScalar transY,
281 inline void flushRun(GrDrawTarget*, GrPipelineBuilder*, BitmapTextBlob*, int run, GrColor,
306 GrColor color, const SkMatrix& viewMatrix,
310 GrColor color, const SkMatrix& viewMatrix,
316 GrColor color, const SkMatrix& viewMatrix,
324 GrColor color, const SkMatrix& viewMatrix,
[all …]
DGrProcOptInfo.h34 void calcWithInitialValues(const GrFragmentStage*, int stageCount, GrColor startColor,
56 GrColor color() const { return fInOut.color(); } in color()
80 GrColor inputColorToEffectiveStage() const { return fInputColor; } in inputColorToEffectiveStage()
93 GrColor fInputColor;
DGrOvalRenderer.cpp74 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix) { in Create()
80 GrColor color() const { return fColor; } in color()
161 GrColor fColor;
184 CircleEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix) in CircleEdgeEffect()
197 GrColor fColor;
201 GrColor fColor;
235 static GrGeometryProcessor* Create(GrColor color, bool stroke, const SkMatrix& localMatrix) { in Create()
246 GrColor color() const { return fColor; } in color()
346 GrColor fColor;
370 EllipseEdgeEffect(GrColor color, bool stroke, const SkMatrix& localMatrix) in EllipseEdgeEffect()
[all …]
DGrDefaultGeoProcFactory.cpp24 GrColor color, in Create()
41 GrColor color() const { return fColor; } in color()
157 GrColor fColor;
178 GrColor color, in DefaultGeoProc()
214 GrColor fColor;
215 GrColor fCoverage;
223 GrColor fColor;
259 GrColor color, in Create()
DGrContext.cpp277 const GrColor color, in clear()
361 GrColor color) { in apply_aa_to_rect()
401 GrColor fColor;
547 GrColor color() const { return fBatch.fColor; } in color()
562 GrColor fColor;
625 GrColor clearColor; in drawRect()
634 GrColor color = paint.getColor(); in drawRect()
714 GrColor color, in set_vertex_attributes()
721 *texOffset = sizeof(SkPoint) + sizeof(GrColor); in set_vertex_attributes()
737 GrColor fColor;
[all …]
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.h50 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, in Create()
57 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix,
71 GrColor color() const { return fColor; } in color()
88 GrDistanceFieldA8TextGeoProc(GrColor, const SkMatrix& viewMatrix,
95 GrColor fColor;
120 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, GrTexture* tex, in Create()
133 GrColor color() const { return fColor; } in color()
147 GrDistanceFieldPathGeoProc(GrColor, const SkMatrix& viewMatrix, GrTexture* texture,
150 GrColor fColor;
186 static GrGeometryProcessor* Create(GrColor color, const SkMatrix& viewMatrix, in Create()
[all …]
DGrBezierEffect.h61 static GrGeometryProcessor* Create(GrColor color,
100 GrColor color() const { return fColor; } in color()
114 GrConicEffect(GrColor, const SkMatrix& viewMatrix, uint8_t coverage, GrPrimitiveEdgeType,
117 GrColor fColor;
143 static GrGeometryProcessor* Create(GrColor color,
182 GrColor color() const { return fColor; } in color()
196 GrQuadEffect(GrColor, const SkMatrix& viewMatrix, uint8_t coverage, GrPrimitiveEdgeType,
199 GrColor fColor;
227 static GrGeometryProcessor* Create(GrColor color, in Create()
260 GrColor color() const { return fColor; } in color()
[all …]
DGrBitmapTextGeoProc.h24 static GrGeometryProcessor* Create(GrColor color, GrTexture* tex, const GrTextureParams& p, in Create()
38 GrColor color() const { return fColor; } in color()
51 GrBitmapTextGeoProc(GrColor, GrTexture* texture, const GrTextureParams& params,
54 GrColor fColor;
DGrPorterDuffXferProcessor.cpp38 GrColor constant, const GrDeviceCoordTexture* dstCopy, in Create()
91 PorterDuffXferProcessor(GrBlendCoeff srcBlend, GrBlendCoeff dstBlend, GrColor constant,
97 GrColor* overrideColor,
134 GrColor fBlendConstant;
279 GrColor constant, in PorterDuffXferProcessor()
307 GrColor* overrideColor, in onGetOptimizations()
481 PDLCDXferProcessor(GrColor blendConstant, uint8_t alpha);
486 GrColor* overrideColor,
506 GrColor fBlendConstant;
538 PDLCDXferProcessor::PDLCDXferProcessor(GrColor blendConstant, uint8_t alpha) in PDLCDXferProcessor()
[all …]
DGrConstColorProcessor.cpp42 GrColor color = processor.cast<GrConstColorProcessor>().color(); in setData()
61 GrColor fPrevColor;
72 GrColor r = GrColorUnpackR(fColor); in onComputeInvariantOutput()
112 GrColor color; in TestCreate()
DGrDashingEffect.cpp241 static GrGeometryProcessor* create_dash_gp(GrColor,
249 GrColor fColor;
658 GrColor color() const { return fBatch.fColor; } in color()
666 GrColor fColor;
682 static GrBatch* create_batch(GrColor color, const SkMatrix& viewMatrix, const SkPoint pts[2], in create_batch()
736 GrPipelineBuilder* pipelineBuilder, GrColor color, in DrawDashLine()
755 GrColor fColor;
772 static GrGeometryProcessor* Create(GrColor,
786 GrColor color() const { return fColor; } in color()
800 DashingCircleEffect(GrColor, DashAAMode aaMode, const SkMatrix& localMatrix);
[all …]
/external/skia/tests/
DGpuColorFilterTest.cpp19 static GrColor filterColor(const GrColor& color, uint32_t flags) { in filterColor()
40 GrColor inputColor; // "[color]" in test_getConstantColorComponents()
47 GrColor outputColor; // "[color]" in test_getConstantColorComponents()
64 const GrColor gr_c1 = SkColor2GrColor(c1); in test_getConstantColorComponents()
65 const GrColor gr_c2 = SkColor2GrColor(c2); in test_getConstantColorComponents()
67 const GrColor gr_black = GrColorPackA4(0); in test_getConstantColorComponents()
68 const GrColor gr_white = GrColorPackA4(255); in test_getConstantColorComponents()
69 const GrColor gr_whiteTrans = GrColorPackA4(128); in test_getConstantColorComponents()
/external/skia/include/gpu/
DGrInvariantOutput.h20 void setKnownFourComponents(GrColor color) { in setKnownFourComponents()
51 GrColor fColor;
58 GrInvariantOutput(GrColor color, GrColorComponentFlags flags, bool isSingleComponent) in GrInvariantOutput()
132 void mulByKnownFourComponents(GrColor color) { in mulByKnownFourComponents()
153 void mulAlphaByKnownFourComponents(GrColor color) { in mulAlphaByKnownFourComponents()
159 GrColor preAlpha = GrColorUnpackA(fColor); in mulAlphaByKnownFourComponents()
187 GrColor a = GrColorUnpackA(fColor); in mulAlphaByKnownSingleComponent()
210 void setToOther(uint8_t validFlags, GrColor color, ReadInput readsInput) { in setToOther()
249 GrColor color() const { return fColor; } in color()
262 static bool GetAlphaAndCheckSingleChannel(GrColor color, uint32_t* alpha) { in GetAlphaAndCheckSingleChannel()
[all …]
DGrColor.h23 typedef uint32_t GrColor; typedef
44 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA()
58 static inline GrColor GrColorPackA4(unsigned a) { in GrColorPackA4()
85 static inline void GrColorIsPMAssert(GrColor SkDEBUGCODE(c)) { in GrColorIsPMAssert()
99 static inline void GrColorToRGBAFloat(GrColor color, float rgba[4]) { in GrColorToRGBAFloat()
114 static inline bool GrColorIsOpaque(GrColor color) { in GrColorIsOpaque()
119 static inline GrColor GrUnPreMulColor(GrColor color) { in GrUnPreMulColor()
DGrPaint.h50 void setColor(GrColor color) { fColor = color; } in setColor()
51 GrColor getColor() const { return fColor; } in getColor()
135 bool isOpaqueAndConstantColor(GrColor* constantColor) const;
145 GrColor fColor;
DGrXferProcessor.h169 GrColor* overrideColor,
194 GrColor fBlendConstant;
266 GrColor* overrideColor,
330 virtual bool supportsRGBCoverage(GrColor knownColor, uint32_t knownColorFlags) const = 0;
334 GrColor fBlendedColor;
/external/skia/include/gpu/effects/
DGrConstColorProcessor.h31 static GrFragmentProcessor* Create(GrColor color, InputMode mode) { in Create()
43 GrColor color() const { return fColor; } in color()
48 GrConstColorProcessor(GrColor color, InputMode mode) : fColor(color), fMode(mode) { in GrConstColorProcessor()
58 GrColor fColor;

12345