mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
cairo: resolve opengl version
Cairo can either be built for use with OpenGL or OpenGLES. By default it assumes it can use OpenGL if X11 is provided as a distro feature. This assumption is not true when using the proprietary SGX / Rogue drivers. Vulkan libraries need some X libs at runtime now, so we need to manually override the PACKAGECONFIG for cairo to use OpenGLES. Signed-off-by: Randolph Sapp <rs@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
050ac64a1e
commit
16b50c8854
1
meta-ti-bsp/recipes-graphics/cairo/cairo_%.bbappend
Normal file
1
meta-ti-bsp/recipes-graphics/cairo/cairo_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
require ${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-cairo.inc', '', d)}
|
||||
5
meta-ti-bsp/recipes-graphics/cairo/pvr-cairo.inc
Normal file
5
meta-ti-bsp/recipes-graphics/cairo/pvr-cairo.inc
Normal file
@@ -0,0 +1,5 @@
|
||||
# This is required since cairo expects the opengl distro feature to refer to
|
||||
# the desktop version of OpenGL. Imagination drivers only provide OpenGLES.
|
||||
|
||||
PACKAGECONFIG:remove = "opengl"
|
||||
PACKAGECONFIG:append = " glesv2"
|
||||
Reference in New Issue
Block a user