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

Unified Diff: include/gpu/GrCaps.h

Issue 1825393002: Consolidate GPU buffer implementations (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
Index: include/gpu/GrCaps.h
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index b806dcbabc67aba5d589ce1cc6bd7c88453d539c..9be5fc9793de1a8e75065c3328e721092911aa1c 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -244,9 +244,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 {
@@ -298,7 +298,7 @@ protected:
GR_STATIC_ASSERT(kLast_GrBlendEquation < 32);
uint32_t fMapBufferFlags;
- int fGeometryBufferMapThreshold;
+ int fBufferMapThreshold;
int fMaxRenderTargetSize;
int fMaxTextureSize;
« no previous file with comments | « gyp/gpu.gypi ('k') | include/gpu/GrContextOptions.h » ('j') | include/gpu/GrContextOptions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698