ScummVM API documentation
ScalerManager Class Reference

#include <scalerplugin.h>

Inheritance diagram for ScalerManager:
Common::Singleton< ScalerManager > Common::NonCopyable

Public Member Functions

const PluginListgetPlugins () const
 
uint getMaxExtraPixels () const
 
PluginfindScalerPlugin (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 ScalerManagerinstance ()
 
static void destroy ()
 
- Protected Types inherited from Common::Singleton< ScalerManager >
typedef ScalerManager SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< ScalerManager >
static ScalerManager_singleton
 

Detailed Description

Singleton class to manage scaler plugins

Member Function Documentation

◆ getMaxExtraPixels()

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.

◆ findScalerPlugin()

Plugin* ScalerManager::findScalerPlugin ( const char *  name) const

Search the scaler plugins for a special plugin based on its name.

◆ findScalerPluginIndex()

uint ScalerManager::findScalerPluginIndex ( const char *  name) const

Search the scaler plugins for a special plugin based on its name.

◆ updateOldSettings()

void ScalerManager::updateOldSettings ( )

Update scaler settings from older versions of ScummVM.

◆ isOldGraphicsSetting()

bool ScalerManager::isOldGraphicsSetting ( const Common::String gfxMode)

Returns whether the supplied mode is one of the old gfx-modes.


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