Graham
65258fc695
Change required JDK version to 11
...
I haven't tested on 7 (and I'm not sure if the jawt shared lib files are
even in the correct place), so I think it's better to require the
version I've been testing on.
This is also consistent with the requirement for the main openrs2
project.
5 years ago
Graham
5b3b705c40
Add build status badge to the README
5 years ago
Graham
352b04e8c1
Document release process
5 years ago
Graham
ada6e2cba6
[maven-release-plugin] prepare for next development iteration
5 years ago
Graham
27fa333377
[maven-release-plugin] prepare release v1.0.0
5 years ago
Graham
0dc4b20643
Add release plugin configuration
...
We need to enable all of the OS-specific profiles so the version numbers
of all the modules are bumped.
In turn this means we need to avoid calling the verify target during
release:prepare, as we can't build all the modules on any platform.
Similarly, we can't actually call the deploy target during
release:perform. We instead call `mvn -Prelease deploy` on each
supported operating system/architecture manually.
5 years ago
Graham
4e517fdb7f
Remove extraneous blank line
5 years ago
Graham
dd7f10ee31
Switch to stable version of openrs2-parent
5 years ago
Graham
ee88f1069a
Add temporary release files to .gitignore
5 years ago
Graham
0fed49f267
Remove .idea exception from .gitignore
5 years ago
Graham
0f99adb2f8
Disable -Wint-to-pointer-cast
...
This appears during 32-bit Linux builds.
5 years ago
Graham
ee3b4aaf4a
Set release repository updatePolicy to never
5 years ago
Graham
fef5f1d396
Move license to the parent POM
5 years ago
Graham
49b9b634d7
Add .editorconfig file
5 years ago
Graham
fe2977afaf
Reduce minimum required Java version
...
I think we could even get away with Java 6 on Macs and Java 1.4.2 on
other operating systems, but Maven 3.3.9 needs at least Java 7.
5 years ago
Graham
ca0bbf5572
Add root README
5 years ago
Graham
4701b3d7f2
Move COPYING and COPYING.LESSER files to the root
5 years ago
Graham
04346a1157
Add .gitignore file
5 years ago
Graham
b8b2492ac0
Add openrs2-natives parent POM
5 years ago
Graham
e24708b972
Remove unused openrs2.root property
5 years ago
Graham
3cb54ad0e1
Fix typo in aol.properties comment
5 years ago
Graham
d048d99890
Revert "Remove unnecessary jaggl locks"
...
This reverts commit 57012072a3ac3d4f63c8faa5584331d94f61fb7c.
This causes crashes when the canvas is resized.
5 years ago
Graham
1d2e19cd43
Update gl-natives description
5 years ago
Graham
186366d339
Move compiler/linker flags from profiles to aol.properties
...
This is to make cross-compiling for i386 on amd64 easier, by adding
-m32/64 or -arch flags where appropriate.
This commit also adds a gcc linker on Linux and macOS, replacing the
default g++ linker. It's roughly equivalent, but means the shared
library has fewer dependencies (e.g. it doesn't link against libstdc++).
5 years ago
Graham
86760cb308
Activate mac-legacy profile automatically
5 years ago
Graham
fcc45612f8
Add mac-legacy profile for building against Java 6 on macOS
5 years ago
Graham
b5d516c3d2
Use nar.javaHome instead of java.home
...
This allows the native libraries to be built against a JDK separate to the JDK
Maven runs under.
5 years ago
Graham
b01f8b7737
Use CGSize/CGRect where appropriate for 32-bit support
5 years ago
Graham
a7c56c9bef
Check that jaggl_context_appkit is non-NULL before update call
...
It is created after the observer is added, so there is a race condition.
5 years ago
Graham
ede4a96a09
Update NSView-backed OpenGL context on resize
5 years ago
Graham
5fbd3fec80
Add legacy NSView support
...
NSView is used in preference to CALayer if available, as we avoid all the
framebuffer blitting overhead.
5 years ago
Graham
097b3d244a
Include more specific headers on macOS
...
This reduces the compile time fairly significantly.
5 years ago
Graham
74516baaa6
Reduce screen corruption when resizing
...
This commit clears framebuffers when they are created, copies the contents of
the previous framebuffer to the new framebuffer when resizing and moves all the
resizing code into the blit method. All of these help to reduce screen
corruption, although a small amount still remains if you resize quickly.
5 years ago
Graham
5f22187451
Blit before swapping framebuffers
...
This fixes latency (and also screen corruption when resizing), as we blitted a
framebuffer that had already been displayed on the off-screen window rather
than the one that had just been rendered.
5 years ago
Graham
1a6793fb62
Make releaseCGLContext a no-op
...
It is sometimes called after the context is destroyed. Attempting to call any
gl* functions in this case causes a segfault.
5 years ago
Graham
1b85ddf874
Resize off-screen window after resizing the framebuffer
5 years ago
Graham
f50b381f95
Lock framebuffer variables accessed from multiple threads
5 years ago
Graham
733790a23b
Add comment to the flushBuffer/glFlush call on macOS
5 years ago
Graham
dc34668b5b
Set swap interval of the onscreen context on macOS
5 years ago
Graham
064ecf3497
Disable CAOpenGLLayer asynchronous mode
...
canDrawInCGLContext is called far more often than blit, so it seems like a
waste of effort.
5 years ago
Graham
c5b8487e1b
Create NSOpenGLContext synchronously
...
This is consistent with all other code that runs on the main UI thread, and
slightly easier to reason about.
5 years ago
Graham
2c20668aac
Add list of known macOS bugs to the gl-natives README
5 years ago
Graham
d3687ab98d
Fix JagGLLayer frame in resizable mode
5 years ago
Graham
7a9a307031
Rename parameter to lpParameter for consistency
5 years ago
Graham
925b5882e6
Use EXIT_{SUCCESS,FAILURE} constants
5 years ago
Graham
753508ea26
Remove unnecessary jaggl locks
...
We only need to lock GLX calls, not standard OpenGL calls. This should
improve the performance of the jaggl bindings on UNIX systems.
5 years ago
Graham
457f297551
Add initial jagmisc replacement
5 years ago
Graham
7357273daa
Document why our ChoosePixelFormat usage is correct
5 years ago
Graham
5f15cfb895
Fix typo ('the version 3.0' -> 'version 3.0')
5 years ago
Graham
2249e971ca
Change GPL v3 -> v3.0
...
This is just to clarify that the intention is that only the original v3
license is acceptable.
5 years ago