//1// Copyright 2015 The ANGLE Project Authors. All rights reserved.2// Use of this source code is governed by a BSD-style license that can be3// found in the LICENSE file.4//56// X11Pixmap.h: Definition of the implementation of OSPixmap for X1178#ifndef UTIL_X11_PIXMAP_H_9#define UTIL_X11_PIXMAP_H_1011#include <X11/Xlib.h>12#include <X11/Xutil.h>1314#include "util/OSPixmap.h"1516class X11Pixmap : public OSPixmap17{18public:19X11Pixmap();20~X11Pixmap() override;2122bool initialize(EGLNativeDisplayType display,23size_t width,24size_t height,25int nativeVisual) override;2627EGLNativePixmapType getNativePixmap() const override;2829private:30Pixmap mPixmap;31Display *mDisplay;32};3334#endif // UTIL_X11_PIXMAP_H_353637