aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Made call to ByteOrder.nativeOrder() in BufferUtil reflective so it Kenneth Russel2008-05-292-3/+42
| | | | | | | | | can be done when running on Java SE even if the code is compiled on CDC/FP. Fixed bug in WindowsWindow.c where upcalls from native WndProc were not being made. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1647 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixes to .cfg files after refactoring of gl-desktop.cfg; however, the Kenneth Russel2008-05-294-0/+4
| | | | | | | JOGL build for the desktop GL is still not working yet on this branch git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1646 232f8b59-042b-4e1e-8c03-345bb8c30851
* Various bug fixes. Incorporated minimal window abstraction to Kenneth Russel2008-05-299-19/+575
| | | | | | | | | bootstrap EGL subsystem. Added back in GLU generation for ES 2. This code creates and shows the window for the demos.es1.RedSquare demo, but nothing is rendered yet. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1645 232f8b59-042b-4e1e-8c03-345bb8c30851
* Implemented dynamic function lookup in EGLDrawableFactory and Kenneth Russel2008-05-282-9/+62
| | | | | | | | | initialization of the EGL ProcAddressTable which should allow bootstrapping, at least on Windows and/or the NVidia APX 2500. Not yet tested. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1644 232f8b59-042b-4e1e-8c03-345bb8c30851
* Filled out EGLContext, EGLDrawable, and EGLDrawableFactory Kenneth Russel2008-05-2811-51/+369
| | | | | | | | | | | | | | | implementations on top of autogenerated EGL binding. Added GLDrawableFactory.initialize(String) taking the profile name (PROFILE_GL_20, PROFILE_GLES1, and PROFILE_GLES2 defined in GLDrawableFactory) to bootstrap the system and allow run-time selection of the window system binding. Modified eglplatform.h to extend EGLNativeDisplayType to pointer size. Changed egl.cfg to change most EGL types to opaque longs. Still missing pieces include the function pointer lookup and autogeneration of the EGL binding in all situations. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1643 232f8b59-042b-4e1e-8c03-345bb8c30851
* Adding customized c.configure target.Sven Gothel2008-05-271-1/+4
| | | | | | | | Specify your target in ${user.home}/jogl.compiler.xml' The enables a user to specify the compiler and linker, including all options. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1642 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added glue code generation for the EGL class when building either the Kenneth Russel2008-05-2616-100/+1742
| | | | | | | | | | | | | | | | OpenGL ES 1 or OpenGL ES 2 binding. Required changes to GlueGen to support the outgoing EGLConfig* array in eglChooseConfig, and to the EGL headers to produce StructAccessor types for the EGLConfig and other types. (At some point, should upgrade GlueGen's type system and code generation to support treating these types as opaque longs.) Changed generation for EGL, OpenGL ES 1 and OpenGL ES 2 to use dynamic function lookup exclusively so that either an emulation library on the desktop or an import library for a particular device is not needed to compile the generated code. Generated code compiles but will not run yet; needs hookup to dynamically-opened OpenGL ES libraries. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1641 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactorings to support building JOGL for OpenGL ES 1 and OpenGL ES 2. Kenneth Russel2008-05-1356-547/+7455
| | | | | | | | | | | | | | | | | | | | | "ant -Djogl.es1=1" builds JOGL for OpenGL ES 1. "ant -Djogl.es2=1" builds JOGL for OpenGL ES 2. "ant" builds JOGL for desktop OpenGL (2.1). Building desktop OpenGL is currently broken (FIXME) -- more refactorings are necessary. When compiling, it is currently necessary to specify -Djogl.noglnatives=1 on the ant command line as well, because the generated native code does not link properly since we do not have OpenGL ES libraries on the desktop. Building the generated native code using a cross-compiler is not yet hooked up into the ant build mechanism. It is necessary to build the generated native code with external tools. Also incorporated spatialized audio framework using Windows waveOut device; this is a temporary measure until a different workspace can be found for this code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1630 232f8b59-042b-4e1e-8c03-345bb8c30851
* This commit was manufactured by cvs2svn to create branchFirst Last2008-02-220-0/+0
| | | | | | 'JOGL_2_SANDBOX'. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1543 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-221-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1542 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-211-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1541 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-201-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1540 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-191-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1539 232f8b59-042b-4e1e-8c03-345bb8c30851
* Addendum to fix for Issue 344: Serious TextRenderer problems involving large ↵Kenneth Russel2008-02-192-1/+11
| | | | | | | | | | | | fonts & unicode characters Fixed off-by-one error in computation of needsAdvance bit for high Unicode strings pointed out by spiraljetty on JOGL forum. Added test case for this. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1538 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-181-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1537 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Sharendipity courtesy of Dale BeermannKenneth Russel2008-02-182-29/+45
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1536 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added table of Porter-Duff compositing rules in the face of Kenneth Russel2008-02-181-0/+22
| | | | | | | | premultiplied alpha based on some code from the Java 2D OpenGL pipeline git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1535 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bumped build number to 1.1.1-rc8Kenneth Russel2008-02-181-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1534 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 344: Serious TextRenderer problems involving large fonts & ↵Kenneth Russel2008-02-185-476/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unicode characters The glyph-based rendering algorithm for the TextRenderer was performing rendering in two steps: glyph preparation and upload, and rendering. This structure doesn't work in the context of the RectanglePacker, which can reorganize the backing store during any upload. Restructured the glyph cache in the TextRenderer in terms of flyweight Glyph objects which know how to upload and render themselves. During any upload, the outstanding glyphs not yet rendered to the screen may thereby be flushed. Improved the code path which falls back to the string-by-string algorithm for complex Unicode characters so that incoming strings can be segmented into multiple parts which are rendered either using the glyph cache or the string-by-string algorithm. Also tinkered with the bounds of glyphs and strings on the backing store to try to more definitively eliminate bleed-over between adjacent characters on the backing store, and to ensure that all of the pixels of glyphs are drawn. Some heuristics are unfortunately involved but the new code appears to work well with both very large and very small fonts. Added a few more test cases for the TextRenderer based on the bug report. Tested with the previous test cases as well. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1533 232f8b59-042b-4e1e-8c03-345bb8c30851
* Reverted base version to 1.1.1Kenneth Russel2008-02-171-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1532 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-171-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1531 232f8b59-042b-4e1e-8c03-345bb8c30851
* Reverted back to nightly build numbering schemeKenneth Russel2008-02-171-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1530 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-161-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1529 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 342: demos/j2d/TextFlow (TextRenderer) demo gives fuzzy text Kenneth Russel2008-02-161-7/+32
| | | | | | | | Added setSmoothing / getSmoothing to TextRenderer API to offer control over filtering mode of the TextureRenderer backing store. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1528 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 339: Add system properties to turn off VAs/VBOs in TextRenderer Kenneth Russel2008-02-161-17/+80
| | | | | | | | | Incorporated patch from emzic, slightly modified, to add set/getUseVertexArrays() as concession to graphics cards which do not perform well with small vertex arrays. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1527 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-151-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1526 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-141-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1525 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-131-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1524 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-121-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1523 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-111-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1522 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-101-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1521 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-091-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1520 232f8b59-042b-4e1e-8c03-345bb8c30851
* Modified gluegen-cpptasks, gluegen.properties and jogl.properties toKenneth Russel2008-02-091-0/+4
| | | | | | | support building 64-bit on Leopard git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1519 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-081-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1518 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-071-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1517 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-061-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1516 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-051-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1515 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-041-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1514 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-031-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1513 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 341: JNI Global Reference in native code prevents clean applet ↵Kenneth Russel2008-02-035-42/+42
| | | | | | | | | | | | | | | | termination Simplified the native code in JAWT_DrawingSurfaceInfo.c to only fabricate the direct ByteBuffer wrapping the JAWT "platformInfo" struct, moving the construction of the wrapping JAWT_PlatformInfo up to Java. Verified fix with reloading of JOGL applets via the new JNLP applet launching support in the new Java Plug-In. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1512 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-021-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1511 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-02-011-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1510 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-311-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1509 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-301-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1508 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-291-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1507 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-281-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1506 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-261-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1505 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-251-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1504 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-181-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1503 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2008-01-171-29/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1502 232f8b59-042b-4e1e-8c03-345bb8c30851