| Index: chrome/common/x11_util.h
|
| diff --git a/chrome/common/x11_util.h b/chrome/common/x11_util.h
|
| index 6e5072bfd818dde3b261b614dc7614fee846e6a1..4800a69d759408d8f04f1c9c188a6cd98b1a51ee 100644
|
| --- a/chrome/common/x11_util.h
|
| +++ b/chrome/common/x11_util.h
|
| @@ -27,6 +27,8 @@ namespace x11_util {
|
| Display* GetXDisplay();
|
| // Return true iff the connection supports X shared memory
|
| bool QuerySharedMemorySupport(Display* dpy);
|
| + // Return true iff the display supports Xrender
|
| + bool QueryRenderSupport(Display* dpy);
|
|
|
| // These functions do not cache their results
|
|
|
| @@ -37,6 +39,8 @@ namespace x11_util {
|
| // Get a Visual from the given widget. Since we don't include the Xlib
|
| // headers, this is returned as a void*.
|
| void* GetVisualFromGtkWidget(GtkWidget*);
|
| + // Return the number of bits-per-pixel for a pixmap of the given depth
|
| + int BitsPerPixelForPixmapDepth(Display*, int depth);
|
|
|
| // Return a handle to a server side pixmap. |shared_memory_key| is a SysV
|
| // IPC key. The shared memory region must contain 32-bit pixels.
|
|
|