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

Unified Diff: skia/ext/bitmap_platform_device_linux.h

Issue 18678: Linux Skia: add an option to build a canvas from a provided memory buffer (Closed)
Patch Set: ... Created 11 years, 11 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
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_linux.h
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h
index b4f0c1bcba8b8ef58066ae0d65c9b8e58edbbb6d..cfc72e20148aa0b4afc551f5d099df46fb732d05 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
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698