diff options
Diffstat (limited to 'chrome/common/x11_util_internal.h')
| -rw-r--r-- | chrome/common/x11_util_internal.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/chrome/common/x11_util_internal.h b/chrome/common/x11_util_internal.h deleted file mode 100644 index 8042530..0000000 --- a/chrome/common/x11_util_internal.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_COMMON_X11_UTIL_INTERNAL_H_ -#define CHROME_COMMON_X11_UTIL_INTERNAL_H_ - -// This file declares utility functions for X11 (Linux only). -// -// These functions require the inclusion of the Xlib headers. Since the Xlib -// headers pollute so much of the namespace, this should only be included -// when needed. - -extern "C" { -#include <X11/Xatom.h> -#include <X11/Xlib.h> -#include <X11/extensions/XShm.h> -#include <X11/extensions/Xrender.h> -} - -namespace x11_util { - // NOTE: these function caches the results and must be called from the UI - // thread. - - // Get the XRENDER format id for ARGB32 (Skia's format). - // - // NOTE:Currently this don't support multiple screens/displays. - XRenderPictFormat* GetRenderARGB32Format(Display* dpy); - - // Get the XRENDER format id for the default visual on the first screen. This - // is the format which our GTK window will have. - XRenderPictFormat* GetRenderVisualFormat(Display* dpy, Visual* visual); -}; - -#endif // CHROME_COMMON_X11_UTIL_INTERNAL_H_ |
