From: Brian Osman Date: Tue, 20 Dec 2016 20:06:18 +0000 (-0500) Subject: Add color space xform bits to key for texture domain effect X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~55^2~1100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70826d7d9df4163411e6489d9393714cfc6baafd;p=platform%2Fupstream%2FlibSkiaSharp.git Add color space xform bits to key for texture domain effect Overlooked this in a recent CL BUG=skia: Change-Id: I050f8843cc2a8caadc2a46f1ea833b74b47f76b7 Reviewed-on: https://skia-review.googlesource.com/6341 Reviewed-by: Robert Phillips Commit-Queue: Brian Osman --- diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp index c9bf545..c6ff9f7 100644 --- a/src/gpu/effects/GrTextureDomain.cpp +++ b/src/gpu/effects/GrTextureDomain.cpp @@ -204,6 +204,7 @@ GrTextureDomainEffect::GrTextureDomainEffect(GrTexture* texture, void GrTextureDomainEffect::onGetGLSLProcessorKey(const GrShaderCaps& caps, GrProcessorKeyBuilder* b) const { b->add32(GrTextureDomain::GLDomain::DomainKey(fTextureDomain)); + b->add32(GrColorSpaceXform::XformKey(this->colorSpaceXform())); } GrGLSLFragmentProcessor* GrTextureDomainEffect::onCreateGLSLInstance() const {