Michael Pfaff
b53c59b989
Clean-up
2022-08-16 14:27:14 -04:00
Michael Pfaff
4f7fee2ed4
Remove a lot of synchronization
2022-08-14 13:21:03 -04:00
Michael Pfaff
134263f5cd
More progress, Windows build is definitely broken for now
2022-08-09 21:59:46 -04:00
Michael Pfaff
5f66c07685
Remove some leftover applet tests
2022-03-29 09:49:09 -04:00
Michael Pfaff
68e2ca0b76
Part 1/2
...
- Remove applet
- Remove webstart
- Refactor all generation to the `target` folder
- Remove eclipse-update
- Update java version in `.tool-versions`
- Update `.gitignore`
- Remove unused `res` folder
- Only macOS builds work currently
- TODO: finish the aforementioned changes to all other targets
- `build.sh` runs in headless mode to avoid the focus stealing and
performance issues on macOS
2022-03-22 21:26:50 -04:00
Ioannis Tsakpinis
99afa57380
Refactored ContextAttribs: there's now an additional constructor that accepts the profile mask and context flags.
...
Also simplified the internal state, added more documentation and validation, added support for CONTEXT_RELEASE_BEHAVIOR_ARB, dropped the GLX & WGL helper classes and publicly exposed the attribute tokens.
2014-08-15 14:15:30 +03:00
Ioannis Tsakpinis
561a80af3c
Removed unnecessary TEXTURE_COORD_ARRAY enable. Caused a crash on NV GPUs.
2013-12-16 18:53:57 +02:00
Ioannis Tsakpinis
4b48355093
Enable POINT_SPRITE on compatibility contexts. Improved platform/device choice when multiple CL implementations are available.
2013-07-31 20:14:33 +03:00
Ioannis Tsakpinis
c0b19b7743
Another attempt to fix focus problems with Display.setParent on Windows:
...
- Reverted to WS_CHILD in window flags.
- Added WM_MOUSEACTIVATE handling: Focus the display + return MA_NOACTIVATE.
- Removed unnecessary appActivate calls in WM_ACTIVATE. We don't receive WM_ACTIVATE with WS_CHILD and the focus events do the job just fine.
- Detect parent window focus in update and force focus the display. This is useful when we alt-tab to the parent window and we don't receive any events.
2013-04-17 22:19:38 +03:00
Ioannis Tsakpinis
523fab4417
cl_device_type is a cl_bitfield, ie. long.
2013-03-28 14:22:55 +02:00
Ioannis Tsakpinis
a59964ccae
Fixed function dependency typos.
...
Added GL error check in VersionTest, for drivers that expose the deprecated function addresses and throw GL errors when used.
2012-12-26 22:20:43 +02:00
Ioannis Tsakpinis
8437f28abd
Fixed BackgroundLoadTest to work on NV/Intel and improved context synchronization.
2012-12-18 13:21:15 +02:00
Ioannis Tsakpinis
cd011c6309
Fixed test.
2012-09-03 20:44:11 +00:00
Ioannis Tsakpinis
455b429984
Let repeat events pass the same-state filter.
2012-08-23 14:20:58 +00:00
Ioannis Tsakpinis
e7edecf2ae
Fixes related to the new alternate signatures.
2012-08-18 14:00:45 +00:00
Ioannis Tsakpinis
4edf23428d
Updated GLES FullScreenWindowedTest to destroy/create Display on mode change.
2011-10-14 10:43:45 +00:00
Brian Matzon
bae1672baf
Updated test to be compatible with r3664
2011-10-12 19:49:45 +00:00
Ioannis Tsakpinis
900eb4e4d2
Added support for cache-line padding and alignment.
...
Made byteOffset() in MappedField optional.
Misc fixes and improvements.
2011-08-10 16:05:46 +00:00
Ioannis Tsakpinis
f3472da2ed
CL: Cleaned-up callbacks and object registries.
...
Mapped: Added .capacity() and .foreach() with default elementCount.
2011-08-02 23:45:19 +00:00
Ioannis Tsakpinis
83c2208aa0
Added support for NV_path_rendering.
...
Made MappedObjectUnsafe package private.
2011-07-29 11:30:14 +00:00
Ioannis Tsakpinis
d3d14b6f3c
@MappedType is now optional.
...
copyTo now only copies (SIZEOF - padding) bytes.
2011-07-24 09:38:46 +00:00
Ioannis Tsakpinis
d0cb1f8c90
Removed sizeof from @MappedType, it's calculated automatically now.
...
Added padding to @MappedType, defaults to 0.
Added support for @Pointer long fields for easier interaction with pointer data.
2011-07-23 22:02:01 +00:00
Ioannis Tsakpinis
896e363979
Converted sizeof and align to methods.
...
Override more methods in MappedObject subclasses, foreach is now 4 times faster.
2011-07-22 20:09:01 +00:00
Ioannis Tsakpinis
20b9d3f89f
Added support for array access to mapped objects.
...
Added SpriteShootout test that uses mapped objects.
2011-07-22 02:01:56 +00:00
Brian Matzon
087d0f4ba9
Initial stab at win32 resize api
2011-07-21 22:52:16 +00:00
Ioannis Tsakpinis
0b0e185f47
Moved all pointer arithmetic to Java code.
2011-07-16 16:05:37 +00:00
Ioannis Tsakpinis
b09625557d
Implemented .next() with bytecode transformation, 4x faster now.
...
Made method transformation a bit faster.
2011-07-14 16:54:25 +00:00
Ioannis Tsakpinis
1f305d514a
Removed stride and .configure. Mapped object view updates are now 50% faster. [Riven]
...
org.lwjgl.util.mapped.PrintBytecode is now functional. [Riven]
2011-07-13 22:15:25 +00:00
riven-lwjgl
950b17a8fe
Test case showing problems on loading library (64 vs 32 bit)
2011-07-12 17:49:58 +00:00
Ioannis Tsakpinis
e174bf3bc8
Changed mapping behavior to be consistent with the LWJGL API; it now starts at the buffer's current .position().
...
Reverted client JVM warning to use serr instead of LWJGLUtil.log, for extra visibility when Debug is disabled.
2011-07-12 14:21:29 +00:00
Ioannis Tsakpinis
fa31e0f9cb
Fixed bounds checking to work with .sliced mapped objects.
2011-07-12 13:44:13 +00:00
Ioannis Tsakpinis
585549f1f1
Mapped object code improvements: added license, additional documentation, reformatted code, now using LWJGLUtil.log instead of System.err.
...
Added system properties for bytecode transformer debug output. (org.lwjgl.util.mapped.PrintTiming & org.lwjgl.util.mapped.PrintActivity)
Added support for bounds checking the view of mapped objects. Enabled with org.lwjgl.util.mapped.Checks
Added tests for mapped objects. (org.lwjgl.test.mapped package)
Added "[LWJGL] " prefix to all LWJGL generated debug messages.
2011-07-12 13:29:04 +00:00
Ioannis Tsakpinis
63cbea7957
Fixed display creation.
2011-07-10 18:18:51 +00:00
Ioannis Tsakpinis
6c134c6330
Merged OpenGL ES branch.
2011-07-10 16:58:16 +00:00
kappa1
9e4c915959
Remove dead code from AWTGears example
2011-07-08 17:47:16 +00:00
Ioannis Tsakpinis
af0ed1d1c4
Added OpenAL & OpenCL generated native paths.
...
Added support for AMD_device_memory_flags, AMD_offline_devices, AMD_popcnt [OpenCL]
Minor bugs fixed in high-level OpenCL API.
2011-06-04 00:53:04 +00:00
Ioannis Tsakpinis
40cbf3e45f
Added support for OpenGL ES.
2011-05-17 16:53:57 +00:00
Ioannis Tsakpinis
807c61ad59
Fixed JDK5 compilation issue and added SpriteShootout textures.
2011-04-08 03:41:19 +00:00
Ioannis Tsakpinis
924f20efd6
Added support for AMD_blend_minmax_factor & NV_texture_multisample.
...
Added sprite rendering samples.
Fixed ContextAttribs version checking for GL41.
2011-04-07 21:36:19 +00:00
Ioannis Tsakpinis
eb3a31bcc9
Attempt to fix NV compilation issue.
2011-04-02 11:33:02 +00:00
Brian Matzon
fb81ac26ec
fixed resource path issue
2010-10-13 21:07:43 +00:00
Brian Matzon
a2e7ca7af1
fixed resource path issue
2010-10-13 20:19:39 +00:00
Ioannis Tsakpinis
f80e5a94d6
OpenCL bug fixes on MacOS.
...
Improved 64bit pointer detection.
2010-10-01 22:20:14 +00:00
Ioannis Tsakpinis
3470552355
Fixed Mandelbrot.cl to not crash on Cuda.
2010-10-01 17:00:17 +00:00
Ioannis Tsakpinis
c2ba79169b
OpenCL C 1.0 didn't support 3-component vectors.
2010-10-01 03:48:41 +00:00
Ioannis Tsakpinis
76f2e5bf67
Misc CL fixes.
2010-09-30 23:36:37 +00:00
Ioannis Tsakpinis
662abf403b
Added NV OpenCL extensions.
2010-09-30 19:04:25 +00:00
Ioannis Tsakpinis
eab30c3976
Added checks for CL 1.1 stuff.
2010-09-30 17:52:16 +00:00
Ioannis Tsakpinis
2b79b68501
Misc GL/CL fixes and additions.
...
Made native calls package private, we can now use them from the high-level API.
Added support for "render-to-texture" in the fractal demo.
2010-09-30 17:21:50 +00:00
Ioannis Tsakpinis
a8bcb7fd25
Ported codebase to Java 1.5.
...
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Ioannis Tsakpinis
1aa9ab5104
Added support for OpenCL & CL/GL interop + minor improvements. [WIP]
2010-09-26 23:43:24 +00:00
Brian Matzon
833fcaa122
Adding lwjgl version string to debug output
2010-07-27 19:17:53 +00:00
Brian Matzon
6d72727f0a
OAL patches by Ciardhubh
2010-07-14 13:12:24 +00:00
Ioannis Tsakpinis
840f05dbf5
2010-07-04 18:24:53 +00:00
Ioannis Tsakpinis
e0bfcca323
Fix for Linux fullscreen mode problem with Compiz ( http://lwjgl.org/forum/index.php/topic,3335.0.html )
2010-07-04 17:14:33 +00:00
Ioannis Tsakpinis
21b3c3d818
Added PixelFormat support for framebuffer CSAA (NV_multisample_coverage, WGL & GLX only).
...
Added support for AMD_name_gen_delete and AMD_debug_output. The AMDDebugOutputCallback class enables query-less message handling.
Added support for extension aliases.
2010-05-27 22:56:29 +00:00
Brian Matzon
a3db874472
"fixed" usage of generics
2010-05-25 06:01:34 +00:00
Brian Matzon
57eea58a8d
cleanup
2010-05-24 22:36:07 +00:00
Brian Matzon
8875e56831
updates to info app to print efx info
2010-05-24 22:35:28 +00:00
Brian Matzon
ba88605f00
EFX patch by Ciardhubh
2010-05-24 21:50:26 +00:00
Ioannis Tsakpinis
a31db44724
Updated ContextAttribs to not default to the core profile for 3.2+ versions.
...
Updated VersionTest (version 20 of ARB_create_context).
2010-05-22 16:53:49 +00:00
Ioannis Tsakpinis
47c9991b41
Fixed ByteOrder of @Return ByteBuffers.
...
Cleaned up Drawable interface and introduced a reusable base implementation.
Added support for disabling runtime function checks, buffer checks and state tracking. Activated with -Dorg.lwjgl.util.NoChecks=true
2010-04-22 23:21:48 +00:00
Ioannis Tsakpinis
e650319d5b
Added support for a new Drawable type (SharedDrawable) that shares its context with another Drawable.
...
Added new methods to the Drawable interface (makeCurrent, releaseContext, destroy).
Added a background thread texture loading test (using either Pbuffer or SharedDrawable).
2010-04-20 18:21:05 +00:00
Brian Matzon
13b41d7b69
(possible) fix for headless environment issue with awt on linux
2010-04-13 07:14:51 +00:00
Brian Matzon
ed4ff0e1dc
forcefull check of version match when building
2010-04-12 23:22:08 +00:00
Ioannis Tsakpinis
3715e4b39d
Added some alternate AL functions.
2010-03-16 17:58:48 +00:00
Ioannis Tsakpinis
94a4c50a83
Added support for single primitive input/output parameters.
2010-03-14 23:24:40 +00:00
Ioannis Tsakpinis
e97e601894
Added Charset encoding to StringUtils
...
Changed shader tests to use the String APIs
Finished ARB_uniform_buffer_object shader test
Fixed native code compiler warnings
Made the generator check file timestamps to avoid unnecessary 3+ min builds
2010-03-14 00:19:48 +00:00
Brian Matzon
c447ec66a6
fixed non-direct buffer issue
2010-02-21 21:27:35 +00:00
Brian Matzon
d0d24c5c29
fixed non-direct buffer issue
2010-02-21 21:18:17 +00:00
Brian Matzon
5808a218a3
added test for WaveData
2010-02-20 10:43:45 +00:00
Ioannis Tsakpinis
6e5355bc83
Added generator support for null-terminated string lists.
...
Fixed GetUniformIndices and TransformFeedbackVaryings.
Added a ARB_uniform_buffer_object test.
2009-12-04 04:49:19 +00:00
Ioannis Tsakpinis
d3412ccdc8
Fixed GetSync signature.
2009-12-01 11:39:48 +00:00
Brian Matzon
8bd591fe5e
support for tracking mouse outside window on drag, new api for checking if mouse is inside window
2009-09-12 22:15:21 +00:00
Ioannis Tsakpinis
6befeb63f2
Completed GL32 support.
...
Added Generator support for wrapping GL pointers.
Added support for passing command-line arguments to tests.
Added test for ARB_sync functionality.
Temp fix to NV_shader_buffer_load.
2009-08-12 13:06:11 +00:00
kappa1
0c244ee74a
Added Mouse Support to Gears Applet, This will allow rotating the view using the mouse.
...
Fixed view ratio to support all sizes.
2009-06-03 18:29:05 +00:00
Brian Matzon
c7eabcad3e
fixed windows click/movement detection if drag started inside display
2009-06-03 11:08:58 +00:00
kappa1
31522ef459
A bit of clean up, code refactoring and commenting to GearsApplet test.
2009-05-23 09:37:10 +00:00
kappa1
d7cbfc5255
updated GearsApplet to use addNotify() to start a LWJGL Display, also prevents a new Display being created each time the start() method is called.
2009-05-23 09:09:28 +00:00
Kevin Glass
175eb088c6
Ported GLU tessellation code from JOGL to work within LWJGL
2009-04-05 22:07:46 +00:00
Ioannis Tsakpinis
757f3bbbce
Fixed ContextAttribs version validation.
...
Added OpenGL version test.
2009-04-04 19:19:43 +00:00
Elias Naur
2f3fbf28de
Added Display.setDisplayModeAndFullscreen(mode) to switch mode and set fullscreen in one call (idea stolen from MatthiasM). Tweaked FullScreenWindowedTest to use the new method.
2008-12-28 19:30:43 +00:00
Brian Matzon
2c96ab67ae
added opengl init code, previously assumed from Diplay
2008-07-02 20:00:49 +00:00
Brian Matzon
32da20827a
made windowClosing work by using a flag
...
dont render if width or height < 1
2008-06-08 09:30:24 +00:00
Brian Matzon
c6a1088a70
cleanup of imports
2008-06-05 13:36:57 +00:00
Brian Matzon
8a163a0531
missing destroy
2008-06-05 08:11:17 +00:00
Brian Matzon
929217d8d8
dont use String.format *grumble*
2008-06-04 21:36:59 +00:00
Brian Matzon
e8cd4439cb
OpenAL info program a la openal-soft's openal-info
2008-06-04 21:31:52 +00:00
Elias Naur
d46bc5d297
Fixed KeyboardTest
2008-04-22 21:26:39 +00:00
Elias Naur
31c2b22dd8
Added GearsApplet test
2008-04-22 18:09:45 +00:00
Elias Naur
b4fe6f6d8d
Made FullScreenWindowedTest call Display.destroy() on exit
2008-04-13 17:04:05 +00:00
Elias Naur
e50dc04191
Removed AWTInputAdapter, since Display.setParent() works much betterdiff
2008-04-10 20:25:54 +00:00
Elias Naur
2c0137eff8
Added fullscreen switching to DisplayParentTest
2008-04-07 19:40:53 +00:00
Elias Naur
61a71ea912
Let the Display resize itself to match its parent, if non null
2008-04-07 19:21:40 +00:00
Brian Matzon
bb16ec7492
updated and added license where needed
2008-04-07 18:36:09 +00:00
Elias Naur
428d55ed0e
Mac OS X: Implemented Display.setParent support
2008-04-07 17:10:14 +00:00
Elias Naur
c456d9c323
Really fixed MouseTest
2008-04-07 16:37:39 +00:00
Elias Naur
40efb3e042
Fixed MouseTest
2008-04-07 16:20:35 +00:00
Elias Naur
3948769802
Windows: Implemented Display.setParent support
2008-04-07 10:18:09 +00:00
Elias Naur
c499f33bcf
Added experimental Display.setParent to allow Display to be embedded in an AWT Canvas. Added basic linux implementation and test.
2008-04-06 20:56:52 +00:00