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

Unified Diff: include/gpu/GrCaps.h

Issue 1159713006: add context override of GeometryBufferMapThreshold (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 7 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 | « gyp/gpu.gypi ('k') | include/gpu/GrConfig.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrCaps.h
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index e083042ae4938b45f7966ce9e65dbd696e9000ad..25f3caadeda59e89d8317f089578d3038e1c5084 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -196,7 +196,12 @@ public:
bool suppressPrints() const { return fSupressPrints; }
bool drawPathMasksToCompressedTexturesSupport() const {
- return fDrawPathMasksToCompressedTextureSupport; }
+ return fDrawPathMasksToCompressedTextureSupport;
+ }
+
+ size_t geometryBufferMapThreshold() const {
+ return fGeometryBufferMapThreshold;
+ }
protected:
/** Subclasses must call this at the end of their constructors in order to apply caps
@@ -233,6 +238,7 @@ protected:
private:
bool fSupressPrints : 1;
bool fDrawPathMasksToCompressedTextureSupport : 1;
+ size_t fGeometryBufferMapThreshold;
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698