Home
last modified time | relevance | path

Searched refs:gls (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/ui/
H A Dshader.c72 void qemu_gl_run_texture_blit(QemuGLShader *gls, bool flip) in qemu_gl_run_texture_blit() argument
75 ? gls->texture_blit_flip_prog in qemu_gl_run_texture_blit()
76 : gls->texture_blit_prog); in qemu_gl_run_texture_blit()
77 glBindVertexArray(gls->texture_blit_vao); in qemu_gl_run_texture_blit()
154 QemuGLShader *gls = g_new0(QemuGLShader, 1); in qemu_gl_init_shader() local
156 gls->texture_blit_prog = qemu_gl_create_compile_link_program in qemu_gl_init_shader()
158 gls->texture_blit_flip_prog = qemu_gl_create_compile_link_program in qemu_gl_init_shader()
160 if (!gls->texture_blit_prog || !gls->texture_blit_flip_prog) { in qemu_gl_init_shader()
164 gls->texture_blit_vao = in qemu_gl_init_shader()
165 qemu_gl_init_texture_blit(gls->texture_blit_prog); in qemu_gl_init_shader()
[all …]
H A Dconsole-gl.c47 void surface_gl_create_texture(QemuGLShader *gls, in surface_gl_create_texture() argument
50 assert(gls); in surface_gl_create_texture()
147 void surface_gl_update_texture(QemuGLShader *gls, in surface_gl_update_texture() argument
153 assert(gls); in surface_gl_update_texture()
168 void surface_gl_render_texture(QemuGLShader *gls, in surface_gl_render_texture() argument
171 assert(gls); in surface_gl_render_texture()
176 qemu_gl_run_texture_blit(gls, false); in surface_gl_render_texture()
179 void surface_gl_destroy_texture(QemuGLShader *gls, in surface_gl_destroy_texture() argument
195 void surface_gl_setup_viewport(QemuGLShader *gls, in surface_gl_setup_viewport() argument
202 assert(gls); in surface_gl_setup_viewport()
H A Dsdl2-gl.c43 surface_gl_destroy_texture(scon->gls, scon->surface); in sdl2_set_scanout_mode()
44 surface_gl_create_texture(scon->gls, scon->surface); in sdl2_set_scanout_mode()
57 surface_gl_setup_viewport(scon->gls, scon->surface, ww, wh); in sdl2_gl_render_surface()
59 surface_gl_render_texture(scon->gls, scon->surface); in sdl2_gl_render_surface()
75 surface_gl_update_texture(scon->gls, scon->surface, x, y, w, h); in sdl2_gl_update()
88 surface_gl_destroy_texture(scon->gls, scon->surface); in sdl2_gl_switch()
93 qemu_gl_fini_shader(scon->gls); in sdl2_gl_switch()
94 scon->gls = NULL; in sdl2_gl_switch()
101 scon->gls = qemu_gl_init_shader(); in sdl2_gl_switch()
108 surface_gl_create_texture(scon->gls, scon->surface); in sdl2_gl_switch()
H A Dgtk-gl-area.c32 surface_gl_destroy_texture(vc->gfx.gls, vc->gfx.ds); in gtk_gl_area_set_scanout_mode()
33 surface_gl_create_texture(vc->gfx.gls, vc->gfx.ds); in gtk_gl_area_set_scanout_mode()
51 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_gl_area_draw()
140 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, pw, ph); in gd_gl_area_draw()
141 surface_gl_render_texture(vc->gfx.gls, vc->gfx.ds); in gd_gl_area_draw()
150 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_gl_area_update()
155 surface_gl_update_texture(vc->gfx.gls, vc->gfx.ds, x, y, w, h); in gd_gl_area_update()
187 if (!vc->gfx.gls) { in gd_gl_area_refresh()
192 vc->gfx.gls = qemu_gl_init_shader(); in gd_gl_area_refresh()
194 surface_gl_create_texture(vc->gfx.gls, v in gd_gl_area_refresh()
[all...]
H A Dgtk-egl.c39 surface_gl_destroy_texture(vc->gfx.gls, vc->gfx.ds); in gtk_egl_set_scanout_mode()
40 surface_gl_create_texture(vc->gfx.gls, vc->gfx.ds); in gtk_egl_set_scanout_mode()
75 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_egl_draw()
118 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, pw, ph); in gd_egl_draw()
119 surface_gl_render_texture(vc->gfx.gls, vc->gfx.ds); in gd_egl_draw()
136 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_egl_update()
142 surface_gl_update_texture(vc->gfx.gls, vc->gfx.ds, x, y, w, h); in gd_egl_update()
166 vc->gfx.gls = qemu_gl_init_shader(); in gd_egl_refresh()
168 surface_gl_destroy_texture(vc->gfx.gls, vc->gfx.ds); in gd_egl_refresh()
169 surface_gl_create_texture(vc->gfx.gls, v in gd_egl_refresh()
[all...]
H A Degl-headless.c13 QemuGLShader *gls; member
155 egl_texture_blit(edpy->gls, &edpy->blit_fb, &edpy->guest_fb, in egl_scanout_flush()
157 egl_texture_blend(edpy->gls, &edpy->blit_fb, &edpy->cursor_fb, in egl_scanout_flush()
236 edpy->gls = qemu_gl_init_shader(); in egl_headless_init()
H A Ddbus.c66 surface_gl_create_texture(ctx->gls, surface); in dbus_create_texture()
72 surface_gl_destroy_texture(ctx->gls, surface); in dbus_destroy_texture()
79 surface_gl_update_texture(ctx->gls, surface, x, y, w, h); in dbus_update_texture()
123 dd->glctx.gls = qemu_gl_init_shader(); in dbus_display_init()
163 g_clear_pointer(&dd->glctx.gls, qemu_gl_fini_shader); in dbus_display_finalize()
H A Degl-helpers.c196 void egl_texture_blit(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip) in egl_texture_blit() argument
202 qemu_gl_run_texture_blit(gls, flip); in egl_texture_blit()
205 void egl_texture_blend(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip, in egl_texture_blend() argument
220 qemu_gl_run_texture_blit(gls, flip); in egl_texture_blend()
H A Dspice-display.c892 surface_gl_update_texture(ssd->gls, ssd->ds, x, y, w, h); in spice_gl_update()
960 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_replace_fd_texture()
964 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_replace_fd_texture()
1000 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch()
1008 surface_gl_create_texture(ssd->gls, ssd->ds); in spice_gl_switch()
1016 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch()
1022 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch()
1327 egl_texture_blit(ssd->gls, &ssd->blit_fb, &ssd->guest_fb, in qemu_spice_gl_update()
1329 egl_texture_blend(ssd->gls, &ssd->blit_fb, &ssd->cursor_fb, in qemu_spice_gl_update()
1407 ssd->gls = qemu_gl_init_shader(); in qemu_spice_display_init_one()
H A Dgtk.c346 if (vc->gfx.gls && gtk_use_gl_area) { in gd_update_full_redraw()
762 if (vc->gfx.gls) { in gd_render_event()
910 if (vc->gfx.gls) { in gd_draw_event()
/openbmc/qemu/include/ui/
H A Dshader.h8 void qemu_gl_run_texture_blit(QemuGLShader *gls, bool flip);
11 void qemu_gl_fini_shader(QemuGLShader *gls);
H A Degl-helpers.h39 void egl_texture_blit(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip);
40 void egl_texture_blend(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip,
H A Dconsole.h300 QemuGLShader *gls; /* optional shared shader */ member
423 void surface_gl_create_texture(QemuGLShader *gls,
428 void surface_gl_update_texture(QemuGLShader *gls,
431 void surface_gl_render_texture(QemuGLShader *gls,
433 void surface_gl_destroy_texture(QemuGLShader *gls,
435 void surface_gl_setup_viewport(QemuGLShader *gls,
H A Dsdl2.h49 QemuGLShader *gls; member
H A Dspice-display.h123 QemuGLShader *gls; member
H A Dgtk.h48 QemuGLShader *gls; member
/openbmc/u-boot/drivers/net/phy/
H A Dncsi.c328 struct ncsi_rsp_gls_pkt *gls = (struct ncsi_rsp_gls_pkt *)pkt; in ncsi_rsp_gls() local
329 struct ncsi_rsp_pkt_hdr *rsp = (struct ncsi_rsp_pkt_hdr *)&gls->rsp; in ncsi_rsp_gls()
343 !!(get_unaligned_be32(&gls->status)); in ncsi_rsp_gls()