Bugzilla – Attachment 707 Details for
Bug 1177
libnewt.so: undefined symbol: bcm_host_init" when Screen is initialized before OpenGL, commonly seen on Raspberry Pi using Processing 3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
commit-5667e43-Fix1177.patch
commit-5667e43-Fix1177.patch (text/plain), 1.25 KB, created by
Xerxes Rånby
on 2015-07-17 14:51:51 CEST
(
hide
)
Description:
commit-5667e43-Fix1177.patch
Filename:
MIME Type:
Creator:
Xerxes Rånby
Created:
2015-07-17 14:51:51 CEST
Size:
1.25 KB
patch
obsolete
>commit 5667e4320443289a1c0bd02f54bf466bfc2c5895 >Author: Xerxes RÃ¥nby <xerxes@gudinna.com> >Date: Fri Jul 17 14:16:58 2015 +0200 > > bcm/vc/iv/DisplayDriver depend on libEGL, pre-load it using GLProfile > > Fixes libnewt.so: undefined symbol: bcm_host_init" > when the NEWT Screen is initialized before OpenGL ES. > > Signed-off-by: Xerxes RÃ¥nby <xerxes@gudinna.com> > >diff --git a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java >index 3d3fde4..d111e85 100644 >--- a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java >+++ b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java >@@ -40,6 +40,7 @@ import com.jogamp.common.nio.Buffers; > import com.jogamp.common.util.IOUtil; > import com.jogamp.opengl.egl.EGL; > import com.jogamp.opengl.util.PNGPixelRect; >+import com.jogamp.opengl.GLProfile; > > import jogamp.newt.DisplayImpl; > import jogamp.newt.NEWTJNILibLoader; >@@ -52,6 +53,7 @@ public class DisplayDriver extends DisplayImpl { > > static { > NEWTJNILibLoader.loadNEWT(); >+ GLProfile.initSingleton(); > > if (!DisplayDriver.initIDs()) { > throw new NativeWindowException("Failed to initialize bcm.vc.iv Display jmethodIDs");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1177
: 707