Index: core/fxge/skia/fx_skia_device.h |
diff --git a/core/fxge/skia/fx_skia_device.h b/core/fxge/skia/fx_skia_device.h |
index 4ea1ad1218dbc7b2b4953326e5eb63387e4862ff..81aa8e1ec9029f2cac5cb5c496b765587caa1846 100644 |
--- a/core/fxge/skia/fx_skia_device.h |
+++ b/core/fxge/skia/fx_skia_device.h |
@@ -15,6 +15,7 @@ class SkPaint; |
class SkPath; |
class SkPictureRecorder; |
struct SkIRect; |
+class SkiaState; |
dsinclair
2016/06/29 13:22:28
nit: Move this up with the other classes.
caryclark
2016/06/29 13:55:10
Done.
|
class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { |
public: |
@@ -122,16 +123,22 @@ class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { |
void PaintStroke(SkPaint* spaint, |
const CFX_GraphStateData* pGraphState, |
const SkMatrix& matrix); |
+ void Flush(); |
SkPictureRecorder* GetRecorder() const { return m_pRecorder; } |
void PreMultiply(); |
+ SkCanvas* SkiaCanvas() { return m_pCanvas; } |
+ void Dump(); |
dsinclair
2016/06/29 13:22:28
const?
caryclark
2016/06/29 13:55:10
Done.
|
private: |
CFX_DIBitmap* m_pBitmap; |
CFX_DIBitmap* m_pOriDevice; |
SkCanvas* m_pCanvas; |
SkPictureRecorder* const m_pRecorder; |
+ SkiaState* m_pCache; |
dsinclair
2016/06/29 13:22:28
std::unique_ptr
caryclark
2016/06/29 13:55:10
Done.
|
FX_BOOL m_bRgbByteOrder; |
FX_BOOL m_bGroupKnockout; |
+ |
+ friend class SkiaState; |
dsinclair
2016/06/29 13:22:28
nit: Move this up to just after the private:
caryclark
2016/06/29 13:55:10
Done.
|
}; |
#endif // defined(_SKIA_SUPPORT_) |