Jogamp
jogl.git
6 years agoVBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl.
Sven Gothel [Mon, 1 Aug 2011 13:16:14 +0000 (15:16 +0200)]
VBO and Texture Names: Allos (int) < 0 - unusual valid names for some GL impl.

Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0.

6 years agoStateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values...
Sven Gothel [Mon, 1 Aug 2011 13:14:39 +0000 (15:14 +0200)]
StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values. Impl -> final.

Map's KeyNotFound value -1 -> 0xffffffff
  Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0.
  This is now handled in GLBufferStateTracker as well as for the others.

Make methods final to restrict 'em.

6 years agoFixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51c
Sven Gothel [Mon, 1 Aug 2011 06:38:14 +0000 (08:38 +0200)]
Fixed regression of commit 360b86f4b5d0e440863c1749fe990e39fbabc51c

6 years agograph es2 glsl: #extension OES_standard_derivatives : require
Sven Gothel [Sun, 31 Jul 2011 19:19:36 +0000 (21:19 +0200)]
graph es2 glsl: #extension OES_standard_derivatives : require

6 years agoTAB -> SPACE
Sven Gothel [Sun, 31 Jul 2011 19:04:01 +0000 (21:04 +0200)]
TAB -> SPACE

6 years agoAdd egl es test script for host (emu)
Sven Gothel [Sun, 31 Jul 2011 18:51:26 +0000 (20:51 +0200)]
Add egl es test script for host (emu)

6 years agoAdd crosstest script for linux/arm
Sven Gothel [Sun, 31 Jul 2011 18:48:42 +0000 (20:48 +0200)]
Add crosstest script for linux/arm

6 years agoES1 Gears: Don't force fixed function emulation
Sven Gothel [Sun, 31 Jul 2011 18:47:51 +0000 (20:47 +0200)]
ES1 Gears: Don't force fixed function emulation

6 years agoAdd ES1 Gears (w/ NEWT startup)
Sven Gothel [Sun, 31 Jul 2011 18:46:28 +0000 (20:46 +0200)]
Add ES1 Gears (w/ NEWT startup)

6 years agoetc/profile.jogl: remove GL2ES12 config (impl. removed a long time ago)
Sven Gothel [Sun, 31 Jul 2011 18:45:40 +0000 (20:45 +0200)]
etc/profile.jogl: remove GL2ES12 config (impl. removed a long time ago)

6 years agoNativeWindow Capabilities: rgb -> 555, allows using low profile devices
Sven Gothel [Sun, 31 Jul 2011 18:45:06 +0000 (20:45 +0200)]
NativeWindow Capabilities: rgb -> 555, allows using low profile devices

All GLCaps chooser will pick the highest available pixelformat,
so if 32bpp is available rgba8888 will be used anyways.

6 years agoGraph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision...
Sven Gothel [Sun, 31 Jul 2011 18:43:41 +0000 (20:43 +0200)]
Graph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision for all vars.

6 years agoruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler fails
Sven Gothel [Sun, 31 Jul 2011 18:41:49 +0000 (20:41 +0200)]
ruler.fp: Use es2 precision for all variables, otherwise es2 glsl compiler fails

6 years agoFixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul()
Sven Gothel [Sun, 31 Jul 2011 18:40:56 +0000 (20:40 +0200)]
FixedFuncUtil: Name/Fix getFixedFuncImpl() -> wrapFixedFuncEmul()

Fix wrapFixedFuncEmul():
  - only wrap if ES2 and (!ES1 || force)
  - return same profile if ES1
  - otherwise throw exception

6 years agoGLWindow::main(): show requested/chosen GLCaps
Sven Gothel [Sun, 31 Jul 2011 18:38:09 +0000 (20:38 +0200)]
GLWindow::main(): show requested/chosen GLCaps

6 years agoGLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make attributes...
Sven Gothel [Sun, 31 Jul 2011 18:37:39 +0000 (20:37 +0200)]
GLProfile usage getMinDesktop() -> getMinimum(); WGL/X11 GLCaps: make attributes final

6 years agoEGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use libGL...
Sven Gothel [Sun, 31 Jul 2011 18:35:55 +0000 (20:35 +0200)]
EGL: Set CTX_PROFILE_ES2_COMPAT if ES2; Allow any native device; Don't use libGL.so; Cosmetics

