Home
last modified time | relevance | path

Searched refs:native_window (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/android/
A DSDL_androidwindow.c74 data->native_window = Android_JNI_GetNativeWindow(); in Android_CreateWindow()
76 if (!data->native_window) { in Android_CreateWindow()
85 data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->native_window); in Android_CreateWindow()
88 ANativeWindow_release(data->native_window); in Android_CreateWindow()
135 if (!data || !data->native_window) { in Android_SetWindowFullscreen()
136 if (data && !data->native_window) { in Android_SetWindowFullscreen()
145 int new_w = ANativeWindow_getWidth(data->native_window); in Android_SetWindowFullscreen()
146 int new_h = ANativeWindow_getHeight(data->native_window); in Android_SetWindowFullscreen()
181 if (data->native_window) { in Android_DestroyWindow()
182 ANativeWindow_release(data->native_window); in Android_DestroyWindow()
[all …]
A DSDL_androidwindow.h43 ANativeWindow *native_window; member
A DSDL_androidvulkan.c161 createInfo.window = windowData->native_window; in Android_Vulkan_CreateSurface()
/AliOS-Things-master/components/SDL2/src/video/vivante/
A DSDL_vivantevideo.c292 …data->native_window = vdkCreateWindow(displaydata->native_display, window->x, window->y, window->w… in VIVANTE_CreateWindow()
294 …data->native_window = videodata->fbCreateWindow(displaydata->native_display, window->x, window->y,… in VIVANTE_CreateWindow()
296 if (!data->native_window) { in VIVANTE_CreateWindow()
302 data->egl_surface = SDL_EGL_CreateSurface(_this, data->native_window); in VIVANTE_CreateWindow()
329 if (data->native_window) { in VIVANTE_DestroyWindow()
331 vdkDestroyWindow(data->native_window); in VIVANTE_DestroyWindow()
333 videodata->fbDestroyWindow(data->native_window); in VIVANTE_DestroyWindow()
347 vdkSetWindowTitle(data->native_window, window->title); in VIVANTE_SetWindowTitle()
368 vdkShowWindow(data->native_window); in VIVANTE_ShowWindow()
379 vdkHideWindow(data->native_window); in VIVANTE_HideWindow()
[all …]
A DSDL_vivantevideo.h61 EGLNativeWindowType native_window; member
/AliOS-Things-master/components/SDL2/test/
A Dtestnative.c38 static void *native_window; variable
46 if (native_window) { in quit()
47 factory->DestroyNativeWindow(native_window); in quit()
157 native_window = factory->CreateNativeWindow(WINDOW_W, WINDOW_H); in main()
158 if (!native_window) { in main()
162 window = SDL_CreateWindowFrom(native_window); in main()
/AliOS-Things-master/components/SDL2/src/video/khronos/EGL/
A Degl.h294 …lCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttr…
A Deglext.h790 …LATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint …
794 …eatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint …
/AliOS-Things-master/components/SDL2/src/core/android/
A DSDL_android.c991 data->native_window = Android_JNI_GetNativeWindow(); in SDL_JAVA_INTERFACE()
992 if (data->native_window == NULL) { in SDL_JAVA_INTERFACE()
1012 … data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->native_window); in SDL_JAVA_INTERFACE()
1052 if (data->native_window) { in SDL_JAVA_INTERFACE()
1053 ANativeWindow_release(data->native_window); in SDL_JAVA_INTERFACE()
1054 data->native_window = NULL; in SDL_JAVA_INTERFACE()
/AliOS-Things-master/components/SDL2/include/
A DSDL_egl.h775 …lCreatePlatformWindowSurface (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLAttr…
1381 …LATFORMWINDOWSURFACEEXTPROC) (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint …
1385 …eatePlatformWindowSurfaceEXT (EGLDisplay dpy, EGLConfig config, void *native_window, const EGLint …

Completed in 23 milliseconds