1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
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/.
10 // Fully wrapped methods that have no exotic GL header deps.
12 #ifndef INCLUDED_VCL_OPENGL_OPENGLWRAPPER_HXX
13 #define INCLUDED_VCL_OPENGL_OPENGLWRAPPER_HXX
15 #include <config_features.h>
16 #include <vcl/dllapi.h>
18 // All member functions static and VCL_DLLPUBLIC. Basically a glorified namespace.
19 struct VCL_DLLPUBLIC OpenGLWrapper
21 OpenGLWrapper() = delete; // Should not be instantiated
25 * Returns the number of times OpenGL buffers have been swapped.
27 static sal_Int64
getBufferSwapCounter();
31 #endif // INCLUDED_VCL_OPENGL_OPENGLWRAPPER_HXX