Path: blob/main_old/util/windows/win32/Win32Pixmap.h
1693 views
//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// Win32Pixmap.h: Definition of the implementation of OSPixmap for Win32 (Windows)78#ifndef UTIL_WIN32_PIXMAP_H_9#define UTIL_WIN32_PIXMAP_H_1011#include <windows.h>1213#include "util/OSPixmap.h"1415class Win32Pixmap : public OSPixmap16{17public:18Win32Pixmap();19~Win32Pixmap() override;2021bool initialize(EGLNativeDisplayType display, size_t width, size_t height, int depth) override;2223EGLNativePixmapType getNativePixmap() const override;2425private:26HBITMAP mBitmap;27};2829#endif // UTIL_WIN32_PIXMAP_H_303132