| /openbmc/qemu/ui/ |
| H A D | console-gl.c | 53 if (surface->texture) { in surface_gl_create_texture() 76 glGenTextures(1, &surface->texture); in surface_gl_create_texture() 78 glBindTexture(GL_TEXTURE_2D, surface->texture); in surface_gl_create_texture() 101 int fd, GLuint *texture, in surface_gl_create_texture_from_fd() argument 106 *texture = 0; in surface_gl_create_texture_from_fd() 126 glGenTextures(1, texture); in surface_gl_create_texture_from_fd() 127 glBindTexture(GL_TEXTURE_2D, *texture); in surface_gl_create_texture_from_fd() 133 error_report("spice: cannot create texture from memory object"); in surface_gl_create_texture_from_fd() 139 glDeleteTextures(1, texture); in surface_gl_create_texture_from_fd() 155 if (surface->texture) { in surface_gl_update_texture() [all …]
|
| H A D | egl-headless.c | 88 uint32_t width, height, texture; in egl_scanout_dmabuf() local 91 texture = qemu_dmabuf_get_texture(dmabuf); in egl_scanout_dmabuf() 92 if (!texture) { in egl_scanout_dmabuf() 99 egl_scanout_texture(dcl, texture, false, width, height, 0, 0, in egl_scanout_dmabuf() 107 uint32_t width, height, texture; in egl_cursor_dmabuf() local 112 texture = qemu_dmabuf_get_texture(dmabuf); in egl_cursor_dmabuf() 113 if (!texture) { in egl_cursor_dmabuf() 119 egl_fb_setup_for_tex(&edpy->cursor_fb, width, height, texture, false); in egl_cursor_dmabuf() 148 if (!edpy->guest_fb.texture || !edpy->ds) { in egl_scanout_flush() 153 if (edpy->cursor_fb.texture) { in egl_scanout_flush()
|
| H A D | sdl2-2d.c | 40 if (!scon->texture) { in sdl2_2d_update() 51 SDL_UpdateTexture(scon->texture, &rect, in sdl2_2d_update() 55 SDL_RenderCopy(scon->real_renderer, scon->texture, NULL, NULL); in sdl2_2d_update() 70 if (scon->texture) { in sdl2_2d_switch() 71 SDL_DestroyTexture(scon->texture); in sdl2_2d_switch() 72 scon->texture = NULL; in sdl2_2d_switch() 120 scon->texture = SDL_CreateTexture(scon->real_renderer, format, in sdl2_2d_switch()
|
| H A D | egl-helpers.c | 81 glDeleteTextures(1, &fb->texture); in egl_fb_delete_texture() 98 fb->texture = 0; in egl_fb_destroy() 112 GLuint texture, bool delete) in egl_fb_setup_for_tex() argument 118 fb->texture = texture; in egl_fb_setup_for_tex() 126 GL_TEXTURE_2D, fb->texture, 0); in egl_fb_setup_for_tex() 131 GLuint texture; in egl_fb_setup_new_tex() local 133 glGenTextures(1, &texture); in egl_fb_setup_new_tex() 134 glBindTexture(GL_TEXTURE_2D, texture); in egl_fb_setup_new_tex() 138 egl_fb_setup_for_tex(fb, width, height, texture, true); in egl_fb_setup_new_tex() 201 glBindTexture(GL_TEXTURE_2D, src->texture); in egl_texture_blit() [all …]
|
| H A D | spice-display.c | 901 GLuint texture; in spice_gl_replace_fd_texture() local 915 error_report("spice: cannot replace texture with multiple planes"); in spice_gl_replace_fd_texture() 920 * We really want to ensure that the memory layout of the texture in spice_gl_replace_fd_texture() 923 if (!surface_gl_create_texture_from_fd(ssd->ds, fds[0], &texture, in spice_gl_replace_fd_texture() 925 error_report("spice: cannot create new texture from fd"); in spice_gl_replace_fd_texture() 934 ret = egl_dmabuf_export_texture(texture, in spice_gl_replace_fd_texture() 942 glDeleteTextures(1, &texture); in spice_gl_replace_fd_texture() 948 * Since we couldn't export our newly create texture (or create, in spice_gl_replace_fd_texture() 950 * recreate the fd associated with the original texture. in spice_gl_replace_fd_texture() 952 ret = egl_dmabuf_export_texture(ssd->ds->texture, in spice_gl_replace_fd_texture() [all …]
|
| H A D | dmabuf.c | 22 uint32_t texture; member 173 return dmabuf->texture; in qemu_dmabuf_get_texture() 239 void qemu_dmabuf_set_texture(QemuDmaBuf *dmabuf, uint32_t texture) in qemu_dmabuf_set_texture() argument 242 dmabuf->texture = texture; in qemu_dmabuf_set_texture()
|
| H A D | gtk-egl.c | 272 uint32_t x, y, width, height, backing_width, backing_height, texture; in gd_egl_scanout_dmabuf() 279 texture = qemu_dmabuf_get_texture(dmabuf); in gd_egl_scanout_dmabuf() 280 if (!texture) { in gd_egl_scanout_dmabuf() 292 gd_egl_scanout_texture(dcl, texture, y0_top, backing_width, backing_height, in gd_egl_scanout_dmabuf() 307 uint32_t backing_width, backing_height, texture; in gd_egl_cursor_dmabuf() 311 texture = qemu_dmabuf_get_texture(dmabuf); in gd_egl_cursor_dmabuf() 312 if (!texture) { in gd_egl_cursor_dmabuf() 319 texture, false); in gd_egl_cursor_dmabuf() 383 if (vc->gfx.cursor_fb.texture) { in gd_egl_scanout_flush() 275 uint32_t x, y, width, height, backing_width, backing_height, texture; gd_egl_scanout_dmabuf() local 310 uint32_t backing_width, backing_height, texture; gd_egl_cursor_dmabuf() local
|
| H A D | shader.c | 30 #include "ui/shader/texture-blit-vert.h" 31 #include "ui/shader/texture-blit-flip-vert.h" 32 #include "ui/shader/texture-blit-frag.h"
|
| H A D | gtk-gl-area.c | 357 uint32_t x, y, width, height, backing_width, backing_height, texture; in gd_gl_area_scanout_dmabuf() 362 texture = qemu_dmabuf_get_texture(dmabuf); in gd_gl_area_scanout_dmabuf() 363 if (!texture) { in gd_gl_area_scanout_dmabuf() 375 gd_gl_area_scanout_texture(dcl, texture, y0_top, in gtk_gl_area_init() 345 uint32_t x, y, width, height, backing_width, backing_height, texture; gd_gl_area_scanout_dmabuf() local
|
| H A D | console.c | 290 con->scanout.texture.backing_id, in displaychangelistener_display_console() 291 con->scanout.texture.backing_y_0_top, in displaychangelistener_display_console() 292 con->scanout.texture.backing_width, in displaychangelistener_display_console() 293 con->scanout.texture.backing_height, in displaychangelistener_display_console() 294 con->scanout.texture.x, in displaychangelistener_display_console() 295 con->scanout.texture.y, in displaychangelistener_display_console() 296 con->scanout.texture.width, in displaychangelistener_display_console() 297 con->scanout.texture.height, in displaychangelistener_display_console() 298 con->scanout.texture.d3d_tex2d); in displaychangelistener_display_console() 1032 con->scanout.texture = (ScanoutTexture) { in dpy_gl_scanout_texture() [all …]
|
| H A D | dbus-listener.c | 182 error_setg_win32(errp, GetLastError(), "failed to acquire texture mutex"); in d3d_texture2d_acquire0() 207 error_setg_win32(errp, GetLastError(), "failed to release texture mutex"); in d3d_texture2d_release0() 603 error_report("%s: failed to export dmabuf for texture", __func__); in dbus_scanout_texture() 640 uint32_t width, height, texture; in dbus_cursor_dmabuf() 652 texture = qemu_dmabuf_get_texture(dmabuf); in dbus_cursor_dmabuf() 653 if (!texture) { in dbus_cursor_dmabuf() 660 egl_fb_setup_for_tex(&cursor_fb, width, height, texture, false); in dbus_cursor_dmabuf() 870 dbus_scanout_texture(&ddl->dcl, ddl->ds->texture, false, in dbus_gfx_switch() 632 uint32_t width, height, texture; dbus_cursor_dmabuf() local
|
| H A D | dbus-display1.xml | 571 specific Direct3D texture sharing of the scanouts. 576 …@handle: the NT handle for the shared texture (to be opened back with ID3D11Device1::OpenSharedRes… 577 @texture_width: texture width, in pixels. 578 @texture_height: texture height, in pixels. 585 Resize and update the display content with a Direct3D 11 2D texture. 606 Update the display content with the current Direct3D 2D texture and the given region.
|
| /openbmc/qemu/ui/shader/ |
| H A D | meson.build | 2 ['texture-blit', 'frag'], 3 ['texture-blit', 'vert'], 4 ['texture-blit-flip', 'vert'],
|
| H A D | texture-blit.frag | 8 out_frag_color = texture(image, ex_tex_coord);
|
| /openbmc/qemu/hw/display/ |
| H A D | apple-gfx.m | 239 id<MTLTexture> texture = s->texture; 242 [texture retain]; 254 texture:texture 257 [texture release]; 260 "%s: encodeCurrentFrameToCommandBuffer:texture:region: " 274 [blit synchronizeResource:texture]; 277 [texture release]; 289 static void copy_mtl_texture_to_surface_mem(id<MTLTexture> texture, void *vram) 296 size_t width = texture.width, height = texture.height; 298 [texture getBytes:vram [all …]
|
| H A D | apple-gfx.h | 52 id<MTLTexture> texture; member
|
| /openbmc/qemu/include/ui/ |
| H A D | egl-helpers.h | 22 GLuint texture; member 33 GLuint texture, bool delete);
|
| H A D | dmabuf.h | 48 void qemu_dmabuf_set_texture(QemuDmaBuf *dmabuf, uint32_t texture);
|
| H A D | surface.h | 24 GLuint texture; member
|
| H A D | sdl2.h | 34 SDL_Texture *texture; member
|
| H A D | console.h | 197 ScanoutTexture texture; member 426 int fd, GLuint *texture,
|
| /openbmc/openbmc/meta-raspberrypi/recipes-graphics/raspidmx/raspidmx/ |
| H A D | 0006-game-Makefile-install-sample-png-files.patch | 21 + install -m 444 spotlight.png sprite.png texture.png $(DESTDIR)/usr/share/raspidmx
|
| /openbmc/openbmc/poky/scripts/contrib/bb-perf/ |
| H A D | bb-matrix-plot.sh | 38 XY plane rather than as the texture for the surface
|
| /openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
| H A D | 0003-wayland-Add-Wayland-example.patch | 167 +/** Texture coordinates for the quad. */ 284 +// pointers to texture buffers 636 + // Bind texture surface to current vertices 673 + * Description: Initialise OGL|ES texture surfaces to use image 681 + // load three texture buffers but use them on six OGL|ES texture surfaces 685 + // setup first texture 692 + // setup second texture - reuse first image 699 + // third texture 706 + // fourth texture - reuse second image 713 + //fifth texture [all …]
|
| /openbmc/qemu/tests/functional/ |
| H A D | test_aarch64_virt_gpu.py | |