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/.
11 #ifndef INCLUDED_VCL_INC_OPENGL_FIXED_TEXTURE_ATLAS_H
12 #define INCLUDED_VCL_INC_OPENGL_FIXED_TEXTURE_ATLAS_H
14 #include "opengl/texture.hxx"
17 class VCL_PLUGIN_PUBLIC FixedTextureAtlasManager
19 std::vector
<std::unique_ptr
<ImplOpenGLTexture
>> mpTextures
;
25 void CreateNewTexture();
28 FixedTextureAtlasManager(int nWidthFactor
, int nHeightFactor
, int nTextureSize
);
29 OpenGLTexture
InsertBuffer(int nWidth
, int nHeight
, int nFormat
, int nType
, sal_uInt8
* pData
);
31 int GetSubtextureSize()
33 return mSubTextureSize
;
37 #endif // INCLUDED_VCL_INC_OPENGL_FIXED_TEXTURE_ATLAS_H
39 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */