/openbmc/qemu/ui/ |
H A D | shader.c | 72 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 D | console-gl.c | 46 void surface_gl_create_texture(QemuGLShader *gls, in surface_gl_create_texture() argument 49 assert(gls); in surface_gl_create_texture() 99 void surface_gl_update_texture(QemuGLShader *gls, in surface_gl_update_texture() argument 105 assert(gls); in surface_gl_update_texture() 120 void surface_gl_render_texture(QemuGLShader *gls, in surface_gl_render_texture() argument 123 assert(gls); in surface_gl_render_texture() 128 qemu_gl_run_texture_blit(gls, false); in surface_gl_render_texture() 131 void surface_gl_destroy_texture(QemuGLShader *gls, in surface_gl_destroy_texture() argument 141 void surface_gl_setup_viewport(QemuGLShader *gls, in surface_gl_setup_viewport() argument 148 assert(gls); in surface_gl_setup_viewport()
|
H A D | sdl2-gl.c | 43 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 D | gtk-gl-area.c | 32 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() 47 if (!vc->gfx.gls) { in gd_gl_area_draw() 104 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_gl_area_draw() 105 surface_gl_render_texture(vc->gfx.gls, vc->gfx.ds); in gd_gl_area_draw() 114 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_gl_area_update() 119 surface_gl_update_texture(vc->gfx.gls, vc->gfx.ds, x, y, w, h); in gd_gl_area_update() 136 if (!vc->gfx.gls) { in gd_gl_area_refresh() 141 vc->gfx.gls = qemu_gl_init_shader(); in gd_gl_area_refresh() 143 surface_gl_create_texture(vc->gfx.gls, vc->gfx.ds); in gd_gl_area_refresh() [all …]
|
H A D | gtk-egl.c | 39 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) { in gd_egl_draw() 118 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_egl_draw() 119 surface_gl_render_texture(vc->gfx.gls, vc->gfx.ds); in gd_egl_draw() 135 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_egl_update() 141 surface_gl_update_texture(vc->gfx.gls, vc->gfx.ds, x, y, w, h); in gd_egl_update() 165 vc->gfx.gls = qemu_gl_init_shader(); in gd_egl_refresh() 167 surface_gl_destroy_texture(vc->gfx.gls, vc->gfx.ds); in gd_egl_refresh() 168 surface_gl_create_texture(vc->gfx.gls, vc->gfx.ds); in gd_egl_refresh() [all …]
|
H A D | egl-headless.c | 13 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 D | dbus.c | 67 surface_gl_create_texture(ctx->gls, surface); in dbus_create_texture() 73 surface_gl_destroy_texture(ctx->gls, surface); in dbus_destroy_texture() 80 surface_gl_update_texture(ctx->gls, surface, x, y, w, h); in dbus_update_texture() 124 dd->glctx.gls = qemu_gl_init_shader(); in dbus_display_init() 164 g_clear_pointer(&dd->glctx.gls, qemu_gl_fini_shader); in dbus_display_finalize()
|
H A D | egl-helpers.c | 189 void egl_texture_blit(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip) in egl_texture_blit() argument 195 qemu_gl_run_texture_blit(gls, flip); in egl_texture_blit() 198 void egl_texture_blend(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip, in egl_texture_blend() argument 213 qemu_gl_run_texture_blit(gls, flip); in egl_texture_blend()
|
H A D | spice-display.c | 871 surface_gl_update_texture(ssd->gls, ssd->ds, x, y, w, h); in spice_gl_update() 883 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch() 887 surface_gl_create_texture(ssd->gls, ssd->ds); in spice_gl_switch() 892 surface_gl_destroy_texture(ssd->gls, ssd->ds); in spice_gl_switch() 1099 egl_texture_blit(ssd->gls, &ssd->blit_fb, &ssd->guest_fb, in qemu_spice_gl_update() 1101 egl_texture_blend(ssd->gls, &ssd->blit_fb, &ssd->cursor_fb, in qemu_spice_gl_update() 1161 ssd->gls = qemu_gl_init_shader(); in qemu_spice_display_init_one()
|
H A D | gtk.c | 348 if (vc->gfx.gls && gtk_use_gl_area) { in gd_update_full_redraw() 763 if (vc->gfx.gls) { in gd_render_event() 811 if (vc->gfx.gls) { in gd_draw_event()
|
/openbmc/qemu/include/ui/ |
H A D | shader.h | 8 void qemu_gl_run_texture_blit(QemuGLShader *gls, bool flip); 11 void qemu_gl_fini_shader(QemuGLShader *gls);
|
H A D | console.h | 300 QemuGLShader *gls; /* optional shared shader */ member 423 void surface_gl_create_texture(QemuGLShader *gls, 425 void surface_gl_update_texture(QemuGLShader *gls, 428 void surface_gl_render_texture(QemuGLShader *gls, 430 void surface_gl_destroy_texture(QemuGLShader *gls, 432 void surface_gl_setup_viewport(QemuGLShader *gls,
|
H A D | egl-helpers.h | 37 void egl_texture_blit(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip); 38 void egl_texture_blend(QemuGLShader *gls, egl_fb *dst, egl_fb *src, bool flip,
|
H A D | sdl2.h | 49 QemuGLShader *gls; member
|
H A D | spice-display.h | 123 QemuGLShader *gls; member
|
H A D | gtk.h | 47 QemuGLShader *gls; member
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | ncsi.c | 328 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()
|