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

Unified Diff: include/gpu/GrCaps.h

Issue 1161543003: Set GeometryBufferMapThreshold defaults (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more 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 | « no previous file | include/gpu/GrContextOptions.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 25f3caadeda59e89d8317f089578d3038e1c5084..4bed33020655a4da48e605810fcee3ab9de5b3d6 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -200,6 +200,7 @@ public:
}
size_t geometryBufferMapThreshold() const {
+ SkASSERT(fGeometryBufferMapThreshold >= 0);
return fGeometryBufferMapThreshold;
}
@@ -226,6 +227,7 @@ protected:
BlendEquationSupport fBlendEquationSupport;
uint32_t fMapBufferFlags;
+ int fGeometryBufferMapThreshold;
int fMaxRenderTargetSize;
int fMaxTextureSize;
@@ -238,7 +240,6 @@ protected:
private:
bool fSupressPrints : 1;
bool fDrawPathMasksToCompressedTextureSupport : 1;
- size_t fGeometryBufferMapThreshold;
typedef SkRefCnt INHERITED;
};
« no previous file with comments | « no previous file | include/gpu/GrContextOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698