/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ // Don't include this file in any .h files because it pulls in some X headers. #ifndef MODULES_DESKTOP_CAPTURE_LINUX_X11_X_SERVER_PIXEL_BUFFER_H_ #define MODULES_DESKTOP_CAPTURE_LINUX_X11_X_SERVER_PIXEL_BUFFER_H_ #include <X11/Xutil.h> #include <X11/extensions/XShm.h> #include <memory> #include <vector> #include "modules/desktop_capture/desktop_geometry.h" namespace webrtc { class DesktopFrame; class XAtomCache; // A class to allow the X server's pixel buffer to be accessed as efficiently // as possible. class XServerPixelBuffer { … }; } // namespace webrtc #endif // MODULES_DESKTOP_CAPTURE_LINUX_X11_X_SERVER_PIXEL_BUFFER_H_