Home
last modified time | relevance | path

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

12

/openbmc/qemu/ui/
H A Degl-helpers.c80 glDeleteTextures(1, &fb->texture); in egl_fb_delete_texture()
95 fb->texture = 0; in egl_fb_destroy()
107 GLuint texture, bool delete) in egl_fb_setup_for_tex() argument
113 fb->texture = texture; in egl_fb_setup_for_tex()
121 GL_TEXTURE_2D, fb->texture, 0); in egl_fb_setup_for_tex()
126 GLuint texture; in egl_fb_setup_new_tex() local
128 glGenTextures(1, &texture); in egl_fb_setup_new_tex()
129 glBindTexture(GL_TEXTURE_2D, texture); in egl_fb_setup_new_tex()
133 egl_fb_setup_for_tex(fb, width, height, texture, true); in egl_fb_setup_new_tex()
194 glBindTexture(GL_TEXTURE_2D, src->texture); in egl_texture_blit()
[all …]
H A Dconsole-gl.c52 if (surface->texture) { in surface_gl_create_texture()
75 glGenTextures(1, &surface->texture); in surface_gl_create_texture()
77 glBindTexture(GL_TEXTURE_2D, surface->texture); in surface_gl_create_texture()
107 if (surface->texture) { in surface_gl_update_texture()
108 glBindTexture(GL_TEXTURE_2D, surface->texture); in surface_gl_update_texture()
134 if (!surface || !surface->texture) { in surface_gl_destroy_texture()
137 glDeleteTextures(1, &surface->texture); in surface_gl_destroy_texture()
138 surface->texture = 0; in surface_gl_destroy_texture()
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 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 Ddmabuf.c20 uint32_t texture; member
135 return dmabuf->texture; in qemu_dmabuf_get_texture()
201 void qemu_dmabuf_set_texture(QemuDmaBuf *dmabuf, uint32_t texture) in qemu_dmabuf_set_texture() argument
204 dmabuf->texture = texture; in qemu_dmabuf_set_texture()
H A Dgtk-egl.c271 uint32_t x, y, width, height, backing_width, backing_height, texture; in gd_egl_scanout_dmabuf() local
278 texture = qemu_dmabuf_get_texture(dmabuf); in gd_egl_scanout_dmabuf()
279 if (!texture) { in gd_egl_scanout_dmabuf()
291 gd_egl_scanout_texture(dcl, texture, y0_top, backing_width, backing_height, in gd_egl_scanout_dmabuf()
306 uint32_t backing_width, backing_height, texture; in gd_egl_cursor_dmabuf() local
310 texture = qemu_dmabuf_get_texture(dmabuf); in gd_egl_cursor_dmabuf()
311 if (!texture) { in gd_egl_cursor_dmabuf()
318 texture, false); in gd_egl_cursor_dmabuf()
356 if (vc->gfx.cursor_fb.texture) { in gd_egl_scanout_flush()
H A Dgtk-gl-area.c306 uint32_t x, y, width, height, backing_width, backing_height, texture; in gd_gl_area_scanout_dmabuf() local
311 texture = qemu_dmabuf_get_texture(dmabuf); in gd_gl_area_scanout_dmabuf()
312 if (!texture) { in gd_gl_area_scanout_dmabuf()
324 gd_gl_area_scanout_texture(dcl, texture, y0_top, in gd_gl_area_scanout_dmabuf()
H A Dspice-display.c888 fd = egl_get_fd_for_texture(ssd->ds->texture, in spice_gl_switch()
980 uint32_t width, height, texture; in qemu_spice_gl_cursor_dmabuf() local
989 texture = qemu_dmabuf_get_texture(dmabuf); in qemu_spice_gl_cursor_dmabuf()
990 if (!texture) { in qemu_spice_gl_cursor_dmabuf()
995 egl_fb_setup_for_tex(&ssd->cursor_fb, width, height, texture, false); in qemu_spice_gl_cursor_dmabuf()
1033 uint32_t width, height, texture; in qemu_spice_gl_update() local
1039 if (ssd->cursor_fb.texture) { in qemu_spice_gl_update()
1055 texture = qemu_dmabuf_get_texture(dmabuf); in qemu_spice_gl_update()
1056 if (!texture) { in qemu_spice_gl_update()
1062 texture, false); in qemu_spice_gl_update()
[all …]
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.c552 uint32_t width, height, texture; in dbus_cursor_dmabuf() local
564 texture = qemu_dmabuf_get_texture(dmabuf); in dbus_cursor_dmabuf()
565 if (!texture) { in dbus_cursor_dmabuf()
572 egl_fb_setup_for_tex(&cursor_fb, width, height, texture, false); in dbus_cursor_dmabuf()
782 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/include/ui/
H A Degl-helpers.h20 GLuint texture; member
31 GLuint texture, bool delete);
H A Dsurface.h24 GLuint texture; member
H A Ddmabuf.h43 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
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0001-mesa-demos-Add-missing-data-files.patch187 +//texture offsets
526 +// Multi-texture fragment shader
529 +// Composite second texture over first.
530 +// We're assuming the 2nd texture has a meaningful alpha channel.
551 +// Multi-texture vertex shader
571 +// Multi-texture fragment shader
574 +// Composite second texture over first.
575 +// We're assuming the 2nd texture has a meaningful alpha channel.
594 +// Multi-texture vertex shader
/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/linux/drivers/char/agp/
H A DKconfig14 If you need more texture memory than you can get with the AGP GART
17 and have up to a couple gigs of texture space.
/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/linux/drivers/gpu/drm/radeon/
H A Dr600_cs.c1470 struct radeon_bo *texture, in r600_check_texture_resource() argument
1594 if ((l0_size + word2) > radeon_bo_size(texture)) { in r600_check_texture_resource()
1598 l0_size, radeon_bo_size(texture)); in r600_check_texture_resource()
1954 struct radeon_bo *texture, *mipmap; in r600_packet3_check() local
1972 texture = reloc->robj; in r600_packet3_check()
1982 texture, mipmap, in r600_packet3_check()
H A Devergreen_cs.c753 struct radeon_bo *texture, in evergreen_cs_track_validate_texture() argument
851 if (toffset > radeon_bo_size(texture)) { in evergreen_cs_track_validate_texture()
856 depth, radeon_bo_size(texture), in evergreen_cs_track_validate_texture()
2347 struct radeon_bo *texture, *mipmap; in evergreen_packet3_check() local
2376 texture = reloc->robj; in evergreen_packet3_check()
2400 r = evergreen_cs_track_validate_texture(p, texture, mipmap, idx+1+(i*8)); in evergreen_packet3_check()
/openbmc/linux/Documentation/fb/
H A Dsisfb.rst22 used by DRM/DRI for 3D texture and other data. This memory management is

12