~mmach/netext73/webkit2gtk

« back to all changes in this revision

Viewing changes to Source/ThirdParty/ANGLE/src/libGL/entry_points_wgl.h

  • Committer: mmach
  • Date: 2023-06-16 17:21:37 UTC
  • Revision ID: netbit73@gmail.com-20230616172137-2rqx6yr96ga9g3kp
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_