diff options
Diffstat (limited to 'host/libs/virglrenderer')
-rw-r--r-- | host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.cpp | 1 | ||||
-rw-r--r-- | host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.cpp b/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.cpp index fe0cbfb4a..c068ee3b2 100644 --- a/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.cpp +++ b/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.cpp @@ -44,6 +44,7 @@ bool init_egl_dispatch() { } LIST_RENDER_EGL_FUNCTIONS(RENDER_EGL_LOAD_FIELD) LIST_RENDER_EGL_EXTENSIONS_FUNCTIONS(RENDER_EGL_LOAD_OPTIONAL_FIELD) + LIST_RENDER_EGL_SNAPSHOT_FUNCTIONS(RENDER_EGL_LOAD_FIELD) return true; } diff --git a/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.h b/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.h index a361954fe..58102e95a 100644 --- a/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.h +++ b/host/libs/virglrenderer/OpenGLESDispatch/EGLDispatch.h @@ -17,6 +17,7 @@ #include "OpenGLESDispatch/RenderEGL_functions.h" #include "OpenGLESDispatch/RenderEGL_extensions_functions.h" +#include "OpenGLESDispatch/RenderEGL_snapshot_functions.h" // This header is used to define the EGLDispatch structure that contains // pointers to the EGL shared library used by libOpenglRender. Normally, @@ -39,11 +40,13 @@ // Define function typedefs. LIST_RENDER_EGL_FUNCTIONS(RENDER_EGL_DEFINE_TYPE) LIST_RENDER_EGL_EXTENSIONS_FUNCTIONS(RENDER_EGL_DEFINE_TYPE) +LIST_RENDER_EGL_SNAPSHOT_FUNCTIONS(RENDER_EGL_DEFINE_TYPE) // Define EGLDispatch structure. struct EGLDispatch { LIST_RENDER_EGL_FUNCTIONS(RENDER_EGL_DECLARE_MEMBER) LIST_RENDER_EGL_EXTENSIONS_FUNCTIONS(RENDER_EGL_DECLARE_MEMBER) + LIST_RENDER_EGL_SNAPSHOT_FUNCTIONS(RENDER_EGL_DECLARE_MEMBER) }; // Initialize EGLDispatch function. Return true on success, false on failure. |