LCOV - code coverage report
Current view: top level - canvas/source/opengl - ogl_buffercontext.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 2 0.0 %
Date: 2014-04-14 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #ifndef INCLUDED_CANVAS_SOURCE_OPENGL_OGL_BUFFERCONTEXT_HXX
      11             : #define INCLUDED_CANVAS_SOURCE_OPENGL_OGL_BUFFERCONTEXT_HXX
      12             : 
      13             : #include <sal/config.h>
      14             : #include <boost/shared_ptr.hpp>
      15             : 
      16             : namespace oglcanvas
      17             : {
      18           0 :     struct IBufferContext
      19             :     {
      20           0 :         virtual ~IBufferContext() {}
      21             : 
      22             :         /// start render to buffer. changes gl current context
      23             :         virtual bool startBufferRendering() = 0;
      24             : 
      25             :         /// end render to buffer. switches to window context, and selects rendered texture
      26             :         virtual bool endBufferRendering() = 0;
      27             :     };
      28             : 
      29             :     typedef ::boost::shared_ptr<IBufferContext> IBufferContextSharedPtr;
      30             : }
      31             : 
      32             : #endif
      33             : 
      34             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10