diff options
author | vanfanel | 2015-07-07 11:36:56 +0200 |
---|---|---|
committer | vanfanel | 2015-07-20 17:15:04 +0200 |
commit | 6320a008ec27499b3174cd2ea8b3926a59f2e117 (patch) | |
tree | 0debf70e934e0e2159f48bd5da9b4f893ed19688 /backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h | |
parent | bf68de9aa7c3131ffac65b15d5e971788c7fe9c9 (diff) | |
download | scummvm-rg350-6320a008ec27499b3174cd2ea8b3926a59f2e117.tar.gz scummvm-rg350-6320a008ec27499b3174cd2ea8b3926a59f2e117.tar.bz2 scummvm-rg350-6320a008ec27499b3174cd2ea8b3926a59f2e117.zip |
SDL/DISPMANX: Updated rendering code for better buffers management.
Diffstat (limited to 'backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h')
-rw-r--r-- | backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h b/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h index a5abb8618a..c41f84ef7a 100644 --- a/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h +++ b/backends/graphics/dispmanxsdl/dispmanxsdl-graphics.h @@ -37,11 +37,13 @@ public: bool handleScalerHotkeys(Common::KeyCode key); void setFullscreenMode(bool enable); void setAspectRatioCorrection(bool enable); + void clearOverlay(); protected: // Raspberry Pi Dispmanx API - void DispmanXSetup(int dwidth, int dheight, int dbpp); + void DispmanXSetup(int width, int height); void DispmanXInit(); void DispmanXUpdate(); + struct dispmanxPage *DispmanXGetFreePage(); void DispmanXFreeResources(); void DispmanXVideoQuit(); struct dispvarsStruct *_dispvars; |