#include <scalerplugin.h>
Public Member Functions | |
const PluginList & | getPlugins () const |
uint | getMaxExtraPixels () const |
Plugin * | findScalerPlugin (const char *name) const |
uint | findScalerPluginIndex (const char *name) const |
void | updateOldSettings () |
bool | isOldGraphicsSetting (const Common::String &gfxMode) |
Additional Inherited Members | |
Static Public Member Functions inherited from Common::Singleton< ScalerManager > | |
static bool | hasInstance () |
static ScalerManager & | instance () |
static void | destroy () |
Protected Types inherited from Common::Singleton< ScalerManager > | |
typedef ScalerManager | SingletonBaseType |
Static Protected Attributes inherited from Common::Singleton< ScalerManager > | |
static ScalerManager * | _singleton |
Singleton class to manage scaler plugins
uint ScalerManager::getMaxExtraPixels | ( | ) | const |
Queries all scaler plugins for the maximum number of pixels they can access out of bounds. Useful for adding extra rows and columns to surfaces.
Plugin* ScalerManager::findScalerPlugin | ( | const char * | name | ) | const |
Search the scaler plugins for a special plugin based on its name.
uint ScalerManager::findScalerPluginIndex | ( | const char * | name | ) | const |
Search the scaler plugins for a special plugin based on its name.
void ScalerManager::updateOldSettings | ( | ) |
Update scaler settings from older versions of ScummVM.
bool ScalerManager::isOldGraphicsSetting | ( | const Common::String & | gfxMode | ) |
Returns whether the supplied mode is one of the old gfx-modes.