1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
mix
b62b9e853d Fix #24151: Change OpenGL shader gl_FragCoord use to not require layout 2025-08-15 22:01:46 +01:00
Matt
01b577fa58 Improve performance of panning the viewport with OpenGL renderer (#24413)
* Improve performance of panning the viewport with OpenGL renderer

* Use a shader to perform the copy rect operation

* Clear the frame buffer after its initialized

* Handle Y flip in shader, be explicit about FBO draw state

* Target 330 core, remove the y flip handling

* Explicitly use GL_RGB8 and not GL_RGB

* Add more error handling, clear depth when depth is created

* Lets try this

* Make sure blend and depth are disabled

* Bind the source fbo for reading

* Try this alternative approach

* Set read and draw buffer before glBlitFramebuffer

* Apple is forcing my hand

* Update changelog.txt
2025-05-21 18:35:05 +03:00
mix
69016f546e Fix #21824, #22820: OpenGL draws downscaled and masked sprites wrong 2025-04-03 22:01:40 +00:00
mrmbernardi
5b42da2646 Add clang format for shaders (#21066) 2023-12-08 13:02:43 +01:00
Michał Janiszewski
10bc3da9b9 Improve shader compatibility with GLES (#14489) 2021-04-20 08:10:23 +02:00
LRFLEW
aac1c59714 OpenGL: Add multi-pass transparency 2017-10-30 16:21:49 +01:00
LRFLEW
d3d41ea724 OpenGL: Add single-pass transparency 2017-10-30 16:21:49 +01:00
LRFLEW
3d2d99817c OpenGL: Add Depth Buffer and Depth Test 2017-10-30 16:21:49 +01:00
LRFLEW
6bf2e0157b OpenGL: Improve Shaders 2017-10-30 16:21:49 +01:00