summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/bitmap_platform_device_linux.h')
-rw-r--r--skia/ext/bitmap_platform_device_linux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h
index b4f0c1bc..cfc72e2 100644
--- a/skia/ext/bitmap_platform_device_linux.h
+++ b/skia/ext/bitmap_platform_device_linux.h
@@ -62,6 +62,11 @@ class BitmapPlatformDeviceLinux : public PlatformDeviceLinux {
/// Static constructor. I don't understand this, it's just a copy of the mac
static BitmapPlatformDeviceLinux* Create(int width, int height,
bool is_opaque);
+ static BitmapPlatformDeviceLinux* Create(int width, int height,
+ bool is_opaque, uint8_t* data);
+ static BitmapPlatformDeviceLinux* Create(int width, int height,
+ bool is_opaque,
+ cairo_surface_t* surface);
// Create a BitmapPlatformDeviceLinux from an already constructed bitmap;
// you should probably be using Create(). This may become private later if