Index: src/gpu/gl/GrGpuGL.h |
=================================================================== |
--- src/gpu/gl/GrGpuGL.h (revision 8359) |
+++ src/gpu/gl/GrGpuGL.h (working copy) |
@@ -57,7 +57,7 @@ |
virtual void abandonResources() SK_OVERRIDE; |
- const GrGLCaps& glCaps() const { return fGLContext.info().caps(); } |
+ const GrGLCaps& glCaps() const { return *fGLContext.info().caps(); } |
// These functions should be used to bind GL objects. They track the GL state and skip redundant |
// bindings. Making the equivalent glBind calls directly will confuse the state tracking. |
@@ -218,9 +218,6 @@ |
// flushing the scissor after that function is called. |
void flushScissor(); |
- // Inits GrDrawTarget::Caps, subclass may enable additional caps. |
- void initCaps(); |
- |
void initFSAASupport(); |
// determines valid stencil formats |
@@ -431,8 +428,6 @@ |
// from our loop that tries stencil formats and calls check fb status. |
int fLastSuccessfulStencilFmtIdx; |
- bool fPrintedCaps; |
- |
typedef GrGpu INHERITED; |
}; |