Graham
34458568a8
Add initial Javadoc configuration
5 years ago
Graham
2da5971ab9
Create aggregate reports at the top level only
5 years ago
Graham
0a3b35f677
Add note about compatibility with non-Linux UNIX-like systems
5 years ago
Graham
a5463be8b7
Fix typo in aol.properties comment
5 years ago
Graham
552e3cbd8d
Replace preferences file jagex_ prefix with .openrs2_
5 years ago
Graham
b12f59a217
Revert "Remove unnecessary jaggl locks"
...
This reverts commit 57012072a3
.
This causes crashes when the canvas is resized.
5 years ago
Graham
acaeb1f788
Update gl-natives description
5 years ago
Graham
4a87681f29
Add cross-compilation instructions to the README
5 years ago
Graham
e35384c1a9
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
61a5951f82
Fix macOS linker -arch flag
5 years ago
Graham
21a6886586
Activate mac-legacy profile automatically
5 years ago
Graham
c0e51084d2
Add default nar.javaHome value
5 years ago
Graham
e7b518e649
Fix cross-compiling for i386 on macOS
5 years ago
Graham
69feff1dac
Add mac-legacy profile for building against Java 6 on macOS
5 years ago
Graham
9960aec5ef
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
0d4edcd186
Use CGSize/CGRect where appropriate for 32-bit support
5 years ago
Graham
ea8dcbf9ec
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
fb429421ed
Update NSView-backed OpenGL context on resize
5 years ago
Graham
49a4cb3084
Remove macOS-specific resize logic from the client
...
Our custom jaggl natives update the OpenGL context upon resizing, unlike the
original natives.
5 years ago
Graham
e1d24ec065
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
ae0baeb271
Include more specific headers on macOS
...
This reduces the compile time fairly significantly.
5 years ago
Graham
fd2fdd342e
Replace <source> and <target> with <release>
5 years ago
Graham
1333cc31e6
Format StringUtilsTest
5 years ago
Graham
64460da25a
Update IDEA's import style to match the impsort plugin settings
5 years ago
Graham
b53ab6f04a
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
0f7b2ea9ca
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
5e18198ae4
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
9b7086f3a5
Resize off-screen window after resizing the framebuffer
5 years ago
Graham
293a37c593
Lock framebuffer variables accessed from multiple threads
5 years ago
Graham
ebcd7a6911
Add comment to the flushBuffer/glFlush call on macOS
5 years ago
Graham
57e61da679
Set swap interval of the onscreen context on macOS
5 years ago
Graham
82e2c1f01a
Disable CAOpenGLLayer asynchronous mode
...
canDrawInCGLContext is called far more often than blit, so it seems like a
waste of effort.
5 years ago
Graham
a2edbb8781
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
d7be5f667e
Add list of known macOS bugs to the gl-natives README
5 years ago
Graham
913057b61d
Fix JagGLLayer frame in resizable mode
5 years ago
Graham
7711f24bd2
Define WIN32_LEAN_AND_MEAN on Windows
5 years ago
Graham
e096d031df
Ignore jlong to pointer cast warnings on 32-bit Windows
5 years ago
Graham
d68fa93c66
Rename parameter to lpParameter for consistency
5 years ago
Graham
2806bd301d
Use EXIT_{SUCCESS,FAILURE} constants
5 years ago
Graham
57012072a3
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
bd005106a2
Add initial jagmisc replacement
5 years ago
Graham
3be031e6b1
Strip trailing whitespace from README.md
5 years ago
Graham
d34b1e7e72
Combine analyze and getFrames
5 years ago
Graham
28369f1d75
Add UnusedArgTransformer
5 years ago
Graham
d20e3997b4
Split transformMethod into {pre,post}TransformMethod
5 years ago
Graham
145ed6b1ee
Add classPath and library arguments to all Transformer methods
5 years ago
Graham
46ab5111e6
Add isMethodImmutable method to TypedRemapper
...
I'm going to use this in a new Transformer.
5 years ago
Graham
b7347b2632
Move ArgRef to the top level
...
I'm going to use it in another Transformer.
5 years ago
Graham
bb2f72c4f0
Add ConstSourceInterpreter
...
It is akin to SourceInterpreter, but more efficient as it only tracks
the sources of integer constants and it doesn't track sources through
copy instructions.
5 years ago
Graham
71d1b8d435
Update Guava
5 years ago