google-angle

How to create EGLSurface using C++/WinRT and ANGLE?

坚强是说给别人听的谎言 提交于 2021-01-28 06:44:34
问题 I'm using the Microsoft branch of the ANGLE project to have access to OpenGL in a Universal Windows application. Also I use the C++/WinRT binding to code as much in standard C++ as possible. I started from one of the examples in the ANGLE project and tried to convert the C++/CX code to C++/WinRT code, but I fail to find a solution for the part where I create an EGL Surface: mEGLSurface = eglCreateWindowSurface(mEGLDisplay, config, /*WHERE IS MY HWND?*/, NULL); In the C++/CX they use the