aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed typos in javadocKenneth Russel2008-06-271-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1699 232f8b59-042b-4e1e-8c03-345bb8c30851
* Mac OS X port of new JOGL and Newt. Currently leverages the AWT; willKenneth Russel2008-06-2721-63/+517
| | | | | | | | | | | | | | | | re-host Newt on lower level code when a port to an AWT-less Mac OS X-based mobile device is done. Added support to NativeWindow and Newt for wrapping a Java-based window from a toolkit like the AWT, and added appropriate code to the GLDrawableFactory implementations to recognize and handle these NativeWindows. Fixed naming of native method for JAWT_DrawingSurfaceInfo.platformInfo0(). Fixed linker definition on Mac and cleaned up Windows variants. Fixed intptr_t definitions in ES1 and ES2 native code. Added workaround for GLU type reference in com.sun.opengl.util.texture.Texture. Fixed bugs in Newt event dispatching. Tested with RedSquare demo on Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1698 232f8b59-042b-4e1e-8c03-345bb8c30851
* 2nd round cdcfp - compile clean.Sven Gothel2008-06-267-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | FIXME: java.nio.ByteOrder usage. gl-impl-CustomJavaCode-gles1.java gl-impl-CustomJavaCode-gles2.java Commented out usage of java.nio.ByteOrder, ie. ByteBuffer.order(java.nio.ByteOrder.nativeOrder()), since it is not available on JSR 239 cdcfp .. Removed mipmap functionality in GLU and GLUes1, since the mipmap implementation is heavily using java.nio.ByteOrder (see above) Removed classes/packages: com/sun/opengl/impl/glu/mipmap/** com/sun/opengl/util/texture/** com/sun/opengl/util/io/TGAWriter.java com/sun/opengl/impl/GLPbufferImpl.java since they are heavily using java.nio.ByteOrder (see above) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1697 232f8b59-042b-4e1e-8c03-345bb8c30851
* Unifying NativeWindow's getWindowHandle() and getSurfaceHandle() usage for ↵Sven Gothel2008-06-2611-41/+43
| | | | | | | | | | all platforms. On platform's where no distinction of window and surface handle exists, e.g. X11, the window handle is naturally returned by the default 'getSurfaceHandle()' implementation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1696 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added getSurfaceHandle() to NativeWindow abstraction in support of Kenneth Russel2008-06-2613-32/+107
| | | | | | | | | | | | Windows platform where there is a distinction between the window handle (HWND) and window surface (HDC). WGL implementation now refers to window surface instead of window handle. JAWT implementation returns same value for both window handle and window surface. Newt creates window surface on demand; unneeded for EGL binding. RedSquare demo now runs on Windows with Newt + GL2. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1695 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bug fixes to compile and run on Windows. Added more debugging code. Kenneth Russel2008-06-268-64/+85
| | | | | | | | | Not working yet due to mismatch between Newt's getWindowHandle(), which returns an HWND, and the WGL code, which expects an HDC. Work still ongoing. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1694 232f8b59-042b-4e1e-8c03-345bb8c30851
* 1st cdcfp cleanup roundSven Gothel2008-06-2617-109/+68
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1693 232f8b59-042b-4e1e-8c03-345bb8c30851
* Implemented linker configurations for Solaris (32-bit currently --Kenneth Russel2008-06-262-95/+20
| | | | | | | | | | | sparcv9 and amd64 not yet tested). Deleted stub XF86VidMode entry points from glx-CustomCCode.c. ES1 and ES2 linker configurations on all platforms were unneeded because all entry points (EGL, GLES1, GLES2) are dynamically looked up; removed these. RedSquare demo is now working on Solaris/x86. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1692 232f8b59-042b-4e1e-8c03-345bb8c30851
* merging awt,j2d,swing to awt subpackagesSven Gothel2008-06-2610-15/+13
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1691 232f8b59-042b-4e1e-8c03-345bb8c30851
* removing relocated filesSven Gothel2008-06-2661-17571/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1690 232f8b59-042b-4e1e-8c03-345bb8c30851
* removinbg relocated filesSven Gothel2008-06-2641-6586/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1689 232f8b59-042b-4e1e-8c03-345bb8c30851
* misc ..Sven Gothel2008-06-262-2/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1688 232f8b59-042b-4e1e-8c03-345bb8c30851
* re-adding accidently removed filesSven Gothel2008-06-2670-0/+13347
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1687 232f8b59-042b-4e1e-8c03-345bb8c30851
* re-adding accidently removed filesSven Gothel2008-06-2628-0/+10262
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1686 232f8b59-042b-4e1e-8c03-345bb8c30851
* Auto GL profile selection working (GLES1 and GL2 (X11))Sven Gothel2008-06-251-2/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1685 232f8b59-042b-4e1e-8c03-345bb8c30851
* Auto GL profile selection; New GLReflection (refactoring of common ↵Sven Gothel2008-06-258-154/+233
| | | | | | relfections); Fixes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1684 232f8b59-042b-4e1e-8c03-345bb8c30851
* GLES1 NEWT X11 - RedSquare - workingSven Gothel2008-06-257-13/+27
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1683 232f8b59-042b-4e1e-8c03-345bb8c30851
* javadoc fixes, adding etc/profile.joglSven Gothel2008-06-252-1/+96
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1682 232f8b59-042b-4e1e-8c03-345bb8c30851
* build script props to force linux-x86 on linux-amd64Sven Gothel2008-06-251-0/+11
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1681 232f8b59-042b-4e1e-8c03-345bb8c30851
* Native Compilation: Partitioning and X11 cleanSven Gothel2008-06-2517-73/+294
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1680 232f8b59-042b-4e1e-8c03-345bb8c30851
* native compilation clean: X11Sven Gothel2008-06-254-41/+45
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1679 232f8b59-042b-4e1e-8c03-345bb8c30851
* relocated to jawt packageSven Gothel2008-06-244-401/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1678 232f8b59-042b-4e1e-8c03-345bb8c30851
* re-add accidently removed filesSven Gothel2008-06-2453-0/+16187
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1677 232f8b59-042b-4e1e-8c03-345bb8c30851
* re-addSven Gothel2008-06-247-0/+1092
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1676 232f8b59-042b-4e1e-8c03-345bb8c30851
* JAWT package cleanup ..Sven Gothel2008-06-2416-25/+974
| | | | | | | re adding accidently removed files git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1675 232f8b59-042b-4e1e-8c03-345bb8c30851
* re-adding files ..Sven Gothel2008-06-2438-0/+6330
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1674 232f8b59-042b-4e1e-8c03-345bb8c30851
* generate OS dependent native code in a separate directorySven Gothel2008-06-2416-29/+57
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1673 232f8b59-042b-4e1e-8c03-345bb8c30851
* - added doxygen.cfgSven Gothel2008-06-245-16/+1302
| | | | | | | - fixed jar partitioning git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1672 232f8b59-042b-4e1e-8c03-345bb8c30851
* finishing 2nd refactoringSven Gothel2008-06-21173-63561/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1671 232f8b59-042b-4e1e-8c03-345bb8c30851
* 2nd big refactoring.Sven Gothel2008-06-2117-1493/+2788
| | | | | | | | | | | | | | | | | | | | | | Goals are orthogonal components for: - OS Windowing system - NEWT, X11, Windows, MacOsX - GL Windowing GLUE - EGL, GLX, WGL, CGL - GL profiles - core and util packages - generate all Java components from any platform All above goals are achieved. TODO: - Native compilation fix and test - Check/Fix Win32, MacOSX and the mobile devices - .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1670 232f8b59-042b-4e1e-8c03-345bb8c30851
* *** empty log message ***Sven Gothel2008-06-2118-173/+4522
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1669 232f8b59-042b-4e1e-8c03-345bb8c30851
* 2nd big refactoring.Sven Gothel2008-06-211-1355/+0
| | | | | | | | | | | | | | | | | | | | | | Goals are orthogonal components for: - OS Windowing system - NEWT, X11, Windows, MacOsX - GL Windowing GLUE - EGL, GLX, WGL, CGL - GL profiles - core and util packages - generate all Java components from any platform All above goals are achieved. TODO: - Native compilation fix and test - Check/Fix Win32, MacOSX and the mobile devices - .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1668 232f8b59-042b-4e1e-8c03-345bb8c30851
* 2nd big refactoring.Sven Gothel2008-06-214-0/+401
| | | | | | | | | | | | | | | | | | | | | | Goals are orthogonal components for: - OS Windowing system - NEWT, X11, Windows, MacOsX - GL Windowing GLUE - EGL, GLX, WGL, CGL - GL profiles - core and util packages - generate all Java components from any platform All above goals are achieved. TODO: - Native compilation fix and test - Check/Fix Win32, MacOSX and the mobile devices - .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1667 232f8b59-042b-4e1e-8c03-345bb8c30851
* 2nd big refactoring...Sven Gothel2008-06-2122-3370/+0
| | | | | | | removal .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1666 232f8b59-042b-4e1e-8c03-345bb8c30851
* 2nd big refactoring.Sven Gothel2008-06-21152-1879/+44805
| | | | | | | | | | | | | | | | | | | | | | Goals are orthogonal components for: - OS Windowing system - NEWT, X11, Windows, MacOsX - GL Windowing GLUE - EGL, GLX, WGL, CGL - GL profiles - core and util packages - generate all Java components from any platform All above goals are achieved. TODO: - Native compilation fix and test - Check/Fix Win32, MacOSX and the mobile devices - .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1665 232f8b59-042b-4e1e-8c03-345bb8c30851
* Adding JNI JAWT stub_includes for all platformsSven Gothel2008-06-2116-0/+7623
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1664 232f8b59-042b-4e1e-8c03-345bb8c30851
* Split BufferUtil.java in to Java SE and Java ME + CDC + FP (+ JSR-239 Kenneth Russel2008-06-054-294/+535
| | | | | | | | NIO subset) implementations. Tested with OpenGL ES 1.1 profile build; desktop OpenGL build is not functioning yet for other reasons. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1662 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Immediate Mode Sink (ImmModeSInk)Sven Gothel2008-06-0310-159/+1014
| | | | | | | | | | | | | | | to allow ES 1.1 to use immediate mode rendering. It uses VBO which can also be cached, see GLUquadric 'hack'. GLUquadrics are now enabled for ES 1. Added Sync to Newt's X11Window setVisible, to make sure the window is established for the GLdrawable. TODO: proper distinguishing of GL profiles and ImmModeSink usage .. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1661 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bug fixes to mouse dragging logicKenneth Russel2008-06-021-8/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1660 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made sendMouseEvent and sendKeyEvent protected because CVM won't look Kenneth Russel2008-06-011-4/+5
| | | | | | | up native methods if they're private in the superclass git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1659 232f8b59-042b-4e1e-8c03-345bb8c30851
* wipSven Gothel2008-06-011-22/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1658 232f8b59-042b-4e1e-8c03-345bb8c30851
* Ported Newt event handling to Windows. Minor bug fixes to Windows Kenneth Russel2008-06-014-36/+130
| | | | | | | | platform related to recent code refactoring. Unicode correctness in Windows native code. Cosmetic fixes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1657 232f8b59-042b-4e1e-8c03-345bb8c30851
* refactoring .. wip ..Sven Gothel2008-06-017-50/+41
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1656 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactoring JOGL to partition core windowing, AWT, GL, ES1 and ES2 .. WIPSven Gothel2008-06-015-13/+71
| | | | | | | | Compile Clean: X11, noAWT, ES1, no *.impl.x11/win/macosx See jogl/make/build.xml for new build properties. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1655 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactoring JOGL to partition core windowing, AWT, GL, ES1 and ES2 .. WIPSven Gothel2008-06-0144-542/+1834
| | | | | | | | Compile Clean: X11, noAWT, ES1, no *.impl.x11/win/macosx See jogl/make/build.xml for new build properties. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1654 232f8b59-042b-4e1e-8c03-345bb8c30851
* EGLDrawableFactory: Removed shutdown.Sven Gothel2008-05-302-2/+10
| | | | | | | | | | GLDrawable: Added 'destroy' to interface. EGLDrawable: Implemented 'destroy', to setRealized(false) and to shutdown the egl/display connection (eglTerminate). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1653 232f8b59-042b-4e1e-8c03-345bb8c30851
* Completing com.sun.javafx.newt.* package, WIP, working under X11/ES1.1.Sven Gothel2008-05-3010-128/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixed: - EGLDrawable[Factory] - Object target is a 'long[3]' with [display, screen, window] native handles. Depending on the platform, display and screen handles may be 0. - Moved EGL.eglGetDisplay and EGL.eglInitialize from EGLDrawableFactory -> EGLDrawable, since the factory has no notion of the native handles, but the display is necessary. - newt.*: - Added Display and Screen abstraction - Added 'long[] Window.getHandles()', to feed EGLDrawableFactory.getGLDrawable() with the 3 native handles. - MouseEvent: - Java: Clicked and Dragged working - native/X11: SelectInput with proper args - KeyEvent: - native/X11: added XSetInputFocus and XLookupString git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1652 232f8b59-042b-4e1e-8c03-345bb8c30851
* Completing com.sun.javafx.newt.* package, WIP, compile clean, but untested.Sven Gothel2008-05-3016-25/+1401
| | | | | | | | | - Input Event Handling: Mouse and Keyboard. - X11 port - Using the VisualID to construct the native window. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1651 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added GLDrawableFactory.shutdown() to enable clean and cooperative Kenneth Russel2008-05-304-1/+25
| | | | | | | | termination, overriding it in EGLDrawableFactory to call eglTerminate. Made EGLDrawable.setRealized(false) clean up the EGLSurface. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1650 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changes to WindowsWindow.c to compile on Windows CE. Slight changes to Kenneth Russel2008-05-302-3/+15
| | | | | | | config selection to match C code -- no semantic difference, however. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1649 232f8b59-042b-4e1e-8c03-345bb8c30851