| Index: skia/ext/platform_device_linux.h
|
| diff --git a/skia/ext/platform_device_linux.h b/skia/ext/platform_device_linux.h
|
| index 5c16c08ac631bec0507aefd2033cc5ba2de5499e..9daeb702f6a19f7d44dba0943897e41aeacf2ff1 100644
|
| --- a/skia/ext/platform_device_linux.h
|
| +++ b/skia/ext/platform_device_linux.h
|
| @@ -15,6 +15,15 @@ class PlatformDeviceLinux : public SkDevice {
|
| // Returns if the preferred rendering engine is vectorial or bitmap based.
|
| virtual bool IsVectorial() = 0;
|
|
|
| + // An X drawable. Avoid pulling in all of Xlib by typedef'ing.
|
| + typedef unsigned long XDrawable;
|
| +
|
| + // Gets an X drawable that maps onto the drawing surface.
|
| + // This has the potential of being exceedingly slow; drawables are server-side
|
| + // but skia drawables are client-side, so we must copy all the data back and
|
| + // forth. Only used for plugin drawing.
|
| + virtual XDrawable GetXDrawable() = 0;
|
| +
|
| protected:
|
| // Forwards |bitmap| to SkDevice's constructor.
|
| PlatformDeviceLinux(const SkBitmap& bitmap);
|
|
|