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

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: wip; add skp output to test framework 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..4f101cb8a0eaa2c633ff7d2860e2fadbf24807ed 100644
--- a/core/include/fxge/fx_ge.h
+++ b/core/include/fxge/fx_ge.h
@@ -430,6 +430,7 @@ class CFX_FxgeDevice : public CFX_RenderDevice {
class CFX_SkiaDevice : public CFX_RenderDevice {
public:
CFX_SkiaDevice();
+ CFX_SkiaDevice(int size_x, int size_y, void* recorder);
~CFX_SkiaDevice() override;
FX_BOOL Attach(CFX_DIBitmap* pBitmap,
@@ -444,7 +445,10 @@ class CFX_SkiaDevice : public CFX_RenderDevice {
int dither_bits = 0,
CFX_DIBitmap* pOriDevice = NULL);
+ void* GetRecorder() const { return m_recorder; }
+
protected:
+ void* m_recorder;
dsinclair 2016/03/10 14:38:54 Is there a better type we could use for recorder t
caryclark 2016/03/10 20:44:55 replaced void* with FPDF_RECORDER in C interfaces
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