Home
last modified time | relevance | path

Searched refs:sdl_window (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirevents.c88 HandleMouseButton(SDL_Window* sdl_window, Uint8 state, MirPointerEvent const* pointer) in HandleMouseButton() argument
121 SDL_SendMouseButton(sdl_window, 0, state, sdl_button); in HandleMouseButton()
125 HandleMouseMotion(SDL_Window* sdl_window, int x, int y) in HandleMouseMotion() argument
128 SDL_SendMouseMotion(sdl_window, 0, mouse->relative_mode, x, y); in HandleMouseMotion()
144 HandleMouseScroll(SDL_Window* sdl_window, int hscroll, int vscroll) in HandleMouseScroll() argument
146 SDL_SendMouseWheel(sdl_window, 0, hscroll, vscroll, SDL_MOUSEWHEEL_NORMAL); in HandleMouseScroll()
157 HandleTouchEvent(MirTouchEvent const* touch, int device_id, SDL_Window* sdl_window) in HandleTouchEvent() argument
167 int width = sdl_window->w; in HandleTouchEvent()
168 int height = sdl_window->h; in HandleTouchEvent()
195 HandleMouseEvent(MirPointerEvent const* pointer, SDL_Window* sdl_window) in HandleMouseEvent() argument
[all …]
DSDL_mirframebuffer.h34 MIR_CreateWindowFramebuffer(_THIS, SDL_Window* sdl_window, Uint32* format,
38 MIR_UpdateWindowFramebuffer(_THIS, SDL_Window* sdl_window,
42 MIR_DestroyWindowFramebuffer(_THIS, SDL_Window* sdl_window);
DSDL_mirwindow.h35 SDL_Window* sdl_window; member
DSDL_mirwindow.c100 mir_window->sdl_window = window; in MIR_CreateWindow()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/
Dsdlshare2.c44 static SDL_Window *sdl_window; variable
133 SDL_GL_SwapWindow (sdl_window); in DrawGLScene()
179 SDL_GL_MakeCurrent (sdl_window, sdl_gl_context); in executeCallback()
181 SDL_GL_MakeCurrent (sdl_window, NULL); in executeCallback()
321 sdl_window = in main()
324 if (sdl_window == NULL) { in main()
330 sdl_gl_context = SDL_GL_CreateContext (sdl_window); in main()
339 SDL_GL_MakeCurrent (sdl_window, sdl_gl_context); in main()
350 SDL_GetWindowWMInfo (sdl_window, &info); in main()
412 SDL_DestroyWindow (sdl_window); in main()
Dsdlshare.c139 static SDL_Window *sdl_window; variable
323 SDL_GL_SwapWindow (sdl_window); in DrawGLScene()
421 SDL_GL_MakeCurrent (sdl_window, sdl_gl_context); in sdl_event_loop()
506 SDL_GL_MakeCurrent (sdl_window, NULL); in sdl_event_loop()
551 sdl_window = in main()
554 if (sdl_window == NULL) { in main()
561 sdl_gl_context = SDL_GL_CreateContext (sdl_window); in main()
563 SDL_GL_MakeCurrent (sdl_window, sdl_gl_context); in main()
572 SDL_GetWindowWMInfo (sdl_window, &info); in main()
595 SDL_GL_MakeCurrent (sdl_window, NULL); in main()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/
DSDL_DirectFB_opengl.c194 context->sdl_window = window; in DirectFB_GL_CreateContext()
269 if (p->sdl_window == window && p->is_locked) in DirectFB_GL_SwapWindow()
307 if (p->sdl_window == window) in DirectFB_GL_FreeWindowContexts()
321 if (p->sdl_window == window) in DirectFB_GL_ReAllocWindowContexts()
337 if (p->sdl_window == window) in DirectFB_GL_DestroyWindowContexts()
DSDL_DirectFB_opengl.h38 SDL_Window *sdl_window; member