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 const mWidthFactor
 
int const mHeightFactor
 
int const mSubTextureSize
 

Detailed Description

Definition at line 19 of file FixedTextureAtlas.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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 )
privatedelete
OpenGLTexture FixedTextureAtlasManager::Reserve ( int  nWidth,
int  nHeight 
)

Member Data Documentation

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

Definition at line 21 of file FixedTextureAtlas.hxx.

int const FixedTextureAtlasManager::mHeightFactor
private

Definition at line 24 of file FixedTextureAtlas.hxx.

int const FixedTextureAtlasManager::mSubTextureSize
private

Definition at line 25 of file FixedTextureAtlas.hxx.

Referenced by GetSubtextureSize().

int const FixedTextureAtlasManager::mWidthFactor
private

Definition at line 23 of file FixedTextureAtlas.hxx.


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