Home
last modified time | relevance | path

Searched refs:egl_window (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/common/fuchsia_egl/
Dfuchsia_egl.c30 fuchsia_egl_window *egl_window = malloc(sizeof(*egl_window)); in fuchsia_egl_window_create() local
31 egl_window->magic = FUCHSIA_EGL_WINDOW_MAGIC; in fuchsia_egl_window_create()
32 egl_window->image_pipe_handle = image_pipe_handle; in fuchsia_egl_window_create()
33 egl_window->width = width; in fuchsia_egl_window_create()
34 egl_window->height = height; in fuchsia_egl_window_create()
35 return egl_window; in fuchsia_egl_window_create()
38 void fuchsia_egl_window_destroy(fuchsia_egl_window *egl_window) in fuchsia_egl_window_destroy() argument
40 ZX_ASSERT(egl_window->magic == FUCHSIA_EGL_WINDOW_MAGIC); in fuchsia_egl_window_destroy()
41 if (egl_window->image_pipe_handle != ZX_HANDLE_INVALID) in fuchsia_egl_window_destroy()
43 zx_handle_close(egl_window->image_pipe_handle); in fuchsia_egl_window_destroy()
[all …]
Dfuchsia_egl.h27 void fuchsia_egl_window_destroy(fuchsia_egl_window *egl_window);
30 void fuchsia_egl_window_resize(fuchsia_egl_window *egl_window, int32_t width, int32_t height);
33 int32_t fuchsia_egl_window_get_width(fuchsia_egl_window *egl_window);
36 int32_t fuchsia_egl_window_get_height(fuchsia_egl_window *egl_window);
Dfuchsia_egl_backend.h19 zx_handle_t fuchsia_egl_window_release_image_pipe(fuchsia_egl_window *egl_window);
/external/wayland/egl/
Dwayland-egl.c39 wl_egl_window_resize(struct wl_egl_window *egl_window, in wl_egl_window_resize() argument
46 egl_window->width = width; in wl_egl_window_resize()
47 egl_window->height = height; in wl_egl_window_resize()
48 egl_window->dx = dx; in wl_egl_window_resize()
49 egl_window->dy = dy; in wl_egl_window_resize()
51 if (egl_window->resize_callback) in wl_egl_window_resize()
52 egl_window->resize_callback(egl_window, egl_window->driver_private); in wl_egl_window_resize()
59 struct wl_egl_window *egl_window; in wl_egl_window_create() local
64 egl_window = calloc(1, sizeof *egl_window); in wl_egl_window_create()
65 if (!egl_window) in wl_egl_window_create()
[all …]
Dwayland-egl-core.h44 wl_egl_window_destroy(struct wl_egl_window *egl_window);
47 wl_egl_window_resize(struct wl_egl_window *egl_window,
52 wl_egl_window_get_attached_size(struct wl_egl_window *egl_window,
/external/angle/src/libANGLE/renderer/vulkan/fuchsia/
DWindowSurfaceVkFuchsia.cpp33 fuchsia_egl_window *egl_window = reinterpret_cast<fuchsia_egl_window *>(window); in isValidNativeWindow() local
34 return fuchsia_egl_window_get_width(egl_window) >= 0; in isValidNativeWindow()
42 fuchsia_egl_window *egl_window = reinterpret_cast<fuchsia_egl_window *>(mNativeWindowType); in createSurfaceVk() local
46 createInfo.imagePipeHandle = fuchsia_egl_window_release_image_pipe(egl_window); in createSurfaceVk()
56 fuchsia_egl_window *egl_window = reinterpret_cast<fuchsia_egl_window *>(mNativeWindowType); in getCurrentWindowSize() local
58 int32_t width = fuchsia_egl_window_get_width(egl_window); in getCurrentWindowSize()
59 int32_t height = fuchsia_egl_window_get_height(egl_window); in getCurrentWindowSize()
/external/libkmsxx/kmscube/
Dcube-wl.cpp19 struct wl_egl_window* egl_window; member
46 wl_egl_window_resize(window->egl_window, width, height, 0, 0); in shell_surface_configure()
63 window->egl_window = wl_egl_window_create(window->surface, width, height); in create_window()
68 wl_egl_window_destroy(window->egl_window); in delete_window()
88 EglSurface surface(egl, window.egl_window); in main_wl()