Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3242)

Unified Diff: core/include/fxge/fx_ge.h

Issue 1776313002: Add bitmaps and skp output to Skia port (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments and fix gn Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/include/fxge/fx_ge.h
diff --git a/core/include/fxge/fx_ge.h b/core/include/fxge/fx_ge.h
index fc9119b123f9b46a5c1827d1268fdc7d4911829e..3c545615608d48d8967663da13265fdcbdca4c48 100644
--- a/core/include/fxge/fx_ge.h
+++ b/core/include/fxge/fx_ge.h
@@ -16,6 +16,7 @@ class CFX_FontCache;
class CFX_FaceCache;
class IFX_RenderDeviceDriver;
class CCodec_ModuleMgr;
+class SkPictureRecorder;
class CFX_GEModule {
public:
@@ -427,6 +428,7 @@ class CFX_FxgeDevice : public CFX_RenderDevice {
protected:
FX_BOOL m_bOwnedBitmap;
};
+
class CFX_SkiaDevice : public CFX_RenderDevice {
public:
CFX_SkiaDevice();
@@ -438,12 +440,16 @@ class CFX_SkiaDevice : public CFX_RenderDevice {
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);
+ SkPictureRecorder* CreateRecorder(int size_x, int size_y);
+
protected:
FX_BOOL m_bOwnedBitmap;
};
« no previous file with comments | « BUILD.gn ('k') | core/src/fxge/agg/fx_agg_driver.h » ('j') | core/src/fxge/skia/fx_skia_device.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698