webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
wgl_utils.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2015 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 
7 // wgl_utils.h: Utility routines specific to the WGL->EGL implementation.
8 
9 #ifndef LIBANGLE_RENDERER_GL_WGL_WGLUTILS_H_
10 #define LIBANGLE_RENDERER_GL_WGL_WGLUTILS_H_
11 
12 #include <vector>
13 
14 #include "common/platform.h"
15 
16 namespace rx
17 {
18 
19 class FunctionsWGL;
20 
21 namespace wgl
22 {
23 
24 PIXELFORMATDESCRIPTOR GetDefaultPixelFormatDescriptor();
25 std::vector<int> GetDefaultPixelFormatAttributes(bool preservedSwap);
26 
27 int QueryWGLFormatAttrib(HDC dc, int format, int attribName, const FunctionsWGL *functions);
28 }
29 
30 }
31 
32 #endif // LIBANGLE_RENDERER_GL_WGL_WGLUTILS_H_
GLint GLint GLint GLsizei GLsizei GLenum format
Definition: gl2.h:403
float dc[N]
Definition: gcc-loops.cpp:30
std::vector< int > GetDefaultPixelFormatAttributes(bool preservedSwap)
Definition: wgl_utils.cpp:35
Definition: mathutil.h:804
int QueryWGLFormatAttrib(HDC dc, int format, int attribName, const FunctionsWGL *functions)
Definition: wgl_utils.cpp:73
PIXELFORMATDESCRIPTOR GetDefaultPixelFormatDescriptor()
Definition: wgl_utils.cpp:19