mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
console-gl: add opengl rendering helper functions
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
parent
985e1c9b00
commit
cd2bc889e5
9 changed files with 247 additions and 1 deletions
10
ui/shader/texture-blit.frag
Normal file
10
ui/shader/texture-blit.frag
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
#version 300 es
|
||||
|
||||
uniform sampler2D image;
|
||||
in mediump vec2 ex_tex_coord;
|
||||
out mediump vec4 out_frag_color;
|
||||
|
||||
void main(void) {
|
||||
out_frag_color = texture(image, ex_tex_coord);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue