Home
last modified time | relevance | path

Searched full:texture (Results 1 – 25 of 83) sorted by relevance

1234

/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 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 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 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 Dspice-display.c888 fd = egl_get_fd_for_texture(ssd->ds->texture, in spice_gl_switch()
950 fprintf(stderr, "%s: failed to get fd for texture\n", __func__); in qemu_spice_gl_scanout_texture()
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()
[all …]
H A Dshader.c30 #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 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 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.c181 error_setg_win32(errp, GetLastError(), "failed to acquire texture mutex"); in d3d_texture2d_acquire0()
206 error_setg_win32(errp, GetLastError(), "failed to release texture mutex"); in d3d_texture2d_release0()
515 error_report("%s: failed to get fd for texture", __func__); in dbus_scanout_texture()
552 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/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
H A Dia_css_bnr2_2_types.h63 s32 detail_gain; /** Gain for low contrast texture control */
64 s32 detail_gain_divisor; /** Gain divisor for low contrast texture control */
65 s32 detail_level_offset; /** Bias value for low contrast texture control */
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_drv.h75 * Add texture rectangle support for r100.
87 * 1.15- Add support for texture micro tiling
90 * texture filtering on r200
99 * 1.22- Add support for texture cache flushes (R300_TX_CNTL)
H A Dr600_cs.c1460 * @texture: texture's bo structure
1467 * the texture and mipmap bo object are big enough to cover this resource.
1470 struct radeon_bo *texture, in r600_check_texture_resource() argument
1546 dev_warn(p->dev, "this kernel doesn't support %d texture dim\n", G_038000_DIM(word0)); in r600_check_texture_resource()
1550 dev_warn(p->dev, "%s:%d texture invalid format %d\n", in r600_check_texture_resource()
1581 dev_warn(p->dev, "texture blevel %d > llevel %d\n", in r600_check_texture_resource()
1593 /* using get ib will give us the offset into the texture bo */ in r600_check_texture_resource()
1594 if ((l0_size + word2) > radeon_bo_size(texture)) { in r600_check_texture_resource()
1595 dev_warn(p->dev, "texture bo too small ((%d %d) (%d %d) %d %d %d -> %d have %ld)\n", in r600_check_texture_resource()
1598 l0_size, radeon_bo_size(texture)); in r600_check_texture_resource()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Drenesas,imr.yaml15 capture data or data in an external memory as 2D texture data and performing
16 texture mapping and drawing with respect to any shape that is split into
/openbmc/qemu/include/ui/
H A Degl-helpers.h20 GLuint texture; member
31 GLuint texture, bool delete);
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0001-mesa-demos-Add-missing-data-files.patch81 +// Texture mapping/modulation added by Brian Paul
187 +//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/linux/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
H A Dia_css_tdf_types.h38 s32 eps_scale_text; /** Epsilon scaling coefficient for texture region. */
43 s32 blend_text; /** Blending ratio at texture region. */
/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/linux/drivers/gpu/drm/v3d/
H A Dv3d_gem.c24 /* Set OVRTMUOUT, which means that the texture sampler uniform in v3d_init_core()
26 * using the hardware default behavior based on the texture in v3d_init_core()
28 * "2" in the indirect texture state's output_type field. in v3d_init_core()
164 /* Invalidates texture L2 cachelines */
182 /* Cleans texture L1 and L2 cachelines (writing back dirty data).
806 * v3d_submit_tfu_ioctl() - Submits a TFU (texture formatting) job to the V3D.
899 * v3d_submit_csd_ioctl() - Submits a CSD (texture formatting) job to the V3D.
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_validate.c177 * never have a render target larger than 4096. The texture in vc4_check_tex_size()
675 DRM_DEBUG("Texture format %d unsupported\n", type); in reloc_tex()
695 /* The mipmap levels are stored before the base of the texture. Make in reloc_tex()
748 DRM_INFO("Texture p0 at %d: 0x%08x\n", sample->p_offset[0], p0); in reloc_tex()
749 DRM_INFO("Texture p1 at %d: 0x%08x\n", sample->p_offset[1], p1); in reloc_tex()
750 DRM_INFO("Texture p2 at %d: 0x%08x\n", sample->p_offset[2], p2); in reloc_tex()
751 DRM_INFO("Texture p3 at %d: 0x%08x\n", sample->p_offset[3], p3); in reloc_tex()
/openbmc/linux/include/uapi/drm/
H A Dvc4_drm.h112 /* Pointer to uniform data and texture handles for the textures
117 * uniform data has a __u32 index into bo_handles per texture
119 * the program. Following the texture BO handle indices is the actual
/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

1234