* Store graphics vendor
* AMD driver workarounds
* Test TRANSFORM_BIT
* Test GL_TEXTURE_BIT
* Fix handling of bound textures on glDeleteTextures
* Switch up the LOGGER in RenderSystem so we don't trigger a Forge Configuration load; AMD driver default matrix mode workaround
* Switch BatchingFontRenderer to use the gl methods via GLSM to better respect cache bypassing
Fix a few instances of GLSM not respecting the bypass
* Start with "runningSplash" true always to disable the cache until loaded into the world
---------
Co-authored-by: Caedis <[email protected]>
* Properly Cache GL_SHADE_MODEL and make it a stack
* Add opengl_32_core to docs, so we can easily see what is needed to be deprecated/emulated
Add some stub functions to be fleshed out later
* Tests for GL_DEPTH_BUFFER_BIT
* Swizzle DepthState.mask ~> enabled
* Use AssertAll so we can clearly see gl/glsm state differences
* Reset test state leakage from ColorBufferBit
* Add start of test for GL_CURRENT_BIT
* Initial basic display list tests
* Print mismatched array index for array comparisions
* Add message for all tests
* Test GL_CURRENT_BIT
* Implement GLSM stub functions
* Test GL_ENABLE_BIT
* Add verifyNotDefaultState when we don't care about the values, just that they're not the default
* GL_MULTISAMPLE seems to be broken on Nvidia
* Test GL_FOG_BIT
* Check glGetError() after every test
* Exclude some tests based on vendor
* Test most of GL_LIGHTING_BIT
---------
Co-authored-by: Darren Eberly <[email protected]>
* Initial model testing
* Fix UV
* More quad work
* Update BlockRenderer.java
* QuadProvider renders right!
* Clean up
* Update CubeModel.java
* Initial colorization work
* (Badly) color grass
Unbreaks vanilla blocks
* Leaves are easier
* Add separate AO back
* Relocate to Angelica
* Cleanup + pool quads
* Add TODOs for future reference
* Update LightDataAccess.java
* Replace code comment with TODO
* Update WorldSlice.java
Co-authored-by: makamys <[email protected]>
* Default quads to UP
* Only coerce facing in Quad#getFace
Mirrors 1.16's face handling more accurately.
Fixes face culling not working properly for blocks like tall grass
* Iterate over unaligned quads too
* Don't cull unaligned faces
* Release QP quads
---------
Co-authored-by: makamys <[email protected]>
* GLSM Improvements
* Add an IntegerStateStack
* Use IntegerStateStack to track the active texture unit
* Track activeTextureUnit with GL_TEXTURE_BIT
* Bugfix - Don't include color with GL_COLOR_BUFFER_BIT
* Fully test glPush/PopAttrib for GL_COLOR_BUFFER_BIT
* Split GLStateManager init into two pieces
* OpenGL State Debugging
* Add OpenGLDebugging
* Enhance GLSM to be aware of single vs multiple return values for glGet
* Capacity vs Remaining (needs NPE saftey?)
Int -> float
glLoadMatrix
* Update src/main/java/com/gtnewhorizons/angelica/glsm/debug/OpenGLDebugging.java
Co-authored-by: makamys <[email protected]>
* Update src/main/java/com/gtnewhorizons/angelica/glsm/debug/OpenGLDebugging.java
Co-authored-by: makamys <[email protected]>
* tweaks
* Fixes
* Have checkGLSM compare matricies differently than other things
* Each Texture Unit has it's own TextureMatrix stack
* Switch to a ClientTickEvent and directly query the Keyboard so we can run the checkGLSM in GUIs and other places
* Remove default keybind
* Don't trigger quite so often
---------
Co-authored-by: makamys <[email protected]>