Public Member Functions | |
void | allocBuffer (GLuint w, GLuint h) override |
void | updateBuffer (GLuint x, GLuint y, GLuint width, GLuint height, const void *buf, int pitch_buf) override |
void | fillBuffer (uint32 color) override |
const Graphics::PixelFormat & | getPixelFormat () 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::Rect & | getDrawRect () 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::Surface * | surface_const () const |
Graphics::Surface * | surface () |
virtual void | setPalette (const byte *colors, uint start, uint num)=0 |
virtual void | setKeycolor (byte color)=0 |
virtual void | grabPalette (byte *colors, uint start, uint num) const =0 |
bool | hasPalette () const |
bool | dirty () const |
const Graphics::PixelFormat & | getPalettePixelFormat () const |
GLuint | getTextureName () const |
GLenum | getTextureFormat () const |
GLenum | getTextureType () const |
void | setGameTexture () |
void | setAlpha (float alpha) |
Protected Member Functions | |
GLESFakePaletteTexture (GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat) | |
Protected Member Functions inherited from GLESBaseTexture | |
GLESBaseTexture (GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat) | |
void | initSize () |
virtual void * | prepareTextureBuffer (const Common::Rect &rect)=0 |
void | setDirty () |
void | clearDirty () |
void | setDirtyRect (const Common::Rect &r) |
Protected Attributes | |
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 |