Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
ζeh Matt
88623be8da
Add force redraw debug paint option
2025-10-02 17:30:31 +03:00
Gymnasiast
a03613df35
Change FilterPaletteID to lowerCamelCase
2025-09-23 21:09:54 +02:00
ζeh Matt
a192980db9
Cleanup the code a bit
2025-08-12 01:05:54 +03:00
ζeh Matt
c4f7e0a1fb
Fix #24745 : Do not create a paint session when rendering is inhibited
2025-08-12 00:49:04 +03:00
Michał Janiszewski
0e9982d6ca
Drop "Pause game when Steam overlay is open" feature
...
As shown in https://github.com/OpenRCT2/OpenRCT2/pull/24618 , the steam
overlay feature doesn't work well and can cause jarring user experience
in some scenarios. It is only supported in the software renderer and
with code moving steadily to OpenGL, the time has come to remove a
broken feature.
2025-06-16 21:57:56 +02:00
mix
cc813e3f16
Refactor window visibility cache and fix viewport visibility
2025-05-21 18:06:06 +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
Matt
5d31e30434
Stricter OpenGL error checking ( #24419 )
...
* Wrap OpenGL api calls to catch errors more easily
* Default initialize members, use correct types, more error checking
* Add missing include
* Fix the build, hopefully
* Ignore clang-tidy warning
* Change the macro expansion
2025-05-17 23:54:28 +03:00
ζeh Matt
43f148db96
Remove lock from TextureCache, draw calls are never done in parallel
2025-05-16 16:45:09 +03:00
Matt
42df41efdb
Remove the use of shared_ptr for the Context ( #24404 )
...
* Replace shared_ptr with unique_ptr for Context systems, return refs
* Fix all the users
* clang-format fix
* Fix linux builds
2025-05-15 22:46:06 +03:00
ζeh Matt
f241973585
Fix paint debug to visualize invalidation
2025-05-07 23:26:33 +03:00
Garrett Leach
099791ba76
Remove unused vClip in line shader ( #24346 )
...
The shader does not have this attribute which is why GetAttributeLocation is never called to populate it.
2025-05-06 14:23:59 +02:00
Matt
6335c31336
Rename DrawPixelInfo to RenderTarget ( #24339 )
...
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget
* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
ζeh Matt
730ceb5c33
Adjust code, deprecate and fallback to HW if software was selected
2025-04-30 18:10:12 +03:00
ζeh Matt
bac84cf17f
Remove SoftwareDrawingEngine, there is no reason to keep it
2025-04-30 18:02:52 +03:00
ζeh Matt
6ff5841fb1
Fix OpenGL invalidation breaking for weather effects, they start before
2025-04-27 00:48:05 +03:00
ζeh Matt
e2d9a44a5d
Fix stray pixels showing up when panning and moving a windows
2025-04-25 17:48:39 +03:00
ζeh Matt
7aca569363
Silence warning about final
2025-04-25 17:48:38 +03:00
ζeh Matt
4a413ff8af
Increase the grid size for OpenGL, it's faster this way
2025-04-25 17:48:37 +03:00
ζeh Matt
576a757200
Add safe guards to make sure we have a valid drawing context
2025-04-25 17:48:37 +03:00
ζeh Matt
f51ca4dae6
Add stricter checks to validate we have a valid drawing context
2025-04-25 17:48:37 +03:00
ζeh Matt
c2d239c8c9
Fix changing scale or resizing the window having empty areas
2025-04-25 17:48:36 +03:00
ζeh Matt
e34c52de59
Work-around for weather effects, always redraw in this case
2025-04-25 17:48:36 +03:00
ζeh Matt
c9bba5ee63
Workaround for OpenGL renderer viewport panning, turn it into a hybrid
2025-04-25 17:48:36 +03:00
ζeh Matt
cfe340a36b
clang-format fix
2025-04-25 17:48:36 +03:00
ζeh Matt
c6a3fcdca0
Implement support for viewport shifting
2025-04-24 21:15:50 +03:00
ζeh Matt
7a2f314aa9
Use invalidation for OpenGL drawing engine
2025-04-24 21:15:49 +03:00
ζeh Matt
4e8ac7ea12
Fix invalidation debug paint
2025-04-24 21:15:49 +03:00
Duncan
d5de6c2b49
Start Simplifying CMake code ( #24177 )
...
* Use generator expressions
* Update cmake minimum
* Move options and remove project name
* Use further generator expressions
* Try upgrading to CMake 3.25 on Ubuntu 22.04 CI
Install software-properties-common
* Standardise with DISABLE_TTF for disable defines
* Set X64 var differently due to unknown reasons
---------
Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com >
2025-04-11 16:09:52 +01:00
Michael Steenbeek
cfb4b008b2
Create weak enum for PaletteIndex
2025-04-09 16:47:22 +02:00
mix
69016f546e
Fix #21824 , #22820 : OpenGL draws downscaled and masked sprites wrong
2025-04-03 22:01:40 +00:00
Michael Steenbeek
aaed1dba5e
Merge pull request #24052 from ZehMatt/more-perf
...
Improve performance of OpenGL transparency depth algorithm
2025-03-30 17:10:05 +02:00
Gymnasiast
41dc87c68e
Refactor DRAWING_ENGINE_FLAGS into FlagHolder
2025-03-26 12:43:21 +01:00
Gymnasiast
b26a2953d7
Rename IMAGE_FORMAT and its members
2025-03-26 11:59:12 +01:00
Gymnasiast
14b881e22b
Rename DIRID and its members
2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Gymnasiast
c5fff2bb77
Create enum class for FileMode
2025-03-25 22:47:08 +01:00
ζeh Matt
621ef5fe8c
Make it work with older compilers
2025-03-22 17:53:47 +02:00
ζeh Matt
05755b3f7e
Avoid heap allocations for transparency depth calculation
2025-03-22 17:35:56 +02:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Alex ZH
a8aa41f098
Fix debug dirty visuals scaling on high DPI displays ( #23697 )
2025-02-10 19:42:39 +00:00
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Ethan O'Brien
0310084c04
Merge branch 'develop' into develop
2025-01-20 08:28:57 -06:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Ethan O'Brien
8dfe1f91a9
Resolve merge conflicts
2025-01-10 12:16:03 -06:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Ethan O'Brien
63b0106de8
Fix emscripten support
2024-12-31 09:31:33 -06:00
Aaron van Geffen
23d4032eed
Move LightFX into its own namespace ( #23506 )
2024-12-30 11:04:39 +00:00
Matt
92dac978dc
Merge pull request #23322 from ZehMatt/drawing-refactor
...
Refactor some code around the color palette
2024-12-17 20:29:13 +02:00