EGL: Set CTX_PROFILE_ES2_COMPAT if ES2;

Allow any native device for EGL
  - EGLDrawableFactory::getIsDeviceCompatible() -> true always,
    impl. shall handle all native windowing toolkit layers, if available.

Don't use libGL.so
  - desktop GL library is exclusive for desktop bindings

6 years agoGLProfile: Fix exception; Minor Changes
Sven Gothel [Sun, 31 Jul 2011 18:31:12 +0000 (20:31 +0200)]
GLProfile: Fix exception; Minor Changes

- GL_PROFILE_LIST_MIN_DESKTOP -> GL_PROFILE_LIST_MIN
- Fix exception in glAvailabilityToString(), if no profile is available
- getMinDesktop() -> getMinimum()

6 years agoEGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing EGL.eglChoose...
Sven Gothel [Sun, 31 Jul 2011 18:18:06 +0000 (20:18 +0200)]
EGL: Collect all avail EGL caps w/o GLProfile preset ; Tolerate failing EGL.eglChooseConfig() ; Cosmetics

Collect all avail EGL caps w/o GLProfile preset
  - pass GLProfile null for collecting all available EGL GLCapabilities,
    allowing EGLGLCapabilities to set the GLProfile regarding EGLConfig's renderableType.

Tolerate failing EGL.eglChooseConfig()
  - use chooser algo, trying to pick one EGLConfig manually

Cosmetic toHexString change

6 years agoEGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ GLProfile...
Sven Gothel [Sun, 31 Jul 2011 18:10:16 +0000 (20:10 +0200)]
EGL: Query EGL_RENDERABLE_TYPE, store it in EGLGLCapabilities and test w/ GLProfile compatibility

EGLConfig's EGL_RENDERABLE_TYPE determines ES1, ES2 or VG usage (bitfield).
We have to store and compare it's value w/ the desired GLProfile to choose a valid one,
or just store it.

6 years agoGLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile is native ES
Sven Gothel [Sun, 31 Jul 2011 17:33:04 +0000 (19:33 +0200)]
GLDrawableFactory::getFactoryImpl(): Only return the EGL factory if profile is native ES

6 years agoNEWT ScreenModes: Add current ScreenMode if none could be collected.
Sven Gothel [Sun, 31 Jul 2011 17:32:02 +0000 (19:32 +0200)]
NEWT ScreenModes: Add current ScreenMode if none could be collected.

On Linux/ARMv7 (Ubuntu 11.04) it appears that the native RnR methods could not collect
ScreenModes. In such case, at least we add the current mode as a fallback.
This allows using the current mode information.

6 years agoJoglVersion: Add info whether shader-compiler exists or not
Sven Gothel [Sun, 31 Jul 2011 17:29:27 +0000 (19:29 +0200)]
JoglVersion: Add info whether shader-compiler exists or not

6 years agoES Native Libraries: Add missing GLDebugMessageHandler code ..
Sven Gothel [Sun, 31 Jul 2011 17:28:23 +0000 (19:28 +0200)]
ES Native Libraries: Add missing GLDebugMessageHandler code ..

6 years agoJOGL: Add GLBase::isGLES2Compatible()
Sven Gothel [Sun, 31 Jul 2011 17:25:13 +0000 (19:25 +0200)]
JOGL: Add GLBase::isGLES2Compatible()

Indicates whether this GL object is compatible with OpenGL ES2,
i.e. has the extension <code>GL_ARB_ES2_compatibility</code>

6 years agoNEW unit test, use bug 502 workaround property until fixed otherwise
Sven Gothel [Fri, 29 Jul 2011 10:05:43 +0000 (12:05 +0200)]
NEW unit test, use bug 502 workaround property until fixed otherwise

6 years agoadd linux/armv7 scripts [[cross] compile clean]
Sven Gothel [Thu, 28 Jul 2011 14:48:47 +0000 (16:48 +0200)]
add linux/armv7 scripts [[cross] compile clean]

6 years agotest case GLWindow
Sven Gothel [Thu, 28 Jul 2011 14:23:52 +0000 (16:23 +0200)]
test case GLWindow

