Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index e5baaa740487eda977cb2f071602c2aef0312a23..2d5d0b8ee6d5397aae26986d418babf27bf33a8e 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -11,7 +11,6 @@ |
#include "GrBatch.h" |
#include "GrCaps.h" |
#include "GrContext.h" |
-#include "GrContextOptions.h" |
#include "GrPath.h" |
#include "GrPipeline.h" |
#include "GrMemoryPool.h" |
@@ -69,8 +68,8 @@ |
drawBounds->roundOut(&drawIBounds); |
if (!copyRect.intersect(drawIBounds)) { |
#ifdef SK_DEBUG |
- GrCapsDebugf(fCaps, "Missed an early reject. " |
- "Bailing on draw from setupDstReadIfNecessary.\n"); |
+ GrContextDebugf(fContext, "Missed an early reject. " |
+ "Bailing on draw from setupDstReadIfNecessary.\n"); |
#endif |
return false; |
} |
@@ -599,7 +598,7 @@ |
/////////////////////////////////////////////////////////////////////////////// |
-GrCaps::GrCaps(const GrContextOptions& options) { |
+GrCaps::GrCaps() { |
fMipMapSupport = false; |
fNPOTTextureTileSupport = false; |
fTwoSidedStencilSupport = false; |
@@ -622,9 +621,6 @@ |
memset(fConfigRenderSupport, 0, sizeof(fConfigRenderSupport)); |
memset(fConfigTextureSupport, 0, sizeof(fConfigTextureSupport)); |
- |
- fSupressPrints = options.fSuppressPrints; |
- fDrawPathMasksToCompressedTextureSupport = options.fDrawPathToCompressedTexture; |
} |
static SkString map_flags_to_string(uint32_t flags) { |