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

Unified Diff: src/gpu/GrGpu.h

Issue 26342006: Move renderable config list to GrDrawTargetCaps (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix size_t/int comparison Created 7 years, 2 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 | « src/gpu/GrDrawTargetCaps.h ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index b449f9eb17b4422d84e37aeaf01fa7ec88c5a3a0..48caf7c4102b78b46fed8f2d3a03d9055a62d6bd 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -291,14 +291,6 @@ public:
}
/**
- * Can the provided configuration act as a color render target?
- */
- bool isConfigRenderable(GrPixelConfig config) const {
- SkASSERT(kGrPixelConfigCnt > config);
- return fConfigRenderSupport[config];
- }
-
- /**
* These methods are called by the clip manager's setupClipping function
* which (called as part of GrGpu's implementation of onDraw and
* onStencilPath member functions.) The GrGpu subclass should flush the
@@ -401,10 +393,6 @@ protected:
// The final stencil settings to use as determined by the clip manager.
GrStencilSettings fStencilSettings;
- // Derived classes need access to this so they can fill it out in their
- // constructors
- bool fConfigRenderSupport[kGrPixelConfigCnt];
-
// Helpers for setting up geometry state
void finalizeReservedVertices();
void finalizeReservedIndices();
« no previous file with comments | « src/gpu/GrDrawTargetCaps.h ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698