Home
last modified time | relevance | path

Searched refs:egl_data (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/
A DSDL_egl.c100 _this->egl_data->NAME = SDL_LoadFunction(_this->egl_data->dll_handle, #NAME); \
101 if (!_this->egl_data->NAME) \
109 _this->egl_data->NAME = _this->egl_data->eglGetProcAddress(#NAME);
265 if (_this->egl_data) { in SDL_EGL_UnloadLibrary()
267 _this->egl_data->eglTerminate(_this->egl_data->egl_display); in SDL_EGL_UnloadLibrary()
297 if (_this->egl_data) { in SDL_EGL_LoadLibraryOnly()
762 if (_this->egl_data->eglChooseConfig(_this->egl_data->egl_display, in SDL_EGL_ChooseConfig()
775 _this->egl_data->eglGetConfigAttrib(_this->egl_data->egl_display, in SDL_EGL_ChooseConfig()
790 _this->egl_data->eglGetConfigAttrib(_this->egl_data->egl_display, in SDL_EGL_ChooseConfig()
1012 if (!_this->egl_data->eglMakeCurrent(_this->egl_data->egl_display, in SDL_EGL_MakeCurrent()
[all …]
A DSDL_egl_c.h137 …sage, eglFunctionName) SDL_EGL_SetErrorEx(message, eglFunctionName, _this->egl_data->eglGetError())
A DSDL_sysvideo.h400 struct SDL_EGL_VideoData *egl_data; member
/AliOS-Things-master/components/SDL2/src/video/winrt/
A DSDL_winrtopengles.cpp89 …_this->egl_data->egl_display = ((eglGetDisplay_Old_Function)_this->egl_data->eglGetDisplay)(cpp_di… in WINRT_GLES_LoadLibrary()
90 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary()
94 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) { in WINRT_GLES_LoadLibrary()
143 …_this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISP… in WINRT_GLES_LoadLibrary()
144 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary()
148 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) in WINRT_GLES_LoadLibrary()
155 …_this->egl_data->egl_display = eglGetPlatformDisplayEXT(EGL_PLATFORM_ANGLE_ANGLE, EGL_DEFAULT_DISP… in WINRT_GLES_LoadLibrary()
156 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary()
160 … if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) { in WINRT_GLES_LoadLibrary()
165 if (!_this->egl_data->egl_display) { in WINRT_GLES_LoadLibrary()
[all …]
A DSDL_winrtvideo.cpp618 …data->egl_surface = ((eglCreateWindowSurface_Old_Function)_this->egl_data->eglCreateWindowSurface)( in WINRT_CreateWindow()
619 _this->egl_data->egl_display, in WINRT_CreateWindow()
620 _this->egl_data->egl_config, in WINRT_CreateWindow()
630 data->egl_surface = _this->egl_data->eglCreateWindowSurface( in WINRT_CreateWindow()
631 _this->egl_data->egl_display, in WINRT_CreateWindow()
632 _this->egl_data->egl_config, in WINRT_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenopengles.c32 #define LOAD_FUNC(NAME) _this->egl_data->NAME = NAME;
39 _this->egl_data = (struct SDL_EGL_VideoData *) SDL_calloc(1, sizeof(SDL_EGL_VideoData)); in Emscripten_GLES_LoadLibrary()
40 if (!_this->egl_data) { in Emscripten_GLES_LoadLibrary()
47 _this->egl_data->eglGetProcAddress = (void *(EGLAPIENTRY *)(const char *)) eglGetProcAddress; in Emscripten_GLES_LoadLibrary()
67 _this->egl_data->egl_display = _this->egl_data->eglGetDisplay(EGL_DEFAULT_DISPLAY); in Emscripten_GLES_LoadLibrary()
68 if (!_this->egl_data->egl_display) { in Emscripten_GLES_LoadLibrary()
72 if (_this->egl_data->eglInitialize(_this->egl_data->egl_display, NULL, NULL) != EGL_TRUE) { in Emscripten_GLES_LoadLibrary()
A DSDL_emscriptenvideo.c253 if (!_this->egl_data) { in Emscripten_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmopengles.c45 if (!_this->egl_data) { in SDL_EGL_CreateContext_impl()
50 _this->egl_data->egl_swapinterval = interval; in SDL_EGL_CreateContext_impl()
100 … if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, windata->egl_surface))) { in KMSDRM_GLES_SwapWindow()
187 … if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, windata->egl_surface))) { in KMSDRM_GLES_SwapWindow()
A DSDL_kmsdrmvideo.c778 if (!_this->egl_data) { in KMSDRM_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/x11/
A DSDL_x11opengles.c69 if (!_this->egl_data) { in X11_GLES_GetVisual()
74 if (_this->egl_data->eglGetConfigAttrib(_this->egl_data->egl_display, in X11_GLES_GetVisual()
75 _this->egl_data->egl_config, in X11_GLES_GetVisual()
A DSDL_x11window.c640 if (!_this->egl_data) { in X11_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpiopengles.c49 if (!(_this->egl_data->eglSwapBuffers(_this->egl_data->egl_display, wdata->egl_surface))) { in RPI_GLES_SwapWindow()
A DSDL_rpivideo.c324 if (!_this->egl_data) { in RPI_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/offscreen/
A DSDL_offscreenwindow.c54 if (!_this->egl_data) { in OFFSCREEN_CreateWindow()
62 _this->egl_data->egl_display); in OFFSCREEN_CreateWindow()
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsopengles.c53 if (_this->egl_data == NULL) { in WIN_GLES_LoadLibrary()
111 if (_this->egl_data == NULL) { in SDL_EGL_MakeCurrent_impl()
/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoaopengles.m53 if (_this->egl_data == NULL) {
111 if (_this->egl_data == NULL) {

Completed in 22 milliseconds