Retracing EGL trace on windows
José Fonseca
jose.r.fonseca at gmail.com
Tue Oct 16 13:27:02 UTC 2018
EGL is not supported on Windows. Only WGL is.
There was a half baked attempt to support it on
https://github.com/apitrace/apitrace/commits/angle
But unless you really must use Windows, I'd just recommend using the same
or another EGL emulator on Linux.
Jose
On Tue, Oct 16, 2018 at 1:03 PM Vikas Patil <vikasmpatil at gmail.com> wrote:
> Hi All,
>
> I am trying EGL/GLES trace to retrace on Windows using arm emulation
> library. I have created the new tracer using following files but getting
> following error.
>
> Anyone here tried this use case of apitrace? Any pointers to debug further
> this issue would be very helpful?
>
> > eglretrace_win.exe EGLWLMockNavigation.trace
>
> GL renderer: [Intel(R) HD Graphics 520]
> GL vendor:[Intel]
> GL version: [3.3.0 - Build 23.20.16.4973]
> GL shading language version: [3.30 - Build 23.20.16.4973]
> 10: debug: error: unavailable function glGetString
> error: unavailable function glGetString
>
> --- a/retrace/CMakeLists.txt
> +++ b/retrace/CMakeLists.txt
> @@ -202,6 +202,27 @@ if (ENABLE_EGL AND ENABLE_WAFFLE)
> install (TARGETS eglretrace RUNTIME DESTINATION bin)
> endif ()
>
> +if (WIN32 AND ENABLE_EGL AND ENABLE_WAFFLE)
> + add_executable (eglretrace_win
> + glws_win_egl.cpp
> + ${ws_os}
> + )
> +
> + add_dependencies (eglretrace_win glproc_egl)
> +
> + target_link_libraries (eglretrace_win
> + retrace_common
> + glretrace_common
> + glhelpers
> + glproc
> + glproc_egl
> + ${CMAKE_THREAD_LIBS_INIT}
> + ${CMAKE_DL_LIBS}
> + )
> +
> + install (TARGETS eglretrace_win RUNTIME DESTINATION bin)
> +endif ()
> +
>
> Thank you.
>
> Best Regards,
> Vikash
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/apitrace/attachments/20181016/4ddbaf89/attachment.html>
More information about the apitrace
mailing list