|
Lines 40-45
import com.jogamp.common.nio.Buffers;
Link Here
|
| 40 |
import com.jogamp.common.util.IOUtil; |
40 |
import com.jogamp.common.util.IOUtil; |
| 41 |
import com.jogamp.opengl.egl.EGL; |
41 |
import com.jogamp.opengl.egl.EGL; |
| 42 |
import com.jogamp.opengl.util.PNGPixelRect; |
42 |
import com.jogamp.opengl.util.PNGPixelRect; |
|
|
43 |
import com.jogamp.opengl.GLProfile; |
| 43 |
|
44 |
|
| 44 |
import jogamp.newt.DisplayImpl; |
45 |
import jogamp.newt.DisplayImpl; |
| 45 |
import jogamp.newt.NEWTJNILibLoader; |
46 |
import jogamp.newt.NEWTJNILibLoader; |
|
Lines 52-57
public class DisplayDriver extends DisplayImpl {
Link Here
|
| 52 |
|
53 |
|
| 53 |
static { |
54 |
static { |
| 54 |
NEWTJNILibLoader.loadNEWT(); |
55 |
NEWTJNILibLoader.loadNEWT(); |
|
|
56 |
GLProfile.initSingleton(); |
| 55 |
|
57 |
|
| 56 |
if (!DisplayDriver.initIDs()) { |
58 |
if (!DisplayDriver.initIDs()) { |
| 57 |
throw new NativeWindowException("Failed to initialize bcm.vc.iv Display jmethodIDs"); |
59 |
throw new NativeWindowException("Failed to initialize bcm.vc.iv Display jmethodIDs"); |