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

Unified Diff: src/gpu/glsl/GrGLSLTextureSampler.h

Issue 1451683002: Initial version of external_oes texture support and unit test (Closed) Base URL: https://skia.googlesource.com/skia.git@target
Patch Set: angle cleanup Created 5 years, 1 month 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
Index: src/gpu/glsl/GrGLSLTextureSampler.h
diff --git a/src/gpu/glsl/GrGLSLTextureSampler.h b/src/gpu/glsl/GrGLSLTextureSampler.h
index a4fbf550f25039dad0ed20d013b6a86abe8b0551..6f8addd393b23143cc1b602adce0787c06d8ee0e 100644
--- a/src/gpu/glsl/GrGLSLTextureSampler.h
+++ b/src/gpu/glsl/GrGLSLTextureSampler.h
@@ -28,7 +28,10 @@ public:
// this is .abcd
const char* swizzle() const { return fSwizzle; }
+ GrSLType samplerType() const { return fSamplerType; }
+
private:
+ GrSLType fSamplerType;
egdaniel 2015/11/20 21:57:43 do you set fSampleType anywhere?
bsalomon 2015/11/20 22:43:55 woops, this was an old way of doing things, remove
UniformHandle fSamplerUniform;
GrPixelConfig fConfig;
char fSwizzle[5];

Powered by Google App Engine
This is Rietveld 408576698