LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FixedTextureAtlasManager Class Referencefinal

#include <FixedTextureAtlas.hxx>

Public Member Functions

 FixedTextureAtlasManager (int nWidthFactor, int nHeightFactor, int nTextureSize)
 ~FixedTextureAtlasManager ()
OpenGLTexture InsertBuffer (int nWidth, int nHeight, int nFormat, int nType, sal_uInt8 const *pData)
OpenGLTexture Reserve (int nWidth, int nHeight)
int GetSubtextureSize () const

Private Member Functions

void CreateNewTexture ()
 FixedTextureAtlasManager (const FixedTextureAtlasManager &)=delete
FixedTextureAtlasManageroperator= (const FixedTextureAtlasManager &)=delete

Private Attributes

std::vector< std::unique_ptr< FixedTexture > > maFixedTextures
int mWidthFactor
int mHeightFactor
int mSubTextureSize

Detailed Description

Definition at line 19 of file FixedTextureAtlas.hxx.

Constructor & Destructor Documentation

FixedTextureAtlasManager::FixedTextureAtlasManager ( const FixedTextureAtlasManager )
FixedTextureAtlasManager::FixedTextureAtlasManager ( int  nWidthFactor,
int  nHeightFactor,
int  nTextureSize 
FixedTextureAtlasManager::~FixedTextureAtlasManager ( )

Member Function Documentation

void FixedTextureAtlasManager::CreateNewTexture ( )
int FixedTextureAtlasManager::GetSubtextureSize ( ) const

Definition at line 39 of file FixedTextureAtlas.hxx.

References mSubTextureSize.

OpenGLTexture FixedTextureAtlasManager::InsertBuffer ( int  nWidth,
int  nHeight,
int  nFormat,
int  nType,
sal_uInt8 const *  pData 
FixedTextureAtlasManager& FixedTextureAtlasManager::operator= ( const FixedTextureAtlasManager )
OpenGLTexture FixedTextureAtlasManager::Reserve ( int  nWidth,
int  nHeight 

Member Data Documentation

std::vector<std::unique_ptr<FixedTexture> > FixedTextureAtlasManager::maFixedTextures

Definition at line 21 of file FixedTextureAtlas.hxx.

int FixedTextureAtlasManager::mHeightFactor

Definition at line 24 of file FixedTextureAtlas.hxx.

int FixedTextureAtlasManager::mSubTextureSize

Definition at line 25 of file FixedTextureAtlas.hxx.

Referenced by GetSubtextureSize().

int FixedTextureAtlasManager::mWidthFactor

Definition at line 23 of file FixedTextureAtlas.hxx.

The documentation for this class was generated from the following file: