Home
last modified time | relevance | path

Searched refs:GrColorSpaceXform (Results 1 – 25 of 52) sorted by relevance

123

/external/skqp/src/gpu/
DGrColorSpaceXform.h20 class GrColorSpaceXform : public SkRefCnt {
22 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform() function
24 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT,
33 static uint32_t XformKey(const GrColorSpaceXform* xform) { in XformKey()
38 static bool Equals(const GrColorSpaceXform* a, const GrColorSpaceXform* b);
69 sk_sp<GrColorSpaceXform> colorXform);
74 const GrColorSpaceXform* colorXform() const { return fColorXform.get(); } in colorXform()
78 sk_sp<GrColorSpaceXform> colorXform);
86 sk_sp<GrColorSpaceXform> fColorXform;
DGrColorSpaceXform.cpp15 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make()
19 : sk_make_sp<GrColorSpaceXform>(steps); in Make()
22 bool GrColorSpaceXform::Equals(const GrColorSpaceXform* a, const GrColorSpaceXform* b) { in Equals()
50 SkColor4f GrColorSpaceXform::apply(const SkColor4f& srcColor) { in apply()
97 sk_sp<GrColorSpaceXform> colorXform) in GrColorSpaceXformEffect()
114 return GrColorSpaceXform::Equals(fColorXform.get(), other.fColorXform.get()); in onIsEqual()
119 b->add32(GrColorSpaceXform::XformKey(fColorXform.get())); in onGetGLSLProcessorKey()
148 auto xform = GrColorSpaceXform::Make(src, srcAT, in Make()
165 auto xform = GrColorSpaceXform::Make(src, srcAT, in Make()
176 std::unique_ptr<GrFragmentProcessor> child, sk_sp<GrColorSpaceXform> colorXform) { in Make()
DGrColorSpaceInfo.h26 GrColorSpaceXform* colorSpaceXformFromSRGB() const;
27 sk_sp<GrColorSpaceXform> refColorSpaceXformFromSRGB() const { in refColorSpaceXformFromSRGB()
36 mutable sk_sp<GrColorSpaceXform> fColorXformFromSRGB;
DGrColorSpaceInfo.cpp16 GrColorSpaceXform* GrColorSpaceInfo::colorSpaceXformFromSRGB() const { in colorSpaceXformFromSRGB()
20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in colorSpaceXformFromSRGB()
DGrRenderTargetContext.h26 class GrColorSpaceXform; variable
157 sk_sp<GrColorSpaceXform> texXform);
173 sk_sp<GrColorSpaceXform> texXform);
354 sk_sp<GrColorSpaceXform>,
DGrTestUtils.h26 class GrColorSpaceXform; variable
53 sk_sp<GrColorSpaceXform> TestColorXform(SkRandom*);
/external/skia/src/gpu/
DGrColorSpaceXform.h22 class GrColorSpaceXform : public SkRefCnt {
24 GrColorSpaceXform(const SkColorSpaceXformSteps& steps) : fSteps(steps) {} in GrColorSpaceXform() function
26 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT,
29 static sk_sp<GrColorSpaceXform> Make(const GrColorInfo& srcInfo, const GrColorInfo& dstInfo);
37 static uint32_t XformKey(const GrColorSpaceXform* xform) { in XformKey()
53 static bool Equals(const GrColorSpaceXform* a, const GrColorSpaceXform* b);
82 sk_sp<GrColorSpaceXform> colorXform);
87 const GrColorSpaceXform* colorXform() const { return fColorXform.get(); } in colorXform()
91 sk_sp<GrColorSpaceXform> colorXform);
102 sk_sp<GrColorSpaceXform> fColorXform;
DGrColorSpaceXform.cpp17 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make()
21 : sk_make_sp<GrColorSpaceXform>(steps); in Make()
24 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(const GrColorInfo& srcInfo, in Make()
30 bool GrColorSpaceXform::Equals(const GrColorSpaceXform* a, const GrColorSpaceXform* b) { in Equals()
58 SkColor4f GrColorSpaceXform::apply(const SkColor4f& srcColor) { in apply()
97 sk_sp<GrColorSpaceXform> colorXform) in GrColorSpaceXformEffect()
115 return GrColorSpaceXform::Equals(fColorXform.get(), other.fColorXform.get()); in onIsEqual()
120 b->add32(GrColorSpaceXform::XformKey(fColorXform.get())); in onGetGLSLProcessorKey()
144 return Make(std::move(child), GrColorSpaceXform::Make(src, srcAT, dst, dstAT)); in Make()
151 return Make(std::move(child), GrColorSpaceXform::Make(srcInfo, dstInfo)); in Make()
[all …]
DGrColorInfo.h43 GrColorSpaceXform* colorSpaceXformFromSRGB() const { return fColorXformFromSRGB.get(); } in colorSpaceXformFromSRGB()
44 sk_sp<GrColorSpaceXform> refColorSpaceXformFromSRGB() const { return fColorXformFromSRGB; } in refColorSpaceXformFromSRGB()
57 sk_sp<GrColorSpaceXform> fColorXformFromSRGB;
DGrSurfaceDrawContext.h28 class GrColorSpaceXform; variable
270 sk_sp<GrColorSpaceXform>);
292 sk_sp<GrColorSpaceXform> texXform) { in drawTextureQuad()
331 sk_sp<GrColorSpaceXform> texXform);
495 sk_sp<GrColorSpaceXform>,
701 sk_sp<GrColorSpaceXform> textureXform,
DGrTestUtils.h27 class GrColorSpaceXform; variable
54 sk_sp<GrColorSpaceXform> TestColorXform(SkRandom*);
/external/skqp/src/gpu/ops/
DGrTextureOp.h15 class GrColorSpaceXform; variable
40 sk_sp<GrColorSpaceXform> textureXform);
48 sk_sp<GrColorSpaceXform> textureXform);
DGrLatticeOp.h20 class GrColorSpaceXform; variable
29 sk_sp<GrColorSpaceXform>,
DGrLatticeOp.cpp32 sk_sp<GrColorSpaceXform> csxf, in Make()
42 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in getGLSLProcessorKey()
94 LatticeGP(GrGpu* gpu, const GrTextureProxy* proxy, sk_sp<GrColorSpaceXform> csxf, in LatticeGP()
120 sk_sp<GrColorSpaceXform> fColorSpaceXform;
140 sk_sp<GrColorSpaceXform> colorSpaceXForm, in Make()
153 sk_sp<GrColorSpaceXform> colorSpaceXform, GrSamplerState::Filter filter, in NonAALatticeOp()
300 if (GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get())) { in onCombineIfPossible()
322 sk_sp<GrColorSpaceXform> fColorSpaceXform;
336 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA()
DGrDrawVerticesOp.h45 sk_sp<GrColorSpaceXform>,
50 sk_sp<GrColorSpaceXform>, const SkMatrix& viewMatrix);
164 sk_sp<GrColorSpaceXform> fColorSpaceXform;
DGrQuadPerEdgeAA.h20 class GrColorSpaceXform; variable
78 sk_sp<GrColorSpaceXform> textureColorSpaceXform);
/external/skia/src/gpu/ops/
DGrTextureOp.h17 class GrColorSpaceXform; variable
46 sk_sp<GrColorSpaceXform>,
72 sk_sp<GrColorSpaceXform> textureXform);
DGrDrawVerticesOp.h14 class GrColorSpaceXform; variable
35 sk_sp<GrColorSpaceXform>,
DGrLatticeOp.h15 class GrColorSpaceXform; variable
30 sk_sp<GrColorSpaceXform>,
DGrDrawVerticesOp.cpp46 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make()
132 b->add32(GrColorSpaceXform::XformKey(vgp.fColorSpaceXform.get())); in GenKey()
172 sk_sp<GrColorSpaceXform> colorSpaceXform, in VerticesGP()
201 sk_sp<GrColorSpaceXform> fColorSpaceXform;
214 GrPrimitiveType, GrAAType, sk_sp<GrColorSpaceXform>, const SkMatrixProvider&,
299 sk_sp<GrColorSpaceXform> fColorSpaceXform;
312 sk_sp<GrColorSpaceXform> colorSpaceXform, in DrawVerticesOp()
385 sk_sp<GrColorSpaceXform> csxform = in makeGP()
557 SkASSERT(GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get())); in onCombineIfPossible()
596 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make()
[all …]
DGrLatticeOp.cpp34 sk_sp<GrColorSpaceXform> csxf, in Make()
45 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in getGLSLProcessorKey()
95 LatticeGP(const GrSurfaceProxyView& view, sk_sp<GrColorSpaceXform> csxf, in LatticeGP()
117 sk_sp<GrColorSpaceXform> fColorSpaceXform;
135 sk_sp<GrColorSpaceXform> colorSpaceXForm, in Make()
148 SkAlphaType alphaType, sk_sp<GrColorSpaceXform> colorSpaceXform, in NonAALatticeOp()
339 if (GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get())) { in onCombineIfPossible()
377 sk_sp<GrColorSpaceXform> fColorSpaceXform;
395 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA()
/external/skia/bench/
DVertexColorSpaceBench.cpp40 sk_sp<GrColorSpaceXform> colorSpaceXform) { in Make()
97 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in getGLSLProcessorKey()
101 GP(Mode mode, sk_sp<GrColorSpaceXform> colorSpaceXform) in GP()
122 sk_sp<GrColorSpaceXform> fColorSpaceXform;
151 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op()
274 sk_sp<GrColorSpaceXform> fColorSpaceXform;
304 auto xform = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onDraw()
/external/skqp/bench/
DVertexColorSpaceBench.cpp38 GP(Mode mode, sk_sp<GrColorSpaceXform> colorSpaceXform) in GP()
108 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in getGLSLProcessorKey()
113 sk_sp<GrColorSpaceXform> fColorSpaceXform;
142 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op()
233 sk_sp<GrColorSpaceXform> fColorSpaceXform;
262 auto xform = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onDraw()
/external/skqp/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h26 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
46 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData()
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h25 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
47 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData()

123