ScummVM API documentation
OpenGL::TextureSurfaceRGB555 Class Reference
Inheritance diagram for OpenGL::TextureSurfaceRGB555:
OpenGL::FakeTextureSurface OpenGL::TextureSurface OpenGL::Surface

Public Member Functions

void updateGLTexture () override
 
- Public Member Functions inherited from OpenGL::FakeTextureSurface
 FakeTextureSurface (GLenum glIntFormat, GLenum glFormat, GLenum glType, const Graphics::PixelFormat &format, const Graphics::PixelFormat &fakeFormat)
 
void allocate (uint width, uint height) override
 
void setMask (const byte *mask) override
 
Graphics::PixelFormat getFormat () const override
 
bool hasPalette () const override
 
void setColorKey (uint colorKey) override
 
void setPalette (uint start, uint colors, const byte *palData) override
 
Graphics::SurfacegetSurface () override
 
const Graphics::SurfacegetSurface () const override
 
- Public Member Functions inherited from OpenGL::TextureSurface
 TextureSurface (GLenum glIntFormat, GLenum glFormat, GLenum glType, const Graphics::PixelFormat &format)
 
void destroy () override
 
void recreate () override
 
void enableLinearFiltering (bool enable) override
 
uint getWidth () const override
 
uint getHeight () const override
 
const TexturegetGLTexture () const override
 
- Public Member Functions inherited from OpenGL::Surface
void copyRectToTexture (uint x, uint y, uint w, uint h, const void *src, uint srcPitch)
 
void fill (uint32 color)
 
void fill (const Common::Rect &r, uint32 color)
 
void flagDirty ()
 
virtual bool isDirty () const
 
virtual void setScaler (uint scalerIndex, int scaleFactor)
 

Additional Inherited Members

- Protected Member Functions inherited from OpenGL::FakeTextureSurface
void applyPaletteAndMask (byte *dst, const byte *src, uint dstPitch, uint srcPitch, uint srcWidth, const Common::Rect &dirtyArea, const Graphics::PixelFormat &dstFormat, const Graphics::PixelFormat &srcFormat) const
 
- Protected Member Functions inherited from OpenGL::TextureSurface
void updateGLTexture (Common::Rect &dirtyArea)
 
- Protected Member Functions inherited from OpenGL::Surface
void clearDirty ()
 
void addDirtyArea (const Common::Rect &r)
 
Common::Rect getDirtyArea () const
 
- Protected Attributes inherited from OpenGL::FakeTextureSurface
Graphics::Surface _rgbData
 
Graphics::PixelFormat _fakeFormat
 
uint32 * _palette
 
uint8 * _mask
 
- Protected Attributes inherited from OpenGL::TextureSurface
const Graphics::PixelFormat _format
 

Member Function Documentation

◆ updateGLTexture()

void OpenGL::TextureSurfaceRGB555::updateGLTexture ( )
overridevirtual

Update underlying OpenGL texture to reflect current state.

Reimplemented from OpenGL::FakeTextureSurface.


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