mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
GRAPHICS: Add a default implementation for ScalerPluginObject::getFactor.
This commit is contained in:
parent
23bee4de30
commit
5420a7f6bd
@ -30,7 +30,6 @@ public:
|
||||
virtual void initialize(const Graphics::PixelFormat &format);
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 0; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -31,7 +31,6 @@ public:
|
||||
virtual void initialize(const Graphics::PixelFormat &format);
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual bool useOldSource() const { return true; }
|
||||
virtual uint extraPixels() const { return 1; }
|
||||
|
@ -31,7 +31,6 @@ public:
|
||||
virtual void deinitialize();
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 1; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -29,7 +29,6 @@ public:
|
||||
NormalPlugin();
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return true; }
|
||||
virtual uint extraPixels() const { return 0; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -31,7 +31,6 @@ public:
|
||||
uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y);
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 1; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -29,7 +29,6 @@ public:
|
||||
SAIPlugin();
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 2; }
|
||||
virtual const char *getName() const;
|
||||
@ -44,7 +43,6 @@ public:
|
||||
SuperSAIPlugin();
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 2; }
|
||||
virtual const char *getName() const;
|
||||
@ -59,7 +57,6 @@ public:
|
||||
SuperEaglePlugin();
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 2; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -48,7 +48,6 @@ public:
|
||||
uint8 *dstPtr, uint32 dstPitch, int width, int height, int x, int y);
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return true; }
|
||||
virtual uint extraPixels() const { return 2; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -29,7 +29,6 @@ public:
|
||||
TVPlugin();
|
||||
virtual uint increaseFactor();
|
||||
virtual uint decreaseFactor();
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
virtual bool canDrawCursor() const { return false; }
|
||||
virtual uint extraPixels() const { return 0; }
|
||||
virtual const char *getName() const;
|
||||
|
@ -70,7 +70,7 @@ public:
|
||||
*/
|
||||
virtual uint decreaseFactor() = 0;
|
||||
|
||||
virtual uint getFactor() const = 0;
|
||||
virtual uint getFactor() const { return _factor; }
|
||||
|
||||
virtual const Common::Array<uint> &getFactors() const { return _factors; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user