blob: d4914b5d399bce4afcdd0c1539430ed4fb6e5ba4 [file] [log] [blame]
//
// 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_