egl-helpers: add egl_texture_blit and egl_texture_blend
commit0eb50c273766be80f0a6fde635c3a2bdabd199fb
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Oct 2017 13:54:52 +0000 (10 15:54 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Oct 2017 08:25:42 +0000 (17 10:25 +0200)
tree7df553d58c76cc5caecb8949d0d460fb24773874
parent86c0522c63e84ee9a98b9cd9cf6588faba1bac23
egl-helpers: add egl_texture_blit and egl_texture_blend

egl_texture_blit() blits a texture, simliar to egl_fb_blit() but by
rendering the texture to the screen instead of using a framebuffer blit.

egl_texture_blend() renders a texture with alpha blending, will be used
to render the cursor to the screen.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20171010135453.6704-6-kraxel@redhat.com
include/ui/egl-helpers.h
ui/egl-helpers.c