From 3ea1798829df1a5d163b1851783046b624c29ea2 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 2 Jun 2017 12:43:04 -0400 Subject: Remove ImmediateFlush mode Change-Id: I7db113e66d81516b2beb5eefeddf488d9bfed2e5 Reviewed-on: https://skia-review.googlesource.com/18488 Reviewed-by: Brian Salomon Commit-Queue: Robert Phillips --- include/gpu/GrCaps.h | 3 --- include/gpu/GrContextOptions.h | 4 ---- 2 files changed, 7 deletions(-) (limited to 'include') 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; -- cgit v1.2.3