blob: d4914b5d399bce4afcdd0c1539430ed4fb6e5ba4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
//
// Copyright (c) 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// wgl_utils.h: Utility routines specific to the WGL->EGL implementation.
#ifndef LIBANGLE_RENDERER_GL_WGL_WGLUTILS_H_
#define LIBANGLE_RENDERER_GL_WGL_WGLUTILS_H_
#include <vector>
#include "common/platform.h"
namespace rx
{
class FunctionsWGL;
namespace wgl
{
PIXELFORMATDESCRIPTOR GetDefaultPixelFormatDescriptor();
std::vector<int> GetDefaultPixelFormatAttributes(bool preservedSwap);
int QueryWGLFormatAttrib(HDC dc, int format, int attribName, const FunctionsWGL *functions);
}
}
#endif // LIBANGLE_RENDERER_GL_WGL_WGLUTILS_H_
|