Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrDrawState.h358 static GrColor* GetVertexColor(void* vertices, in GetVertexColor()
363 return GrTCast<GrColor*>(start + offset + in GetVertexColor()
366 static const GrColor* GetVertexColor(const void* vertices, in GetVertexColor()
371 return GrTCast<const GrColor*>(start + offset + in GetVertexColor()
388 void setColor(GrColor color) { fCommon.fColor = color; } in setColor()
390 GrColor getColor() const { return fCommon.fColor; } in getColor()
406 void setColorFilter(GrColor c, SkXfermode::Mode mode) { in setColorFilter()
411 GrColor getColorFilterColor() const { return fCommon.fColorFilterColor; } in getColorFilterColor()
421 AutoColorRestore(GrDrawState* drawState, GrColor color) { in AutoColorRestore()
433 void set(GrDrawState* drawState, GrColor color) { in set()
[all …]
DGrDrawState.cpp162 size += sizeof(GrColor); in VertexSize()
165 size += sizeof(GrColor); in VertexSize()
235 offset += sizeof(GrColor); in VertexCoverageOffset()
252 offset += sizeof(GrColor); in VertexEdgeOffset()
255 offset += sizeof(GrColor); in VertexEdgeOffset()
291 size += sizeof(GrColor); in VertexSizeAndOffsetsByIdx()
301 size += sizeof(GrColor); in VertexSizeAndOffsetsByIdx()
427 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColor)); in VertexLayoutUnitTest()
438 GrAssert(2*sizeof(GrPoint) + sizeof(GrColor) == VertexEdgeOffset(withColorAndEdge)); in VertexLayoutUnitTest()
439 GrAssert(4*sizeof(GrPoint) + sizeof(GrColor) == VertexSize(withColorAndEdge)); in VertexLayoutUnitTest()
[all …]
DGrAARectRenderer.cpp154 *reinterpret_cast<GrColor*>(verts + i * vsize) = 0; in fillAARect()
157 GrColor innerColor; in fillAARect()
166 *reinterpret_cast<GrColor*>(verts + i * vsize) = innerColor; in fillAARect()
234 *reinterpret_cast<GrColor*>(verts + i * vsize) = 0; in strokeAARect()
238 GrColor innerColor; in strokeAARect()
246 *reinterpret_cast<GrColor*>(verts + i * vsize) = innerColor; in strokeAARect()
252 *reinterpret_cast<GrColor*>(verts + i * vsize) = 0; in strokeAARect()
DGrInOrderDrawBuffer.h89 GrColor color,
129 GrColor fColor;
DGrInOrderDrawBuffer.cpp80 GrColor color = this->drawState()->getColor(); in drawRect()
161 GrColor* vertColor = GrTCast<GrColor*>(GrTCast<intptr_t>(geo.vertices()) + colorOffset); in drawRect()
164 vertColor = (GrColor*) ((intptr_t) vertColor + vsize); in drawRect()
375 void GrInOrderDrawBuffer::clear(const GrIRect* rect, GrColor color, GrRenderTarget* renderTarget) { in clear()
DGrGpu.h284 GrColor color,
454 virtual void onClear(const GrIRect* rect, GrColor color) = 0;
/external/skia/include/gpu/
DGrPaint.h71 void setColor(GrColor color) { fColor = color; } in setColor()
72 GrColor getColor() const { return fColor; } in getColor()
98 void setXfermodeColorFilter(SkXfermode::Mode mode, GrColor color) { in setXfermodeColorFilter()
103 GrColor getColorFilterColor() const { return fColorFilterColor; } in getColorFilterColor()
276 GrColor fColor;
279 GrColor fColorFilterColor;
DGrColor.h20 typedef uint32_t GrColor; typedef
36 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, in GrColorPackRGBA()
62 static inline void GrColorToRGBAFloat(GrColor color, float rgba[4]) { in GrColorToRGBAFloat()
DSkGr.h67 static inline GrColor SkColor2GrColor(SkColor c) { in SkColor2GrColor()
DGrEffect.h94 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const = 0;
DGrContext.h364 void clear(const GrIRect* rect, GrColor color,
439 const GrColor colors[],
/external/skia/src/gpu/gl/
DGrGpuGL.h80 virtual void onClear(const GrIRect* rect, GrColor color) SK_OVERRIDE;
190 void flushColor(GrColor color);
193 void flushCoverage(GrColor color);
271 GrColor fHWConstAttribColor;
272 GrColor fHWConstAttribCoverage;
303 GrColor fConstColor;
DGrGLProgram.h208 GrColor fColor;
209 GrColor fCoverage;
210 GrColor fColorFilterColor;
DGrGpuGL_program.cpp164 void GrGpuGL::flushColor(GrColor color) { in flushColor()
212 void GrGpuGL::flushCoverage(GrColor coverage) { in flushCoverage()
295 GrColor color; in flushGraphicsState()
296 GrColor coverage; in flushGraphicsState()
/external/skia/src/gpu/effects/
DGrConfigConversionEffect.h48 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
DGrSingleTextureEffect.h46 void updateConstantColorComponentsForModulation(GrColor* color, uint32_t* validFlags) const { in updateConstantColorComponentsForModulation()
DGrConvolutionEffect.h55 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
DGrTextureDomainEffect.h50 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
DGrSimpleTextureEffect.h43 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
DGrSimpleTextureEffect.cpp58 void GrSimpleTextureEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
/external/skia/src/effects/
DSkTableColorFilter.cpp239 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
350 void ColorTableEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
DSkMagnifierImageFilter.cpp49 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
241 void GrMagnifierEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
DSkBlendImageFilter.cpp160 void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
232 void GrBlendEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
DSkBicubicImageFilter.cpp165 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
315 void GrBicubicEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
/external/skia/src/effects/gradients/
DSkGradientShaderPriv.h244 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;

12