Home
last modified time | relevance | path

Searched refs:texture (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/qemu/ui/
H A Dconsole-gl.c53 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()
139 glDeleteTextures(1, texture); in surface_gl_create_texture_from_fd()
155 if (surface->texture) { in surface_gl_update_texture()
156 glBindTexture(GL_TEXTURE_2D, surface->texture); in surface_gl_update_texture()
[all …]
H A Dsdl2-2d.c40 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 Degl-helpers.c81 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 Degl-headless.c88 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 Ddmabuf.c22 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 Dgtk-egl.c275 uint32_t x, y, width, height, backing_width, backing_height, texture; in gd_egl_scanout_dmabuf() local
282 texture = qemu_dmabuf_get_texture(dmabuf); in gd_egl_scanout_dmabuf()
283 if (!texture) { in gd_egl_scanout_dmabuf()
295 gd_egl_scanout_texture(dcl, texture, y0_top, backing_width, backing_height, in gd_egl_scanout_dmabuf()
310 uint32_t backing_width, backing_height, texture; in gd_egl_cursor_dmabuf() local
314 texture = qemu_dmabuf_get_texture(dmabuf); in gd_egl_cursor_dmabuf()
315 if (!texture) { in gd_egl_cursor_dmabuf()
322 texture, false); in gd_egl_cursor_dmabuf()
386 if (vc->gfx.cursor_fb.texture) { in gd_egl_scanout_flush()
H A Dspice-display.c901 GLuint texture; in spice_gl_replace_fd_texture() local
923 if (!surface_gl_create_texture_from_fd(ssd->ds, fds[0], &texture, 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()
952 ret = egl_dmabuf_export_texture(ssd->ds->texture, in spice_gl_replace_fd_texture()
965 ssd->ds->texture = texture; in spice_gl_replace_fd_texture()
1009 if (!egl_dmabuf_export_texture(ssd->ds->texture, in spice_gl_switch()
1144 uint32_t width, height, texture; in qemu_spice_gl_cursor_dmabuf() local
1153 texture = qemu_dmabuf_get_texture(dmabuf); in qemu_spice_gl_cursor_dmabuf()
1154 if (!texture) { in qemu_spice_gl_cursor_dmabuf()
[all …]
H A Dgtk-gl-area.c345 uint32_t x, y, width, height, backing_width, backing_height, texture; in gd_gl_area_scanout_dmabuf() local
350 texture = qemu_dmabuf_get_texture(dmabuf); in gd_gl_area_scanout_dmabuf()
351 if (!texture) { in gd_gl_area_scanout_dmabuf()
363 gd_gl_area_scanout_texture(dcl, texture, y0_top, in gd_gl_area_scanout_dmabuf()
H A Dconsole.c290 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 Ddbus-listener.c632 uint32_t width, height, texture; in dbus_cursor_dmabuf() local
644 texture = qemu_dmabuf_get_texture(dmabuf); in dbus_cursor_dmabuf()
645 if (!texture) { in dbus_cursor_dmabuf()
652 egl_fb_setup_for_tex(&cursor_fb, width, height, texture, false); in dbus_cursor_dmabuf()
862 dbus_scanout_texture(&ddl->dcl, ddl->ds->texture, false, in dbus_gl_gfx_switch()
/openbmc/qemu/ui/shader/
H A Dmeson.build2 ['texture-blit', 'frag'],
3 ['texture-blit', 'vert'],
4 ['texture-blit-flip', 'vert'],
H A Dtexture-blit.frag8 out_frag_color = texture(image, ex_tex_coord);
/openbmc/qemu/hw/display/
H A Dapple-gfx.m239 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 Dapple-gfx.h52 id<MTLTexture> texture; member
/openbmc/qemu/include/ui/
H A Degl-helpers.h22 GLuint texture; member
33 GLuint texture, bool delete);
H A Dsurface.h24 GLuint texture; member
H A Ddmabuf.h48 void qemu_dmabuf_set_texture(QemuDmaBuf *dmabuf, uint32_t texture);
H A Dsdl2.h34 SDL_Texture *texture; member
H A Dconsole.h197 ScanoutTexture texture; member
426 int fd, GLuint *texture,
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/raspidmx/raspidmx/
H A D0006-game-Makefile-install-sample-png-files.patch21 + install -m 444 spotlight.png sprite.png texture.png $(DESTDIR)/usr/share/raspidmx
/openbmc/openbmc/poky/scripts/contrib/bb-perf/
H A Dbb-matrix-plot.sh38 XY plane rather than as the texture for the surface
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/
H A D0003-wayland-Add-Wayland-example.patch284 +// 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
720 + // sixth texture - reuse third image
[all …]
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch3456 + GLuint texture;
3463 + tex->DeleteTextures(1, &tex->texture);
3492 + .texture = 0,
3588 + tc->vt->GenTextures(1, &tex->texture);
3589 + tc->vt->BindTexture(GL_TEXTURE_EXTERNAL_OES, tex->texture);
3646 +// tc->vt->BindTexture(GL_TEXTURE_EXTERNAL_OES, tex->texture);
3651 + textures[0] = tex->texture;
7999 + GLuint texture;
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch13420 + GLuint texture;
13790 + if (da->texture == 0) {
13859 + glGenTextures(1, &da->texture);
13860 + glBindTexture(GL_TEXTURE_EXTERNAL_OES, da->texture);
13874 + glBindTexture(GL_TEXTURE_EXTERNAL_OES, da->texture);
13878 + glDeleteTextures(1, &da->texture);
13879 + da->texture = 0;
/openbmc/
Dopengrok1.0.log[all...]

12