Graham
f48bf54564
Remove unnecessary global AWT lock on Windows
5 years ago
Graham
1a6ff16586
Unregister class after jaggl_bootstrap_proc_table
5 years ago
Graham
6006f24027
Avoid passing GLX_SAMPLE* to glXChooseVisual if num_samples is zero
...
I think glXChooseVisual will return an error if GLX_SAMPLE* is present
even if we set it to False/0, so we might never get a context on old
hardware.
5 years ago
Graham
4797bf6224
Add multisample support to WGL contexts
5 years ago
Graham
7b2ec0e4b0
Populate jaggl_alpha_bits with cAlphaBits from selected pixel format
5 years ago
Graham
e93a23315b
Reduce indentation in chooseContext
...
We don't need to keep indenting like the X11 code as we only call
ChoosePixelFormat once.
5 years ago
Graham
adffb1ecac
Add #error case to all platform #if/else chains
...
This is a bit more robust: if we typo one of the platform defines, we'll
know about it rather than silently missing bits of code.
5 years ago
Graham
a902d6655e
Add initial WGL support
5 years ago
Graham
905fab91ca
Load glTexImage3D with glXGetProcAddressARB
...
It isn't part of OpenGL 1.1, so we need to make this change for
compatibility with Windows.
5 years ago
Graham
2908ebe07c
Add *.iml to .gitignore
5 years ago
Graham
b77e93ebd0
Exclude OpenGL extension headers from formatting
5 years ago
Graham
0b24cf3bcf
Share jawt library between profiles
5 years ago
Graham
53c97a8725
Add OpenGL extension headers
...
Copied from https://github.com/KhronosGroup/{OpenGL,EGL}-Registry .
Windows doesn't supply these headers.
5 years ago
Graham
66f9429fe4
Add linker configuration for building gl-natives on Windows
5 years ago
Graham
ab00f333c6
Link jawt as a lib instead of a sysLib
...
This prevents us from needing to specify -L manually.
5 years ago
Graham
5e7a4d70cd
Move UNIX-specific flags to the unix profile
5 years ago
Graham
c9d29a71d8
Use const pointers where possible
5 years ago
Graham
c03570a9a3
Pass -Wall, -Wextra and -pedantic options to the compiler
5 years ago
Graham
9fd335d87b
Add bindings for complex gl* functions
5 years ago
Graham
d470132945
Add bindings for simple gl* functions
5 years ago
Graham
fb60dd361b
Add gl* stubs to jaggl.c
5 years ago
Graham
60f3303ab5
Add initial GLX context management
5 years ago
Graham
328645377a
Add hs_err_pid*.log to .gitignore
5 years ago
Graham
f292bdf33e
Add jagmisc skeleton
5 years ago
Graham
6127d26b5a
Remove impsort execution
...
It slows the build down considerably. I'm keeping the configuration so
it can still be run manually.
5 years ago
Graham
364a07e980
Set gl-natives and misc-natives type to nar
5 years ago
Graham
e114d176af
Exclude misc-natives from non-Windows platforms
5 years ago
Graham
3e2192236f
Add jaggl_dri implementation
5 years ago
Graham
d0cc1b5029
Add code style config for C files
5 years ago
Graham
d77de89ea1
Add JNI header files generated from jaggl and jagmisc
...
A long-term goal is to write clean room implementations of these
libraries, for several reasons:
* The original libraries are missing, so we currently have to do a fair
amount of awkward bytecode patching in the loader to use JOGL
instead.
* The original libraries were not compiled for 64-bit Linux. We might
also want to compile for new architectures (e.g. ARM or RISC-V) or
additional operating systems (e.g. the BSDs).
* I'm worried that over time the libraries will bit rot and might
eventually stop working with modern JREs - it's already been about 10
years since they were originally compiled!
I'm not too concerned about putting this in the main open-source
repository: I think it's generally believed that interfaces are not
copyrightable, and we're only copying the interface for
interoperability purposes. The native code will be original.
Furthermore, most of the jaggl interface is just a copy of the OpenGL
interface, so it's unlikely that Jagex could claim they hold the
copyright on it anyway.
5 years ago
Graham
cc1a1adde7
Add seperate jar for the jaggl DRI classes
5 years ago
Graham
65e7efde23
Add TODO
5 years ago
Graham
0b6966c6f8
Move signed classes in a single pass
5 years ago
Graham
12293bb3b1
Refactor package structure of the asm module
5 years ago
Graham
0c8d0f9cc3
Add initial support for whole program analysis in transformers
5 years ago
Graham
15ccc70c37
Add new remap package
5 years ago
Graham
406feb72f0
Move classpath package to the asm module
...
This is in preparation for Transformers taking an entire ClassPath
instead of a single Library at a time, which is in turn required for
dummy argument removal (a whole program analysis).
5 years ago
Graham
cf650af5fa
Add OriginalArg annotation
...
The dummy argument removal code is going to fiddle with the argument
lists (and so could manual refactoring).
5 years ago
Graham
3978ee9ea0
Allow Transformers to throw AnalyzerException
5 years ago
Graham
b27763a699
Move field/method exclusions to the TypedRemapper
5 years ago
Graham
df4afccccc
Move inherited field/method set code to ClassPath
5 years ago
Graham
751ae183c1
Add IntInterpreter and IntValue
...
I'm planning to use these to remove dummies.
5 years ago
Graham
2cde631fca
Add BitShiftTransformer
5 years ago
Graham
82d359ad4d
Add FieldOrderTransformer
5 years ago
Graham
b37feb0535
Add .editorconfig file
5 years ago
Graham
c04986cedb
Add XML code style matching Maven's convention for POMs
5 years ago
Graham
8a3a9102cb
Use multiModuleProjectDirectory instead of executionRootDir
...
executionRootDir was always a bit of a hack.
5 years ago
Graham
48f8c68500
Format code
5 years ago
Graham
36995c46ef
Add initial IntelliJ IDEA code style configuration
5 years ago
Graham
09001025ba
Update dependencies
5 years ago