| Index: core/fxge/include/fx_ge.h
|
| diff --git a/core/fxge/include/fx_ge.h b/core/fxge/include/fx_ge.h
|
| index 5599a75f597e8f0315823c3b8f88da4db4f4abeb..ea2adec1dc3e19463cfd7782046004f109b1e474 100644
|
| --- a/core/fxge/include/fx_ge.h
|
| +++ b/core/fxge/include/fx_ge.h
|
| @@ -215,6 +215,7 @@ class CFX_RenderDevice {
|
| CFX_RenderDevice();
|
| virtual ~CFX_RenderDevice();
|
|
|
| + void Flush();
|
| void SetDeviceDriver(IFX_RenderDeviceDriver* pDriver);
|
| IFX_RenderDeviceDriver* GetDeviceDriver() const { return m_pDeviceDriver; }
|
|
|
| @@ -378,6 +379,10 @@ class CFX_RenderDevice {
|
| CFX_PathData* pClippingPath,
|
| int nFlag);
|
|
|
| +#ifdef _SKIA_SUPPORT_
|
| + virtual void DebugVerifyBitmapIsPreMultiplied() const;
|
| +#endif
|
| +
|
| private:
|
| void InitDeviceInfo();
|
| void UpdateClipBox();
|
| @@ -416,7 +421,7 @@ class CFX_FxgeDevice : public CFX_RenderDevice {
|
| #ifdef _SKIA_SUPPORT_
|
| bool AttachRecorder(SkPictureRecorder* recorder);
|
| SkPictureRecorder* CreateRecorder(int size_x, int size_y);
|
| - void PreMultiply();
|
| + void DebugVerifyBitmapIsPreMultiplied() const override;
|
| #endif
|
|
|
| protected:
|
|
|