Add "Use D2D rendering" option to skin context menu

This commit is contained in:
Birunthan Mohanathas
2013-10-06 10:57:24 +03:00
parent 21d9c0698f
commit 6df7d5d509
5 changed files with 48 additions and 12 deletions

View File

@ -38,6 +38,9 @@ namespace Gfx {
class CanvasD2D : public Canvas
{
public:
static bool Initialize();
static void Finalize();
virtual void Resize(int w, int h);
virtual bool BeginDraw();
@ -81,9 +84,6 @@ private:
~CanvasD2D();
CanvasD2D(const CanvasD2D& other) {}
static bool Initialize();
static void Finalize();
bool BeginTargetDraw();
void EndTargetDraw();