Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/src/libGL/entry_points_wgl.h
1693 views
1
//
2
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
5
//
6
// entry_points_wgl.h: Declares the exported WGL functions.
7
8
#ifndef LIBGL_WGL_H_
9
#define LIBGL_WGL_H_
10
11
// Define _GDI32_ so that wingdi.h doesn't declare functions as imports
12
#ifndef _GDI32_
13
# define _GDI32_
14
#endif
15
16
#include "angle_gl.h"
17
18
#include "WGL/wgl.h"
19
20
extern "C" {
21
22
// WGL 1.0
23
int GL_APIENTRY wglChoosePixelFormat(HDC hDc, const PIXELFORMATDESCRIPTOR *pPfd);
24
25
int GL_APIENTRY wglDescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, PIXELFORMATDESCRIPTOR *ppfd);
26
27
UINT GL_APIENTRY wglGetEnhMetaFilePixelFormat(HENHMETAFILE hemf,
28
UINT cbBuffer,
29
PIXELFORMATDESCRIPTOR *ppfd);
30
31
int GL_APIENTRY wglGetPixelFormat(HDC hdc);
32
33
BOOL GL_APIENTRY wglSetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR *ppfd);
34
35
BOOL GL_APIENTRY wglSwapBuffers(HDC hdc);
36
37
} // extern "C"
38
39
#endif // LIBGL_WGL_H_
40
41