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

Unified Diff: include/gpu/GrCaps.h

Issue 1825393002: Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: asserts Created 4 years, 9 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/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 1f5b11955bd65c82634742747f10e8e1af25235a..3ef8295e2b1f93576635a577b8b701b84b8b6b2c 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -247,9 +247,9 @@ public:
return fDrawPathMasksToCompressedTextureSupport;
}
- size_t geometryBufferMapThreshold() const {
- SkASSERT(fGeometryBufferMapThreshold >= 0);
- return fGeometryBufferMapThreshold;
+ size_t bufferMapThreshold() const {
+ SkASSERT(fBufferMapThreshold >= 0);
+ return fBufferMapThreshold;
}
bool supportsInstancedDraws() const {
@@ -301,7 +301,7 @@ protected:
GR_STATIC_ASSERT(kLast_GrBlendEquation < 32);
uint32_t fMapBufferFlags;
- int fGeometryBufferMapThreshold;
+ int fBufferMapThreshold;
int fMaxRenderTargetSize;
int fMaxVertexAttributes;
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrContextOptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698