Index: core/fxge/include/fx_ge.h |
diff --git a/core/fxge/include/fx_ge.h b/core/fxge/include/fx_ge.h |
index 9818d185eefa76b1a85e2cf585aa4553b1b82d63..3c25e8ddd4da07f1884804d9369b5610a80fd621 100644 |
--- a/core/fxge/include/fx_ge.h |
+++ b/core/fxge/include/fx_ge.h |
@@ -434,33 +434,13 @@ class CFX_FxgeDevice : public CFX_RenderDevice { |
int dither_bits = 0, |
CFX_DIBitmap* pOriDevice = NULL); |
- protected: |
- bool m_bOwnedBitmap; |
-}; |
- |
-class CFX_SkiaDevice : public CFX_RenderDevice { |
- public: |
- CFX_SkiaDevice(); |
- ~CFX_SkiaDevice() override; |
- |
- FX_BOOL Attach(CFX_DIBitmap* pBitmap, |
- int dither_bits = 0, |
- FX_BOOL bRgbByteOrder = FALSE, |
- CFX_DIBitmap* pOriDevice = NULL, |
- FX_BOOL bGroupKnockout = FALSE); |
- |
- FX_BOOL AttachRecorder(SkPictureRecorder* recorder); |
- |
- FX_BOOL Create(int width, |
- int height, |
- FXDIB_Format format, |
- int dither_bits = 0, |
- CFX_DIBitmap* pOriDevice = NULL); |
- |
+#ifdef _SKIA_SUPPORT_ |
+ bool AttachRecorder(SkPictureRecorder* recorder); |
SkPictureRecorder* CreateRecorder(int size_x, int size_y); |
+#endif |
protected: |
- FX_BOOL m_bOwnedBitmap; |
+ bool m_bOwnedBitmap; |
}; |
class IFX_RenderDeviceDriver { |