//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// OSPixmap.h: Definition of an abstract pixmap class78#ifndef SAMPLE_UTIL_PIXMAP_H_9#define SAMPLE_UTIL_PIXMAP_H_1011#include <stdlib.h>1213#include <EGL/egl.h>14#include <EGL/eglext.h>1516#include "util/Event.h"17#include "util/util_export.h"1819class ANGLE_UTIL_EXPORT OSPixmap20{21public:22OSPixmap() {}23virtual ~OSPixmap() {}2425virtual bool initialize(EGLNativeDisplayType display,26size_t width,27size_t height,28int nativeVisual) = 0;2930virtual EGLNativePixmapType getNativePixmap() const = 0;31};3233ANGLE_UTIL_EXPORT OSPixmap *CreateOSPixmap();3435#endif // SAMPLE_UTIL_PIXMAP_H_363738