Michael Lutz
|
d79398a1d5
|
Fix #8763: [OpenGL] Cursor sprite origin can be negative.
|
2021-02-28 11:12:13 +01:00 |
|
Michael Lutz
|
77854d561b
|
Fix: [OpenGL] Don't use OpenGL on MESA software renderers.
Performance in this case is worse than not using OpenGL, so just let
OTTD fall back to a different video driver.
|
2021-02-27 19:01:34 +01:00 |
|
frosch
|
dfa141818b
|
Fix: OpenGL cursor did not consider sprite offsets of cursor sprites.
|
2021-02-27 14:52:11 +01:00 |
|
Michael Lutz
|
311df31fb1
|
Codechange: [OpenGL] Load all OpenGL functions dynamically.
|
2021-02-25 00:34:49 +01:00 |
|
Michael Lutz
|
a0c1a3f736
|
Codechange: [OpenGL] Simplify loading OpenGL extension functions.
|
2021-02-25 00:34:49 +01:00 |
|
Michael Lutz
|
e1e8cc3851
|
Fix #8734: [OpenGL] Apply palette remap to cursor sprites. (#8742)
|
2021-02-24 22:10:25 +01:00 |
|
Michael Lutz
|
b4a3bc1ffe
|
Codechange: [OpenGL] Separate context state setup from general init.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
86c309ea75
|
Codechange: [OpenGL] Let OpenGL clear the pixel buffer if possible.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
ae7c63cc35
|
Codechange: [OpenGL] Use persistently mapped pixel buffers when supported.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
200be7d20c
|
Add: [OpenGL] Support for a separate animation buffer that stores the palette values of the screen in addition to the colour buffer.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
6bcc4884c2
|
Add: [OpenGL] Accelerated mouse cursor drawing.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
bcd15b4dd2
|
Codechange: [OpenGL] Initialize backing store to opaque alpha to allow blending effects.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
e8fc050b6e
|
Add: [OpenGL] Support for 8bpp blitters.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
320072c8dc
|
Codechange: [OpenGL] Explicitly assign which framebuffer target receives the colour values.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
821f30f735
|
Codechange: [OpenGL] Use GLSL version 1.50 if available.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
90fd8f8cda
|
Codechange: [OpenGL] Use generic vertex attributes in the shader program.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
acf59f6b68
|
Codechange: [OpenGL] Use shaders to display the video buffer on screen.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
9a069faa01
|
Codechange: [Win32] Try to get an OpenGL 3.2+ context if possible.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
a990c497b5
|
Codechange: [OpenGL] Use a pixel buffer object to store the video buffer.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
5af0cfd902
|
Codechange: [OpenGL] Use a vertex array object to store the vertex state for the video buffer.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
acf2ce35f7
|
Codechange: [OpenGL] Use a vertex buffer object to store the vertex data for the video buffer.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
5ad545dcc1
|
Codechange: [OpenGL] Only update the dirty parts of the video buffer texture.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
3a77ade6b2
|
Codechange: [OpenGL] Enable driver debug messages if supported.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
d7b96a424f
|
Codechange: [OpenGL] Use new-style extension testing introduced with OpenGL 3.0.
|
2021-02-22 22:16:07 +01:00 |
|
Michael Lutz
|
ef478ade64
|
Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to the screen.
|
2021-02-22 22:16:07 +01:00 |
|