/external/skqp/src/gpu/ |
D | GrColorSpaceXform.h | 20 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;
|
D | GrColorSpaceXform.cpp | 15 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()
|
D | GrColorSpaceInfo.h | 26 GrColorSpaceXform* colorSpaceXformFromSRGB() const; 27 sk_sp<GrColorSpaceXform> refColorSpaceXformFromSRGB() const { in refColorSpaceXformFromSRGB() 36 mutable sk_sp<GrColorSpaceXform> fColorXformFromSRGB;
|
D | GrColorSpaceInfo.cpp | 16 GrColorSpaceXform* GrColorSpaceInfo::colorSpaceXformFromSRGB() const { in colorSpaceXformFromSRGB() 20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in colorSpaceXformFromSRGB()
|
D | GrRenderTargetContext.h | 26 class GrColorSpaceXform; variable 157 sk_sp<GrColorSpaceXform> texXform); 173 sk_sp<GrColorSpaceXform> texXform); 354 sk_sp<GrColorSpaceXform>,
|
D | GrTestUtils.h | 26 class GrColorSpaceXform; variable 53 sk_sp<GrColorSpaceXform> TestColorXform(SkRandom*);
|
/external/skia/src/gpu/ |
D | GrColorSpaceXform.h | 22 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;
|
D | GrColorSpaceXform.cpp | 17 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 …]
|
D | GrColorInfo.h | 43 GrColorSpaceXform* colorSpaceXformFromSRGB() const { return fColorXformFromSRGB.get(); } in colorSpaceXformFromSRGB() 44 sk_sp<GrColorSpaceXform> refColorSpaceXformFromSRGB() const { return fColorXformFromSRGB; } in refColorSpaceXformFromSRGB() 57 sk_sp<GrColorSpaceXform> fColorXformFromSRGB;
|
D | GrSurfaceDrawContext.h | 28 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,
|
D | GrTestUtils.h | 27 class GrColorSpaceXform; variable 54 sk_sp<GrColorSpaceXform> TestColorXform(SkRandom*);
|
/external/skqp/src/gpu/ops/ |
D | GrTextureOp.h | 15 class GrColorSpaceXform; variable 40 sk_sp<GrColorSpaceXform> textureXform); 48 sk_sp<GrColorSpaceXform> textureXform);
|
D | GrLatticeOp.h | 20 class GrColorSpaceXform; variable 29 sk_sp<GrColorSpaceXform>,
|
D | GrLatticeOp.cpp | 32 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()
|
D | GrDrawVerticesOp.h | 45 sk_sp<GrColorSpaceXform>, 50 sk_sp<GrColorSpaceXform>, const SkMatrix& viewMatrix); 164 sk_sp<GrColorSpaceXform> fColorSpaceXform;
|
D | GrQuadPerEdgeAA.h | 20 class GrColorSpaceXform; variable 78 sk_sp<GrColorSpaceXform> textureColorSpaceXform);
|
/external/skia/src/gpu/ops/ |
D | GrTextureOp.h | 17 class GrColorSpaceXform; variable 46 sk_sp<GrColorSpaceXform>, 72 sk_sp<GrColorSpaceXform> textureXform);
|
D | GrDrawVerticesOp.h | 14 class GrColorSpaceXform; variable 35 sk_sp<GrColorSpaceXform>,
|
D | GrLatticeOp.h | 15 class GrColorSpaceXform; variable 30 sk_sp<GrColorSpaceXform>,
|
D | GrDrawVerticesOp.cpp | 46 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 …]
|
D | GrLatticeOp.cpp | 34 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/ |
D | VertexColorSpaceBench.cpp | 40 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/ |
D | VertexColorSpaceBench.cpp | 38 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/ |
D | GrGLSLColorSpaceXformHelper.h | 26 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform, 46 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 25 void emitCode(GrGLSLUniformHandler* uniformHandler, const GrColorSpaceXform* colorSpaceXform, 47 void setData(const GrGLSLProgramDataManager& pdman, const GrColorSpaceXform* colorSpaceXform) { in setData()
|