Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/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.h27 GrColorSpaceXform* colorSpaceXformFromSRGB() const;
28 sk_sp<GrColorSpaceXform> refColorSpaceXformFromSRGB() const { in refColorSpaceXformFromSRGB()
41 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.h27 class GrColorSpaceXform; variable
197 sk_sp<GrColorSpaceXform> texXform) { in drawTexture()
215 sk_sp<GrColorSpaceXform> texXform) { in drawTextureQuad()
240 const SkMatrix& viewMatrix, sk_sp<GrColorSpaceXform> texXform);
421 sk_sp<GrColorSpaceXform>,
590 sk_sp<GrColorSpaceXform> textureXform,
/third_party/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.cpp16 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make()
20 : sk_make_sp<GrColorSpaceXform>(steps); in Make()
23 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(const GrColorInfo& srcInfo, in Make()
29 bool GrColorSpaceXform::Equals(const GrColorSpaceXform* a, const GrColorSpaceXform* b) { in Equals()
57 SkColor4f GrColorSpaceXform::apply(const SkColor4f& srcColor) { in apply()
66 sk_sp<GrColorSpaceXform> colorXform) in GrColorSpaceXformEffect()
82 return GrColorSpaceXform::Equals(fColorXform.get(), other.fColorXform.get()); in onIsEqual()
86 b->add32(GrColorSpaceXform::XformKey(fColorXform.get())); in onAddToKey()
138 return Make(std::move(child), GrColorSpaceXform::Make(src, srcAT, dst, dstAT)); in Make()
145 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;
DGrTestUtils.h27 class GrColorSpaceXform; variable
54 sk_sp<GrColorSpaceXform> TestColorXform(SkRandom*);
/third_party/flutter/skia/src/gpu/ops/
DGrTextureOp.h17 class GrColorSpaceXform; variable
38 sk_sp<GrColorSpaceXform> textureXform,
56 sk_sp<GrColorSpaceXform> textureXform);
DGrDrawVerticesOp.h15 class GrColorSpaceXform; variable
35 sk_sp<GrColorSpaceXform>,
DGrLatticeOp.h15 class GrColorSpaceXform; variable
29 sk_sp<GrColorSpaceXform>,
DGrLatticeOp.cpp33 sk_sp<GrColorSpaceXform> csxf, in Make()
43 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in getGLSLProcessorKey()
95 LatticeGP(GrGpu* gpu, const GrTextureProxy* proxy, sk_sp<GrColorSpaceXform> csxf, in LatticeGP()
121 sk_sp<GrColorSpaceXform> fColorSpaceXform;
141 sk_sp<GrColorSpaceXform> colorSpaceXForm, in Make()
154 sk_sp<GrColorSpaceXform> colorSpaceXform, GrSamplerState::Filter filter, in NonAALatticeOp()
309 if (GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get())) { in onCombineIfPossible()
331 sk_sp<GrColorSpaceXform> fColorSpaceXform;
345 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA()
DGrQuadPerEdgeAA.h21 class GrColorSpaceXform; variable
87 sk_sp<GrColorSpaceXform> textureColorSpaceXform);
/third_party/skia/src/gpu/ops/
DTextureOp.h19 class GrColorSpaceXform; variable
53 sk_sp<GrColorSpaceXform>,
80 sk_sp<GrColorSpaceXform> textureXform);
DDrawVerticesOp.h15 class GrColorSpaceXform; variable
35 sk_sp<GrColorSpaceXform>,
DLatticeOp.h16 class GrColorSpaceXform; variable
31 sk_sp<GrColorSpaceXform>,
DDrawVerticesOp.cpp48 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make()
67 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in addToKey()
161 sk_sp<GrColorSpaceXform> colorSpaceXform, in VerticesGP()
190 sk_sp<GrColorSpaceXform> fColorSpaceXform;
207 sk_sp<GrColorSpaceXform>,
293 sk_sp<GrColorSpaceXform> fColorSpaceXform;
306 sk_sp<GrColorSpaceXform> colorSpaceXform, in DrawVerticesOpImpl()
379 sk_sp<GrColorSpaceXform> csxform = in makeGP()
554 SkASSERT(GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get())); in onCombineIfPossible()
593 sk_sp<GrColorSpaceXform> colorSpaceXform, in Make()
[all …]
DLatticeOp.cpp36 sk_sp<GrColorSpaceXform> csxf, in Make()
47 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in addToKey()
102 LatticeGP(const GrSurfaceProxyView& view, sk_sp<GrColorSpaceXform> csxf, in LatticeGP()
124 sk_sp<GrColorSpaceXform> fColorSpaceXform;
142 sk_sp<GrColorSpaceXform> colorSpaceXForm, in Make()
155 SkAlphaType alphaType, sk_sp<GrColorSpaceXform> colorSpaceXform, in NonAALatticeOp()
348 if (GrColorSpaceXform::Equals(fColorSpaceXform.get(), that->fColorSpaceXform.get())) { in onCombineIfPossible()
386 sk_sp<GrColorSpaceXform> fColorSpaceXform;
403 sk_sp<GrColorSpaceXform> colorSpaceXform, in MakeNonAA()
/third_party/skia/bench/
DVertexColorSpaceBench.cpp39 sk_sp<GrColorSpaceXform> colorSpaceXform) { in Make()
99 b->add32(GrColorSpaceXform::XformKey(fColorSpaceXform.get())); in addToKey()
103 GP(Mode mode, sk_sp<GrColorSpaceXform> colorSpaceXform) in GP()
124 sk_sp<GrColorSpaceXform> fColorSpaceXform;
153 Op(GrColor color, sk_sp<GrColorSpaceXform> colorSpaceXform) in Op()
278 sk_sp<GrColorSpaceXform> fColorSpaceXform;
308 auto xform = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onDraw()
/third_party/flutter/skia/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()
237 sk_sp<GrColorSpaceXform> fColorSpaceXform;
266 auto xform = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onDraw()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h26 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
46 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData()
/third_party/skia/src/gpu/v1/
DSurfaceDrawContext_v1.h28 class GrColorSpaceXform; variable
254 sk_sp<GrColorSpaceXform>);
276 sk_sp<GrColorSpaceXform> texXform) { in drawTextureQuad()
304 sk_sp<GrColorSpaceXform> texXform);
465 sk_sp<GrColorSpaceXform>,
666 sk_sp<GrColorSpaceXform> textureXform,
/third_party/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h25 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform,
47 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData()
/third_party/flutter/skia/src/image/
DSkImage_GpuBase.h18 class GrColorSpaceXform; variable
93 sk_sp<GrColorSpaceXform> colorSpaceXform,

123