michael@0: michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: #ifndef SkDebugGLContext_DEFINED michael@0: #define SkDebugGLContext_DEFINED michael@0: michael@0: #include "SkGLContextHelper.h" michael@0: michael@0: class SkDebugGLContext : public SkGLContextHelper { michael@0: michael@0: public: michael@0: SkDebugGLContext() {}; michael@0: michael@0: virtual void makeCurrent() const SK_OVERRIDE {}; michael@0: virtual void swapBuffers() const SK_OVERRIDE {}; michael@0: michael@0: protected: michael@0: virtual const GrGLInterface* createGLContext() SK_OVERRIDE; michael@0: michael@0: virtual void destroyGLContext() SK_OVERRIDE {}; michael@0: }; michael@0: michael@0: #endif