Bugzilla – Attachment 563 Details for
Bug 915
GLES2 and GLES3 contexts rejected on Mesa/AMD where ES3 is available since 2.1.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
Trivial test program
TestES2.java (text/plain), 1.23 KB, created by
Mark Raynsford
on 2013-12-02 01:13:59 CET
(
hide
)
Description:
Trivial test program
Filename:
MIME Type:
Creator:
Mark Raynsford
Created:
2013-12-02 01:13:59 CET
Size:
1.23 KB
patch
obsolete
>package joglbugs; > >import javax.media.opengl.GLAutoDrawable; >import javax.media.opengl.GLCapabilities; >import javax.media.opengl.GLEventListener; >import javax.media.opengl.GLProfile; > >import com.jogamp.newt.opengl.GLWindow; >import com.jogamp.opengl.util.FPSAnimator; > >public final class TestES2 >{ > public static void main( > final String args[]) > { > final GLProfile pro = GLProfile.get(GLProfile.GLES2); > final GLCapabilities caps = new GLCapabilities(pro); > final GLWindow window = GLWindow.create(caps); > > window.setSize(640, 480); > window.addGLEventListener(new GLEventListener() { > @Override public void reshape( > final GLAutoDrawable drawable, > final int w, > final int h, > final int x, > final int y) > { > // Nothing > } > > @Override public void init( > final GLAutoDrawable drawable) > { > // Nothing > } > > @Override public void dispose( > final GLAutoDrawable drawable) > { > // Nothing > } > > @Override public void display( > final GLAutoDrawable drawable) > { > // Nothing > } > }); > > final FPSAnimator animator = new FPSAnimator(window, 60); > animator.start(); > window.setVisible(true); > } >}
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 Raw
Actions:
View
Attachments on
bug 915
:
562
| 563 |
564