6 years agoscript: no need for custom linux-x86 on multilib platform
Sven Gothel [Thu, 28 Jul 2011 14:23:32 +0000 (16:23 +0200)]
script: no need for custom linux-x86 on multilib platform

6 years agogl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..)
Sven Gothel [Thu, 28 Jul 2011 14:23:05 +0000 (16:23 +0200)]
gl header cfg: use __unix__ define, instead of all avail variations (linux, sun, ..)

6 years agobuild: add linux/armv7 support ; only add resources once w/o java source
Sven Gothel [Thu, 28 Jul 2011 14:22:13 +0000 (16:22 +0200)]
build: add linux/armv7 support ; only add resources once w/o java source

6 years agoadapt to gluegen Platform change
Sven Gothel [Thu, 28 Jul 2011 14:20:43 +0000 (16:20 +0200)]
adapt to gluegen Platform change

6 years agoadded (c) header
Sven Gothel [Thu, 28 Jul 2011 14:20:24 +0000 (16:20 +0200)]
added (c) header

6 years agoupdated runtime properties (debug) doc
Sven Gothel [Thu, 28 Jul 2011 14:20:03 +0000 (16:20 +0200)]
updated runtime properties (debug) doc

6 years agofix url: .com -> .org
Sven Gothel [Thu, 21 Jul 2011 10:36:05 +0000 (12:36 +0200)]
fix url: .com -> .org

6 years agoUse GlueGen Platform's OSType enum
Sven Gothel [Thu, 21 Jul 2011 10:32:49 +0000 (12:32 +0200)]
Use GlueGen Platform's OSType enum

6 years agoadd url to opengl and khronos
Sven Gothel [Wed, 13 Jul 2011 01:26:22 +0000 (03:26 +0200)]
add url to opengl and khronos

6 years agoFix UML size
Sven Gothel [Wed, 13 Jul 2011 01:19:37 +0000 (03:19 +0200)]
Fix UML size

6 years agoAdd Documentation: OpenGL-Evolution-And-JOGL
Sven Gothel [Wed, 13 Jul 2011 01:08:39 +0000 (03:08 +0200)]
Add Documentation: OpenGL-Evolution-And-JOGL

6 years agoFix 'main' invocation
Sven Gothel [Thu, 7 Jul 2011 20:40:07 +0000 (22:40 +0200)]
Fix 'main' invocation

6 years agoFix SharedResource (SR) Initialization
Sven Gothel [Thu, 7 Jul 2011 01:41:25 +0000 (03:41 +0200)]
Fix SharedResource (SR) Initialization

- Catch exceptions in SR thread avoiding deadlock in blocking caller thread

- Catch NPE on SR queries to return null if appropriate

6 years agoGLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles )
Sven Gothel [Thu, 7 Jul 2011 01:39:43 +0000 (03:39 +0200)]
GLProfile: Initialization fix and clarifications ( GLExceptions on n/a profiles )

- GLProfile.initSingleton(boolean) (implicit or explicit) won't
  throw any exception anymore. Followup 'GLProfile GLProfile.get(..)'
  calls will throw a GLException, if n/a.
  Availability maybe queried via GLProfile.isAvailable(..).

- GLCapabilties, GLCanvas, GLJPanel: Clarify case where GLException maybe thrown,
  i.e. no default GLProfile available on default device.

- Remove redundant GLProfile.is<ProfileName>Available(..)

6 years agomain git source location if jogamp
Sven Gothel [Tue, 28 Jun 2011 12:14:42 +0000 (14:14 +0200)]
main git source location if jogamp

6 years agoFix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL driver)
Sven Gothel [Sun, 26 Jun 2011 14:32:35 +0000 (16:32 +0200)]
Fix NEWT GL ctx/offscreen (GPUMemSec..) tests: Use pbuffer (i.e. hw accel GL driver)

6 years agoMerge remote-tracking branch 'rsantina/master'
Sven Gothel [Sun, 26 Jun 2011 05:49:23 +0000 (07:49 +0200)]
Merge remote-tracking branch 'rsantina/master'

