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 |
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 |
void | readPixels () |
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 () |
bool | hasPalette () const |
bool | dirty () const |
virtual const Graphics::PixelFormat & | getPixelFormat () const |
const Graphics::PixelFormat & | getPalettePixelFormat () const |
GLuint | getTextureName () const |
void | setGameTexture () |
void | setAlpha (float alpha) |
Protected Member Functions | |
GLESTexture (GLenum glFormat, GLenum glType, Graphics::PixelFormat pixelFormat) | |
void * | prepareTextureBuffer (const Common::Rect &rect) override |
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 | |
byte * | _pixels |
byte * | _buf |
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 |