Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp

Issue 2154753003: Introduce GrColorSpaceXform, for gamut conversion on textures (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gm/texdata.cpp » ('j') | include/gpu/GrTextureAccess.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
diff --git a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
index b0c60f71610e5e48b2dd9a07ad892bd475e5533d..49ca9f36995b8759688b319e51a61d0086caf914 100644
--- a/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
+++ b/experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp
@@ -683,8 +683,8 @@ private:
: fType(type)
, fNumOctaves(numOctaves)
, fStitchTiles(stitchTiles)
- , fPermutationsAccess(permutationsTexture)
- , fNoiseAccess(noiseTexture)
+ , fPermutationsAccess(permutationsTexture, nullptr)
+ , fNoiseAccess(noiseTexture, nullptr)
, fPaintingData(paintingData) {
this->initClassID<GrPerlinNoise2Effect>();
this->addTextureAccess(&fPermutationsAccess);
@@ -1095,8 +1095,8 @@ private:
const SkMatrix& matrix)
: fOctaves(octaves)
, fZ(z)
- , fPermutationsAccess(permutationsTexture)
- , fGradientAccess(gradientTexture)
+ , fPermutationsAccess(permutationsTexture, nullptr)
+ , fGradientAccess(gradientTexture, nullptr)
, fPaintingData(paintingData) {
this->initClassID<GrImprovedPerlinNoiseEffect>();
this->addTextureAccess(&fPermutationsAccess);
« no previous file with comments | « no previous file | gm/texdata.cpp » ('j') | include/gpu/GrTextureAccess.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698