ScummVM API documentation
GLESFakePalette8888Texture Class Reference
Inheritance diagram for GLESFakePalette8888Texture:
GLESFakePaletteTexture GLESBaseTexture

Public Member Functions

void allocBuffer (GLuint w, GLuint h) override
 
void setPalette (const byte *colors, uint start, uint num) override
 
void setKeycolor (byte color) override
 
void grabPalette (byte *colors, uint start, uint num) const override
 
- Public Member Functions inherited from GLESFakePaletteTexture
void updateBuffer (GLuint x, GLuint y, GLuint width, GLuint height, const void *buf, int pitch_buf) override
 
void fillBuffer (uint32 color) override
 
const Graphics::PixelFormatgetPixelFormat () const override
 
- Public Member Functions inherited from GLESBaseTexture
void release ()
 
void reinit ()
 
void setLinearFilter (bool value)
 
void drawTexture (GLshort x, GLshort y, GLshort w, GLshort h)
 
void drawTexture (GLshort x, GLshort y, GLshort w, GLshort h, const Common::Rect &clip)
 
void setDrawRect (const Common::Rect &rect)
 
void setDrawRect (int16 w, int16 h)
 
void setDrawRect (int16 x1, int16 y1, int16 x2, int16 y2)
 
const Common::RectgetDrawRect () const
 
void drawTextureRect ()
 
void drawTextureOrigin ()
 
GLuint width () const
 
GLuint height () const
 
GLuint texWidth () const
 
GLuint texHeight () const
 
uint16 pitch () const
 
bool isEmpty () const
 
const Graphics::Surfacesurface_const () const
 
Graphics::Surfacesurface ()
 
bool hasPalette () const
 
bool dirty () const
 
const Graphics::PixelFormatgetPalettePixelFormat () const
 
GLuint getTextureName () const
 
GLenum getTextureFormat () const
 
GLenum getTextureType () const
 
void setGameTexture ()
 
void setAlpha (float alpha)
 

Protected Member Functions

void * prepareTextureBuffer (const Common::Rect &rect) override
 
- Protected Member Functions inherited from GLESFakePaletteTexture
 GLESFakePaletteTexture (GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat)
 
- Protected Member Functions inherited from GLESBaseTexture
 GLESBaseTexture (GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat)
 
void initSize ()
 
void setDirty ()
 
void clearDirty ()
 
void setDirtyRect (const Common::Rect &r)
 

Protected Attributes

uint32 * _palette
 
uint32 * _buf
 
byte _keycolor
 
- Protected Attributes inherited from GLESFakePaletteTexture
Graphics::PixelFormat _fake_format
 
byte * _pixels
 
- Protected Attributes inherited from GLESBaseTexture
GLenum _glFormat
 
GLenum _glType
 
GLint _glFilter
 
GLuint _texture_name
 
Graphics::Surface _surface
 
GLuint _texture_width
 
GLuint _texture_height
 
Common::Rect _draw_rect
 
bool _all_dirty
 
Common::Rect _dirty_rect
 
Graphics::PixelFormat _pixelFormat
 
Graphics::PixelFormat _palettePixelFormat
 
bool _is_game_texture
 
GLfloat _alpha
 

Additional Inherited Members

- Static Public Member Functions inherited from GLESBaseTexture
static void initGL ()
 
static void unbindShader ()
 
- Static Protected Attributes inherited from GLESBaseTexture
static bool _npot_supported
 
static OpenGL::Shader_box_shader
 
static GLuint _verticesVBO
 

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