6 years agoadd property 'nativewindow.x11.mt-bug' to test script ..
Sven Gothel [Sun, 26 Jun 2011 05:48:25 +0000 (07:48 +0200)]
add property 'nativewindow.x11.mt-bug' to test script ..

6 years agoCleanup UITestCase helper, expose test class name via get*TestName() ..
Sven Gothel [Sun, 26 Jun 2011 04:45:05 +0000 (06:45 +0200)]
Cleanup UITestCase helper, expose test class name via get*TestName() ..

6 years agoWoraround for bug 502: X11/NEWT Stalling due to libX11/XCB Multithreading bug (libX11...
Sven Gothel [Sun, 26 Jun 2011 04:43:46 +0000 (06:43 +0200)]
Woraround for bug 502: X11/NEWT Stalling due to libX11/XCB Multithreading bug (libX11 1.4.2, libXCB 1.7; ubuntu 11.04, ..)

- https://jogamp.org/bugzilla/show_bug.cgi?id=502

- set the boolean property 'nativewindow.x11.mt-bug' to 'true',
  indicating the erroneous libX11/libXCB behavior. This will enable extensive X11 locking even in NEWT.

6 years agoX11 Nativewindow/NEWT: X11 Error Handler (JNIEnv query for thread, stack trace),...
Sven Gothel [Sun, 26 Jun 2011 02:53:36 +0000 (04:53 +0200)]
X11 Nativewindow/NEWT: X11 Error Handler (JNIEnv query for thread, stack trace), cleanup

- X11 Error Handler: if throwing JVM stack trace or fatal JVM error
  query proper JNIEnv for running thread and attach thread to JVM if necessary.

- NEWT/X11: Proper XEvent polling documentation, cleanup window creation event mask

6 years agoHandle curved triangles overlaps.
Rami Santina [Mon, 20 Jun 2011 11:27:56 +0000 (14:27 +0300)]
Handle curved triangles overlaps.

subdivde overlaping triangles for the case when 2 triangles intersect
either by vextex of Traingle A in Triangle B
or an edge in A intersects an edge in B

VectorUtil:
  -added tri2triIntersection test (not optimized)
  -added seg2segIntersection test (not optimized)

6 years agoAdded handling for offcurve triangle overlaps.
Rami Santina [Tue, 14 Jun 2011 08:10:27 +0000 (11:10 +0300)]
Added handling for offcurve triangle overlaps.

subdivde overlaping triangles for the case of vertex inside
a off-curve boundary triangle.

added vertex in triangle test (using barycentric coordinates)

6 years agoMinor editing (compile script, X11Window.c - cleanups)
Sven Gothel [Sun, 12 Jun 2011 02:00:21 +0000 (04:00 +0200)]
Minor editing (compile script, X11Window.c - cleanups)

6 years agoX11/Newt Locking: Clarify dependency of XInitThreads() hack
Sven Gothel [Sun, 12 Jun 2011 00:55:29 +0000 (02:55 +0200)]
X11/Newt Locking: Clarify dependency of XInitThreads() hack

6 years agoMinor editing/cleanups: code/test
Sven Gothel [Sun, 12 Jun 2011 00:42:24 +0000 (02:42 +0200)]
Minor editing/cleanups: code/test

- Don't call "NativeWindowFactory.initSingleton(true);" after "GLProfile.initSingleton(true);",
  since it's redundant, the former call issues the removed one.

6 years agoMerge remote-tracking branch 'remotes/rsantina/master'
Sven Gothel [Sat, 11 Jun 2011 03:50:18 +0000 (05:50 +0200)]
Merge remote-tracking branch 'remotes/rsantina/master'

6 years agoTestGLSLShaderState01 PerfTest: 2min timeout / swapInterval 0 / start counter after...
Sven Gothel [Sat, 11 Jun 2011 03:08:38 +0000 (05:08 +0200)]
TestGLSLShaderState01 PerfTest: 2min timeout / swapInterval 0 / start counter after warmup

6 years agoRelocated SingletonInstance to GlueGen (where a ServerSocket impl. is added). Using...
Sven Gothel [Sat, 11 Jun 2011 00:55:54 +0000 (02:55 +0200)]
Relocated SingletonInstance to GlueGen (where a ServerSocket impl. is added). Using ServerSocket in UITestCase for SingletonInstance impl.

6 years agotest bat/sh files edit ..
Sven Gothel [Fri, 10 Jun 2011 23:51:05 +0000 (01:51 +0200)]
test bat/sh files edit ..

6 years agoUtilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, .. ...
Sven Gothel [Fri, 10 Jun 2011 23:50:42 +0000 (01:50 +0200)]
Utilize GlueGen's platform independent header for stdin.h, gluegen_stdint.h, .. (remove local copy)

- Use them for gluegen code generation
- Use them for native compilation (cc)

6 years agowindows batch files: bump to 6u26
Sven Gothel [Thu, 9 Jun 2011 15:32:07 +0000 (17:32 +0200)]
windows batch files: bump to 6u26

6 years agosrc-zip: no compression to benefit from xz/7z compression
Sven Gothel [Thu, 9 Jun 2011 15:31:40 +0000 (17:31 +0200)]
src-zip: no compression to benefit from xz/7z compression

6 years agoSimplify and fix GL2GL3 usage (save/restore)
Sven Gothel [Wed, 8 Jun 2011 22:43:23 +0000 (00:43 +0200)]
Simplify and fix GL2GL3 usage (save/restore)

6 years agoGLBuffers fix ; GL imageSizeInBytes fix / unit tests.
Sven Gothel [Wed, 8 Jun 2011 22:42:41 +0000 (00:42 +0200)]
GLBuffers fix ; GL imageSizeInBytes fix / unit tests.

- Moved implementation of prev GL imageSizeInBytes(..) -> GLBuffers.sizeof() for all GL profiles

- GLBuffers.*: Added missing formats and types (GL2.1, GL3.3 and GL4.1)

- GLBuffers.sizeof(): Fail fast if format/type is unhandled, or alignment invalid

- Added unit test for GLBuffers.sizeof()

6 years agoMerge remote-tracking branch 'rsantina/master'
Sven Gothel [Wed, 8 Jun 2011 04:00:30 +0000 (06:00 +0200)]
Merge remote-tracking branch 'rsantina/master'

6 years agoLocator moved to GlueGen's IOUtil (gluegen a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387)
Sven Gothel [Wed, 8 Jun 2011 03:58:07 +0000 (05:58 +0200)]
Locator moved to GlueGen's IOUtil (gluegen a87c56c95099de5b6cbc9bd8bf6f1924a3dd6387)

6 years agoLocator Util: Clarify API doc a bit
Sven Gothel [Wed, 8 Jun 2011 02:25:26 +0000 (04:25 +0200)]
Locator Util: Clarify API doc a bit

6 years agounit test: use class global GLProfile
Sven Gothel [Tue, 7 Jun 2011 16:30:53 +0000 (18:30 +0200)]
unit test: use class global GLProfile

6 years agoimport cleanup
Sven Gothel [Tue, 7 Jun 2011 16:29:40 +0000 (18:29 +0200)]
import cleanup

6 years agoNEWT unit test util, on/offscreen GLContext/NEWT window separation
Sven Gothel [Tue, 7 Jun 2011 16:29:28 +0000 (18:29 +0200)]
NEWT unit test util, on/offscreen GLContext/NEWT window separation

6 years agoUsing GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil (screens...
Sven Gothel [Tue, 7 Jun 2011 16:28:22 +0000 (18:28 +0200)]
Using GlueGen IOUtil (dropped StreamUtil, FileUtil); Public GLReadBufferUtil (screenshot etc) and GLPixelStorageModes

- Using GlueGen IOUtil, dropping StreamUtil and FileUtil

- Public (util) GLReadBufferUtil for screenshots and slow r2t (AWT less), as well as GLPixelStorageModes

6 years agoGraph: Remove unused imports
Rami Santina [Sun, 5 Jun 2011 20:12:36 +0000 (23:12 +0300)]
Graph: Remove unused imports

6 years agoGraph: updated inclass documentations
Rami Santina [Sun, 5 Jun 2011 19:05:38 +0000 (22:05 +0300)]
Graph: updated inclass documentations

6 years agoAdd Factory for triangulation with base Interface; misc cleanup
Rami Santina [Sun, 5 Jun 2011 13:17:47 +0000 (16:17 +0300)]
Add Factory for triangulation with base Interface; misc cleanup

CDTriangulation moved to impl (jogamp.graph), where additional triangulations
or a wrapper to GLU triangulation can be added to triangulator.

TWO_PASS_RENDERING renamed to VBAA (algorithm name)

misc comments cleanups

6 years agoFix: transform to Quadratic; Refactor method names
Rami Santina [Sun, 5 Jun 2011 07:37:19 +0000 (10:37 +0300)]
Fix: transform to Quadratic; Refactor method names

6 years agoFont and TypecastRender generate array of OutlineShapes instead of Path2D
Rami Santina [Thu, 2 Jun 2011 13:00:01 +0000 (16:00 +0300)]
Font and TypecastRender generate array of OutlineShapes instead of Path2D

GlyphShape and GlyphString use only OutlineShapes

7 years agoMerge remote-tracking branch 'remotes/rsantina/master'
Sven Gothel [Sun, 22 May 2011 04:52:59 +0000 (06:52 +0200)]
Merge remote-tracking branch 'remotes/rsantina/master'

7 years agocreate source zip archives per default
Sven Gothel [Sun, 22 May 2011 04:52:18 +0000 (06:52 +0200)]
create source zip archives per default

7 years agoRemove implicit for loops reduces temp objects
Rami Santina [Sat, 21 May 2011 14:49:08 +0000 (17:49 +0300)]
Remove implicit for loops reduces temp objects

7 years agoFix: vertex in loop test; using crossing method
Rami Santina [Sat, 21 May 2011 12:35:37 +0000 (15:35 +0300)]
Fix: vertex in loop test; using crossing method

Changed algo for in/out test of vertex wrt arbitrary polygon
to crossing test since angle based is shown prune to precision errors

7 years agoFix ShaderProgram double destroy()
Sven Gothel [Tue, 17 May 2011 17:03:11 +0000 (19:03 +0200)]
Fix ShaderProgram double destroy()

7 years agoAdd all.debug target
Sven Gothel [Tue, 17 May 2011 15:04:03 +0000 (17:04 +0200)]
Add all.debug target

7 years agoleave java source zip file in build folder (if BUILD_ARCHIVE=true)
Sven Gothel [Tue, 17 May 2011 14:10:28 +0000 (16:10 +0200)]
leave java source zip file in build folder (if BUILD_ARCHIVE=true)

7 years agoNEWT/GLContext (unit test): Wait for visibility/realized ; Add clean scripts
Sven Gothel [Tue, 17 May 2011 11:58:40 +0000 (13:58 +0200)]
NEWT/GLContext (unit test): Wait for visibility/realized ; Add clean scripts

7 years agoGLSL unit tests: cleanup shader state tests
Sven Gothel [Tue, 17 May 2011 11:06:58 +0000 (13:06 +0200)]
GLSL unit tests: cleanup shader state tests

7 years agoFIX graph FBObject usage - 526ea7a3fb579f88a0c0a1e597387aae29d5aa06
Sven Gothel [Tue, 17 May 2011 11:06:09 +0000 (13:06 +0200)]
FIX graph FBObject usage - 526ea7a3fb579f88a0c0a1e597387aae29d5aa06

7 years agoFix/Extend FBObject (API Change): plain init(GL), support multiple attachTexture2D...
Sven Gothel [Tue, 17 May 2011 11:03:07 +0000 (13:03 +0200)]
Fix/Extend FBObject (API Change): plain init(GL), support multiple attachTexture2D(..) (MRT) w/ tex units

- plain initialization via init(GL)

- dedicated texture2D color buffer attachement attachTexture2D(..) w/ tex units (<GL_MAX_TEXTURE_UNITS),
  which may happen up to max GL_MAX_COLOR_ATTACHMENTS to support MRT (multiple render targets)

- more API doc

- FBO/MRT/GLSL unit test w/ using 2 shader (decompose / compose)

7 years agoJOGL/GLDebug/GLTrace: Gluegen/BuildComposablePipeline: print arguments in debug pipe...
Sven Gothel [Tue, 17 May 2011 10:55:37 +0000 (12:55 +0200)]
JOGL/GLDebug/GLTrace: Gluegen/BuildComposablePipeline: print arguments in debug pipe; common param print

7 years agoFix: GLSLArrayHandler (data has no location); Fix ShaderState (switch program: set...
Sven Gothel [Tue, 17 May 2011 10:53:26 +0000 (12:53 +0200)]
Fix: GLSLArrayHandler (data has no location); Fix ShaderState (switch program: set prev. !inUse)

7 years agoShaderProgram: useProgram(..) -> public
Sven Gothel [Tue, 17 May 2011 10:51:29 +0000 (12:51 +0200)]
ShaderProgram: useProgram(..) -> public

7 years agoGLSL UnitTest: Reloc Ruler and make local fields final
Sven Gothel [Tue, 17 May 2011 10:49:52 +0000 (12:49 +0200)]
GLSL UnitTest: Reloc Ruler and make local fields final

7 years agoJUnit Test: Add 'ruler' testcase using monitor mode's mm/pixel size.
Sven Gothel [Mon, 16 May 2011 01:48:29 +0000 (03:48 +0200)]
JUnit Test: Add 'ruler' testcase using monitor mode's mm/pixel size.

7 years agoJUnit Tests: Extract utility of creating a NEWT Window w/ GLContext w/o auto drawable...
Sven Gothel [Mon, 16 May 2011 01:31:49 +0000 (03:31 +0200)]
JUnit Tests: Extract utility of creating a NEWT Window w/ GLContext w/o auto drawable (NEWTGLContext)

7 years agoFix ShaderState useProgram() case: on && program not linked (yet)
Sven Gothel [Mon, 16 May 2011 01:30:33 +0000 (03:30 +0200)]
Fix ShaderState useProgram() case: on && program not linked (yet)

7 years agobuild: Query git branch/sha1 and use it if not set and tools are available; Add Java...
Sven Gothel [Mon, 16 May 2011 01:28:25 +0000 (03:28 +0200)]
build: Query git branch/sha1 and use it if not set and tools are available; Add Java source zip file.

Query git branch/sha1 and use it if not set and tools are available.
This shall improve tracking of manual generated binaries/bundles.

Add Java source zip file. Contains all Java source code (incl. generated ones) enhancing
IDE usage, where API doc and source browsing of libs is supported (NB/Eclipse/etc).

7 years agoGraph: Add comments 'n questions (FIXME?)
Sven Gothel [Tue, 10 May 2011 22:25:37 +0000 (00:25 +0200)]
Graph: Add comments 'n questions (FIXME?)

7 years agoGraph: getWinding(ArrayList<Vertex> vertices) test; minor renaming
Sven Gothel [Tue, 10 May 2011 21:54:39 +0000 (23:54 +0200)]
Graph: getWinding(ArrayList<Vertex> vertices) test; minor renaming

7 years agoGraph/Loop: More readable/verbose invert case; using Winding enum; ttf reader: Adding...
Sven Gothel [Tue, 10 May 2011 21:38:40 +0000 (23:38 +0200)]
Graph/Loop: More readable/verbose invert case; using Winding enum; ttf reader: Adding debug dump of font direction hint

7 years agoFix: glyph outline orientation with the removal of inversion
Rami Santina [Tue, 10 May 2011 11:29:12 +0000 (14:29 +0300)]
Fix: glyph outline orientation with the removal of inversion

7 years agoLoop: Fix invert; GlyphString/createRegion: Remove unnecessary on-the-fly object...
Sven Gothel [Mon, 9 May 2011 12:25:59 +0000 (14:25 +0200)]
Loop: Fix invert; GlyphString/createRegion: Remove unnecessary on-the-fly object creation

7 years agoGraph/UI-Demo: Use RegionRenderer for region and text, start data/gl separation (2)
Sven Gothel [Sun, 8 May 2011 23:24:14 +0000 (01:24 +0200)]
Graph/UI-Demo: Use RegionRenderer for region and text, start data/gl separation (2)

Complete commit 77910075c04d4c86aabf12a2853b381f804bf04a, oops, got a fs corruption.

http://JogAmp.org git info: FAQ, tutorial and man pages.