Commit Graph

192 Commits

Author SHA1 Message Date
Michael Pfaff 641f37e8eb
Debugging 2022-11-19 14:08:48 -05:00
Michael Pfaff 4f7fee2ed4
Remove a lot of synchronization 2022-08-14 13:21:03 -04:00
Ioannis Tsakpinis 4d451457b4 Use OpenAL64 on Windows x64. Fixes #95. 2014-10-08 12:21:46 +03:00
Philip Whitehouse fd726e545f Fix some straightforward Javadoc problems 2014-05-20 00:05:53 +01:00
Ioannis Tsakpinis cab3d10c46 Changed ALC10's alcGetString and alcOpenDevice to use UTF8 decoding/encoding.
New GL extensions: NV_compute_program5, NV_shader_storage_buffer_object, NV_shader_atomic_counters, NV_deep_texture3D
New GLES extension: QCOM_binning_control
2012-08-16 18:58:41 +00:00
Ioannis Tsakpinis 84cd3b562b Changed manual null check to a MemoryUtil.getAddressSafe call. 2011-10-25 17:42:56 +00:00
Brian Matzon 297b11442a fixed issue when NULL (default) was passed in as a deviceName 2011-10-20 07:57:54 +00:00
Ioannis Tsakpinis 67945fe317 Added unicode support on Windows.
Fixed AL and GLES native stub bindings.
Replaced many GetStringNativeChars usages with a Java implementation.
2011-08-16 22:17:32 +00:00
Ioannis Tsakpinis 4a02aed129 More java-side pointer arithmetic.
Fixed pointer cast warning.
2011-07-16 16:42:51 +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
Brian Matzon 6d72727f0a OAL patches by Ciardhubh 2010-07-14 13:12:24 +00:00
Brian Matzon 5489758618 expose isEfxSupported 2010-05-24 22:34:59 +00:00
Brian Matzon 6cdca16f80 proper resetNativeStubs for other oal-related classes, probably a NOP atm 2010-05-24 21:54:37 +00:00
Brian Matzon ba88605f00 EFX patch by Ciardhubh 2010-05-24 21:50:26 +00:00
Brian Matzon aa928312b8 missing initialization of AL11 functions 2009-08-05 18:54:47 +00:00
Brian Matzon 8def41ccae support for OpenAL 64bit on windows 2009-03-17 21:36:18 +00:00
Elias Naur 708f354267 Added support for loading libopenal64.so. Added libopenal64.so compiled from openal soft 1.5.304. 2008-09-07 08:16:11 +00:00
Brian Matzon 625dc0fb28 support for ALC_ENUMERATE_ALL_EXT 2008-06-04 21:31:07 +00:00
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Elias Naur 6d9ce94068 javadoc fixes 2008-01-21 22:03:45 +00:00
Brian Matzon c3500a14d2 fixed 1.1 detection so that oal 1.1 stubs are loaded for major > 1 2007-11-12 16:02:57 +00:00
Brian Matzon 79a394c749 reordered context destruction - fixing some invalidation issues 2007-05-20 17:47:33 +00:00
Brian Matzon fc845268e6 remove context from the devices list of context on context destroy 2007-05-19 20:47:53 +00:00
Brian Matzon 4ec5e9994f moved invalidation into sycnhronized block 2007-05-19 20:40:04 +00:00
Brian Matzon 325ad04c7e dont compare validity on equals 2007-05-19 20:39:50 +00:00
Brian Matzon d0956ea179 fixed address checking issue
fixed issue with ALC error checking not taking a device into account
now tracking device and context create and destroy
made the create with open default device option public
misc cleaning up and commenting
2007-05-19 19:37:57 +00:00
Brian Matzon fdb0d2cd1d re-enabled missing ALC error check 2007-04-19 22:54:25 +00:00
Brian Matzon f7d2966370 remove debug 2007-04-19 22:43:38 +00:00
Brian Matzon 1d920fb4ef updated to ALC10 instead of ALC 2007-04-19 22:26:19 +00:00
Brian Matzon d16d77f30d updated to ALC10 instead of ALC 2007-04-19 22:25:47 +00:00
Brian Matzon a6ce837564 openal 1.1 2007-04-19 22:25:13 +00:00
Brian Matzon 23ad78416f exposing context and device
updated to ALC10 instead of ALC
removed getImplementations - alcGetString now works as "expected"
2007-04-19 22:24:36 +00:00
Brian Matzon 3b5064f229 updated to ALC10 instead of ALC 2007-04-19 22:23:40 +00:00
Brian Matzon 54eefcb876 exposing context and device 2007-04-19 22:23:20 +00:00
Elias Naur 6abfeb4df2 Made LWJGLUtil.getLibraryPaths support multiple library names. Now AL.create on linux tries both libopenal.so and libopenal.so.0, which is the name of the system library 2006-11-20 20:07:29 +00:00
Elias Naur f62f11b437 Made LWJGLUtil.getPathFromClassLoader private 2006-11-20 19:28:50 +00:00
Caspian Rychlik-Prince 16524516cd Tidied up unused variables, added serialVersionUIDs as appropriate,
removed a few unnecessary casts and brackets and exceptions.
2006-04-21 11:11:21 +00:00
Brian Matzon 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +00:00
Brian Matzon ac3a70926b support for ALC_ENUMERATION_EXT using LWJGL specific method: AL.getImplementations 2006-02-02 22:34:28 +00:00
Elias Naur 19d2d219ec Mac OS X: Load the framework (builtin) version of OpenAL last, after having tried all possible locations of a private openal.dylib 2006-01-16 19:35:09 +00:00
Elias Naur c26ebafa62 OpenAL: Split platform dependent code from extal.c into platform subdirs. Made nCreate take a path instead of an array of paths. 2006-01-16 15:54:50 +00:00
Brian Matzon 82f935ae34 using OpenAL32.dll name 2005-10-20 21:46:20 +00:00
Elias Naur df2bc7d7e0 Moved generated files to seperate directories 2005-09-29 17:13:38 +00:00
Elias Naur 2bb7d78c0f OpenAL: Made AL.create complain if it is already created to match Display.create behaviour 2005-09-16 06:50:34 +00:00
Elias Naur f7aa8b982b OpenAL: Cleaned up visibility and removed unnecessary static fields from AL 2005-09-16 06:43:10 +00:00
Caspian Rychlik-Prince df1c875ff4 Further tweakage 2005-09-15 23:15:13 +00:00
Caspian Rychlik-Prince 3399b6409e Altered create() methods to supply sane defaults 2005-09-15 19:30:49 +00:00
Elias Naur dda8ac8af1 Mac OS X: Handle MouseEvent.NOBUTTON case 2005-06-29 07:39:28 +00:00
Elias Naur 0f5281e24f OpenAL: Made the openal library path returned by the current ClassLoader and cwd more override java.library.path. Converted some printfDebug to printfDebugJava 2005-05-12 07:47:07 +00:00
Elias Naur 523a5c6fc2 Fixed generator to not include checkALerror.h 2005-05-05 10:02:45 +00:00
Caspian Rychlik-Prince 200ed3792a Cleanup of unused imports 2005-05-04 20:59:44 +00:00
Elias Naur f3d3ce7ce5 Moved ALC error check to java. Fix linux type cast warnings 2005-04-12 10:55:23 +00:00
Elias Naur f5cf0ef2a4 Converted ALC pointers from int to long 2005-04-12 10:30:05 +00:00
Elias Naur 1619279ed1 Fix linux openal library name 2005-03-30 08:32:15 +00:00
Brian Matzon 97f919869e reworked detection of native paths to shared implementation in new class LWJGLUtil 2005-03-28 12:44:33 +00:00
Elias Naur 7986b0abef OpenAL: Don't use System.mapLibraryName 2005-03-09 13:28:16 +00:00
Elias Naur 7251a38930 OpenAL: Moved more library loading from native to java 2005-03-09 13:06:17 +00:00
Elias Naur 851c4d3129 AL: override default access control in AL.getPathFromClassLoader 2005-02-18 08:17:27 +00:00
Elias Naur 0f97eef81b Made the generator deterministic by sorting. Should make the CVS commits smaller and make verification of generator changes easier by diff'ing previous and current output. 2005-02-16 21:46:03 +00:00
Elias Naur 5d53187baa Win32: fixed compilation 2005-02-16 20:25:23 +00:00
Elias Naur fdfa82a061 Made the gl caps flags auto-generated and moved them to GLContext.getCapabilities() 2005-02-16 12:58:40 +00:00
Elias Naur 17ee2523c0 The Big Generator. All OpenGL and OpenAL java and native source files are now generated from templates. See doc/generator.txt for a detailed description. 2005-02-15 11:05:36 +00:00
Elias Naur 1446c78b76 Renamed AL.getPathFromJWS to AL.getPathFromClassLoader and made it access protected methods too 2005-01-28 15:47:29 +00:00
Elias Naur 8220b2e04c Removed EAX 2005-01-18 15:22:52 +00:00
Elias Naur 8412ce40ed Fix Mac OS X Webstart OpenAL by searching for thw lwjgl library in addition to the openal library 2004-11-22 09:43:52 +00:00
Brian Matzon e93393ef8a native loading modified to be in line with oal 2004-09-19 11:17:28 +00:00
Brian Matzon 309ef6b06e fixed a gazillion imports 2004-08-20 06:26:19 +00:00
Caspian Rychlik-Prince 3ff5cf64ef Added getContext() 2004-08-10 10:31:52 +00:00
Elias Naur adb35c3a2e Made all AL classes final 2004-08-01 21:26:25 +00:00
Elias Naur 5966d7b6b6 Added private constructors to OpenAL and OpenGL static classes 2004-07-31 09:34:09 +00:00
Elias Naur 72afa14aa3 Converted *.allocateDirect to BufferUtils 2004-07-29 11:41:11 +00:00
Elias Naur 42cd6ddb20 Added buffer checks to AL 2004-07-29 11:30:13 +00:00
Brian Matzon f618023b3f expose suspendContext 2004-07-11 08:09:34 +00:00
Elias Naur 69d44be069 take out check on alcMakeContext again, the result type is differs on different platforms 2004-07-04 14:08:53 +00:00
Elias Naur 0ae705b7b0 Added more error checking in OpenAL. Unload native stubs on AL destroy. 2004-07-04 13:58:11 +00:00
Elias Naur 53bd9b660d all initNativeStub() methods throws LWJGLException 2004-07-04 13:14:06 +00:00
Elias Naur b7e4214a1a Moved openal native stub loading to java 2004-07-04 09:13:19 +00:00
Brian Matzon 4cea3e191b header unification 2004-06-12 20:28:34 +00:00
Brian Matzon bafbb8899b miscellaneous javadoc fixes 2004-05-23 17:14:44 +00:00
Caspian Rychlik-Prince b697fb3ecf Removed Sys.setTime(), Sys.getPlatform()
Changed Sys.getTime()
Added Display.sync()
2004-05-05 14:28:40 +00:00
Elias Naur 08fc228d2c Fixed null pointer exception on ALC.alcOpenDevice failure 2004-05-02 15:46:55 +00:00
Elias Naur 942dfb758d removed size argument from alBufferData and added additional buffer types 2004-04-09 15:22:20 +00:00
Elias Naur 9d55bbb302 Renamed LWJGLErrorException to LWJGLException 2004-03-27 15:05:24 +00:00
Elias Naur 63b33930b1 Added LWJGLErrorException to replace the too general Exception 2004-03-27 14:42:47 +00:00
Elias Naur b98677fb47 All classes use Sys.initialize now 2004-03-27 13:48:58 +00:00
Elias Naur c093f3ace1 Replaced asserts with proper runtime exceptions 2004-03-27 11:55:07 +00:00
Elias Naur 21cdb1f469 Converted openal to dynamic java native methods 2004-03-09 11:03:10 +00:00
Elias Naur 78e579f6be use vorbis libs from local directory in linux 2004-03-08 15:21:10 +00:00
Brian Matzon 3fe2d6cb69 OpenAL / EAX Refactor 2004-02-26 21:51:58 +00:00
Caspian Rychlik-Prince 11b2fc05e3 The BIG LWJGL REFACTORING 2004-02-08 20:41:00 +00:00
Brian Matzon 8772b13167 vorbis extension 2004-01-08 22:56:59 +00:00
Brian Matzon 803c5391a5 created set too quickly 2004-01-08 22:41:55 +00:00
Brian Matzon bc53639971 no destroy on !create 2004-01-08 22:41:22 +00:00
Brian Matzon f20164e785 fixed small bug in alSourcePlay 2004-01-06 19:45:32 +00:00
Brian Matzon 035068e776 New EAX model implemented - needs more testing 2004-01-06 19:22:12 +00:00
Brian Matzon 4a89d67485 don't allow second creation 2003-12-27 02:12:02 +00:00
Brian Matzon 7a763bff29 *fv support 2003-12-27 02:10:56 +00:00
Elias Naur 790b01a01b Reduced Sys.debug from bool -> int 2003-12-20 22:03:25 +00:00
Elias Naur fb8fd0a2d7 Implemented proper debug levels 2003-12-20 14:01:31 +00:00
Elias Naur 472b5337d4 Replaced debug libraries with runtime debug condition 2003-12-15 11:49:17 +00:00