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

Unified Diff: include/gpu/GrCaps.h

Issue 1541903002: added support for PLS path rendering (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 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
Index: include/gpu/GrCaps.h
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 679777f9ddc74caab3c3820d4258e371a0eeb003..5fbd869c019bbd489eeb6a49395fcea5053f48ad 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -81,6 +81,8 @@ public:
*/
bool floatPrecisionVaries() const { return fShaderPrecisionVaries; }
+ int pixelLocalStorageSize() const { return fPixelLocalStorageSize; }
bsalomon 2016/01/13 19:15:33 Maybe a comment that if > 0 then PLS is supported
+
protected:
/** Subclasses must call this after initialization in order to apply caps overrides requested by
the client. Note that overrides will only reduce the caps never expand them. */
@@ -94,6 +96,7 @@ protected:
bool fShaderPrecisionVaries;
PrecisionInfo fFloatPrecisions[kGrShaderTypeCount][kGrSLPrecisionCount];
+ int fPixelLocalStorageSize;
private:
virtual void onApplyOptionsOverrides(const GrContextOptions&) {};
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrShaderVar.h » ('j') | include/gpu/GrTypesPriv.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698