aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-newt.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-11-23 17:22:39 +0100
committerSven Gothel <[email protected]>2019-11-23 17:22:39 +0100
commit976e89ff24da3b2cdf206e8ef8f222f54fb467de (patch)
treec8fc6a0f5e8d8cc81042459a48d86249c5ca4f42 /make/build-newt.xml
parentbb83bd2df5723ed145f59e9bd5d212de6c4daba8 (diff)
Bug 1156: GBM: Bring up incl GL rendering (TODO: GBM working page flip / sync)
- EGLSurface: Factor out 'eglCreate[Platform]WindowSurface' NEWT egl.gbm.WindowDriver -- Properly use GBM fourcc format and use as visualID for GBM surface creation and EGL config selection -- Create eglSurface within this class -- Hook up GBM/DRM page flip (not working yet, no visible artifacts - no swap) - ProxySurfaceImpl.surfaceSwap() call upstreamSurface's implementation if available TODO: 'Permission denied' calling: - drmSetMaster (optional) - drmModeSetCrtc - drmModePageFlip
Diffstat (limited to 'make/build-newt.xml')
-rw-r--r--make/build-newt.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/make/build-newt.xml b/make/build-newt.xml
index ac791add2..541077b9d 100644
--- a/make/build-newt.xml
+++ b/make/build-newt.xml
@@ -526,9 +526,10 @@
</linker>
<linker id="linker.cfg.linux.newt.egl_gbm" extends="linker.cfg.linux">
- <syslibset libs="EGL"/>
- <syslibset libs="gbm"/>
<syslibset libs="drm"/>
+ <syslibset libs="gbm"/>
+ <syslibset libs="EGL"/>
+ <syslibset libs="GLESv2"/>
</linker>
<linker id="linker.cfg.linux.newt.x11" extends="linker.cfg.linux">
@@ -556,8 +557,12 @@
<syslibset libs="Xi"/>
<!--syslibset libs="xcb" /-->
<!--syslibset libs="X11-xcb" /-->
- <syslibset libs="gbm"/> <!-- FIXME -->
- <syslibset libs="drm"/> <!-- FIXME -->
+ <syslibset libs="gbm"/>
+ <!--
+ <syslibset libs="drm"/>
+ <syslibset libs="gbm"/>
+ <syslibset libs="EGL"/>
+ <syslibset libs="GLESv2"/> -->
</linker>
<linker id="linker.cfg.linux.armv6.newt.x11" extends="linker.cfg.linux.armv6">
@@ -897,6 +902,7 @@
<include name="${rootrel.src.c}/bcm_egl.c" if="setup.addNativeBroadcom"/>
<include name="${rootrel.src.c}/bcm_vc_iv.c" if="setup.addNativeBroadcom"/>
<include name="${rootrel.src.c}/egl_gbm.c" if="setup.addNativeEGLGBM"/>
+ <include name="${rootrel.src.c}/egl_gbm_drmflip.c" if="setup.addNativeEGLGBM"/>
</patternset>
<echo message="Compiling @{output.lib.name}" />