Path: blob/main_old/src/libGL/entry_points_wgl.h
1693 views
//1// Copyright 2019 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//5// entry_points_wgl.h: Declares the exported WGL functions.67#ifndef LIBGL_WGL_H_8#define LIBGL_WGL_H_910// Define _GDI32_ so that wingdi.h doesn't declare functions as imports11#ifndef _GDI32_12# define _GDI32_13#endif1415#include "angle_gl.h"1617#include "WGL/wgl.h"1819extern "C" {2021// WGL 1.022int GL_APIENTRY wglChoosePixelFormat(HDC hDc, const PIXELFORMATDESCRIPTOR *pPfd);2324int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd);2526UINT GL_APIENTRY wglGetEnhMetaFilePixelFormat(HENHMETAFILE hemf,27UINT cbBuffer,28PIXELFORMATDESCRIPTOR *ppfd);2930int GL_APIENTRY wglGetPixelFormat(HDC hdc);3132BOOL GL_APIENTRY wglSetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);3334BOOL GL_APIENTRY wglSwapBuffers(HDC hdc);3536} // extern "C"3738#endif // LIBGL_WGL_H_394041