- 17 10月, 2017 2 次提交
-
-
由 Gerd Hoffmann 提交于
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: NGerd Hoffmann <kraxel@redhat.com> Message-id: 20171010135453.6704-6-kraxel@redhat.com
-
由 Gerd Hoffmann 提交于
Add helper function to import a dma-buf as opengl texture. Also add a helper to release the texture again. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Message-id: 20171010135453.6704-5-kraxel@redhat.com
-
- 29 9月, 2017 1 次提交
-
-
由 Gerd Hoffmann 提交于
Rename the functions to to say "setup" instead of "create" because they support being called multiple times on the same egl framebuffer. Properly delete unused textures, update function interfaces to support this. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Message-id: 20170927115031.12063-1-kraxel@redhat.com
-
- 21 6月, 2017 1 次提交
-
-
由 Gerd Hoffmann 提交于
Add a collection of egl_fb_*() helper functions to manage and use opengl framebuffers, which is a common pattern in UI code with opengl support. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Message-id: 20170614084149.31314-2-kraxel@redhat.com
-
- 12 5月, 2017 2 次提交
-
-
由 Gerd Hoffmann 提交于
When running on gtk we need X11 platform not mesa platform. Create separate functions for mesa and x11 so we can keep the egl #ifdef mess local to egl-helpers.c Fixes: 0ea1523fSigned-off-by: NGerd Hoffmann <kraxel@redhat.com> Message-id: 20170505104101.30589-4-kraxel@redhat.com
-
由 Gerd Hoffmann 提交于
Leftover from the early opengl days. Unused now, so delete the dead code. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20170505104101.30589-3-kraxel@redhat.com
-
- 20 2月, 2017 1 次提交
-
-
由 Marc-André Lureau 提交于
When multiple GPU are available, picking the first one isn't always the best choice. Learn to specify a device rendernode. Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Message-id: 20170212112118.16044-1-marcandre.lureau@redhat.com Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
- 23 2月, 2016 1 次提交
-
-
由 Gerd Hoffmann 提交于
Adds helpers to open a drm render node and create a opengl context for it. Also add a helper to export a texture as dma-buf. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
-
- 03 2月, 2016 1 次提交
-
-
由 Gerd Hoffmann 提交于
Drop leftover prototype which sneaked in by mistake Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Reviewed-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
-
- 29 5月, 2015 1 次提交
-
-
由 Gerd Hoffmann 提交于
Add helper functions to initialize OpenGL using egl. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com> Reviewed-by: NMax Reitz <mreitz@redhat.com>
-