mirror of
				https://github.com/jojo61/vdr-plugin-softhdcuvid.git
				synced 2025-03-01 10:39:28 +00:00 
			
		
		
		
	Enable Fastscale for vdr 2.6.6
This commit is contained in:
		| @@ -403,9 +403,10 @@ class cOglCmdDrawTexture : public cOglCmd { | ||||
|   private: | ||||
|     sOglImage *imageRef; | ||||
|     GLint x, y; | ||||
|     GLfloat scaleX, scaleY; | ||||
|  | ||||
|   public: | ||||
|     cOglCmdDrawTexture(cOglFb *fb, sOglImage *imageRef, GLint x, GLint y); | ||||
|     cOglCmdDrawTexture(cOglFb *fb, sOglImage *imageRef, GLint x, GLint y, double scaleX = 1.0f, double scaleY = 1.0f); | ||||
|     virtual ~cOglCmdDrawTexture(void){}; | ||||
|     virtual const char *Description(void) { return "Draw Texture"; } | ||||
|     virtual bool Execute(void); | ||||
| @@ -501,6 +502,8 @@ class cOglPixmap : public cPixmap { | ||||
|     virtual void Fill(tColor Color); | ||||
|     virtual void DrawImage(const cPoint &Point, const cImage &Image); | ||||
|     virtual void DrawImage(const cPoint &Point, int ImageHandle); | ||||
|     virtual void DrawScaledImage(const cPoint &Point, const cImage &Image, double FactorX = 1.0f, double FactorY = 1.0f, bool AntiAlias = false); | ||||
|     virtual void DrawScaledImage(const cPoint &Point, int ImageHandle, double FactorX = 1.0f, double FactorY = 1.0f, bool AntiAlias = false); | ||||
|     virtual void DrawPixel(const cPoint &Point, tColor Color); | ||||
|     virtual void DrawBitmap(const cPoint &Point, const cBitmap &Bitmap, tColor ColorFg = 0, tColor ColorBg = 0, | ||||
|                             bool Overlay = false); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user