mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
8b1e4a1ad0
* [WINRT] Enable logging on __WINRT__ and bypass verbosidy in debug * [UWP] wrong configuration prevents GLES to compile, common functions defines GL symbols * [UWP] configure project to allow OPENGL on default configuration and copy MESA DLLs into UWP release * [UWP] add MESA headers * [UWP] add MESA EGL.lib needed for GLES context. However HAVE_OPENGL is better as GL cores use desktop version, so this is left for reference and to make the solution build with HAVE_OPENGLES * [UWP] UWP is missing some GDI function definitions, implemented into MESA Gallium * [UWP] Configure Release project too * [UWP] Add mesa alpha-2 release dlls * [UWP] allow griffin and vide_driver to have an OPENGL context * [UWP] allow wgl context to work with mesa under WINRT * [UWP] BUG: have to modify height/width getters and align them to MESA because the screen resolution is not right in gl context. Pending further investigation * [UWP] fix ANGLE build * [UWP] remove duplicate import code. * (UWP) Cleanup filters file * MESA screen destroy fix and Yabasanshiro hack. Align to alpha-2-hack tag --------- Co-authored-by: Gabriel Morazán <35014183+GABO1423@users.noreply.github.com>
38 lines
715 B
C
38 lines
715 B
C
#ifndef UWPGDI_H_
|
|
#define UWPGDI_H_
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <GL/gl.h>
|
|
|
|
#if !defined(_GDI32_)
|
|
#define WINGDIAPI_UWP __declspec(dllimport)
|
|
#else
|
|
#define WINGDIAPI_UWP __declspec(dllexport)
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Undeclared APIs exported by libgallium on UWP
|
|
*/
|
|
|
|
WINGDIAPI_UWP HGLRC WINAPI wglCreateContext(HDC);
|
|
WINGDIAPI_UWP BOOL WINAPI wglDeleteContext(HGLRC);
|
|
WINGDIAPI_UWP BOOL WINAPI wglMakeCurrent(HDC, HGLRC);
|
|
WINGDIAPI_UWP BOOL APIENTRY wglSwapBuffers(HDC hdc);
|
|
WINGDIAPI_UWP PROC APIENTRY wglGetProcAddress(LPCSTR lpszProc);
|
|
WINGDIAPI_UWP BOOL APIENTRY wglShareLists(
|
|
HGLRC unnamedParam1,
|
|
HGLRC unnamedParam2
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif UWPGDI_H_
|