aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2017-06-02 12:43:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-02 17:35:18 +0000
commit3ea1798829df1a5d163b1851783046b624c29ea2 (patch)
treebd188f18bf27f7605a233aa87572ea5b6bbe97fa /include
parentbc712740bda0b78ba909894eed7aa6feeb9efe34 (diff)
Remove ImmediateFlush mode
Change-Id: I7db113e66d81516b2beb5eefeddf488d9bfed2e5 Reviewed-on: https://skia-review.googlesource.com/18488 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrCaps.h3
-rw-r--r--include/gpu/GrContextOptions.h4
2 files changed, 0 insertions, 7 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 9b84b1da8a..30825d5233 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -165,8 +165,6 @@ public:
bool suppressPrints() const { return fSuppressPrints; }
- bool immediateFlush() const { return fImmediateFlush; }
-
size_t bufferMapThreshold() const {
SkASSERT(fBufferMapThreshold >= 0);
return fBufferMapThreshold;
@@ -261,7 +259,6 @@ private:
virtual void onApplyOptionsOverrides(const GrContextOptions&) {}
bool fSuppressPrints : 1;
- bool fImmediateFlush : 1;
bool fWireframeMode : 1;
typedef SkRefCnt INHERITED;
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
index d74f10ff63..5337138f05 100644
--- a/include/gpu/GrContextOptions.h
+++ b/include/gpu/GrContextOptions.h
@@ -36,10 +36,6 @@ struct GrContextOptions {
/** some gpus have problems with partial writes of the rendertarget */
bool fUseDrawInsteadOfPartialRenderTargetWrite = false;
- /** The GrContext operates in immediate mode. It will issue all draws to the backend API
- immediately. Intended to ease debugging. */
- bool fImmediateMode = false;
-
/** Force us to do all swizzling manually in the shader and don't rely on extensions to do
swizzling. */
bool fUseShaderSwizzling = false;