Commit Graph

121 Commits

Author SHA1 Message Date
superp00t
1570d3dc99 fix(gx): create GLSDL graphics device on Linux 2023-12-02 12:28:53 -05:00
superp00t
b379e06194 fix(gx): add missing include <cstring> 2023-12-02 12:18:48 -05:00
superp00t
56439993ba feat(gx): implement GLSDLDevice::SetScissor 2023-11-30 22:32:07 -05:00
superp00t
1620994f02 fix(gx): typo 2023-11-30 16:13:08 -05:00
superp00t
47b9878e3e fix(gx): restore old behavior to GLSDL 2023-11-30 16:11:40 -05:00
superp00t
29edb4e032 fix(gx): return fallback sample count 2023-11-26 15:38:57 -05:00
superp00t
697f3ca9f6 fix(gx): disable unused code block pertaining to multisamples 2023-11-26 15:12:00 -05:00
superp00t
bf0fa09160 fix(gx): do glFlush() before swapping buffers 2023-11-26 15:11:22 -05:00
superp00t
3da866cfb0 fix(gx): include CGxDeviceGLSDL 2023-11-26 14:52:03 -05:00
superp00t
884d208bd0 feat(gx): resize GLSDL window with SDL resize event 2023-11-26 14:51:01 -05:00
superp00t
21dcc7d8ae feat(gx): handle SDL window resize event 2023-11-26 14:42:47 -05:00
superp00t
dbac391d9e fix(gx): change charactersize to int32 2023-11-26 12:43:31 -05:00
superp00t
2dd65b2b5d fix(gx): SUniSGetUTF8, not SUniGetUTF8 2023-11-26 12:25:07 -05:00
superp00t
18572b35fc fix(gx): include <storm/Unicode.hpp 2023-11-26 12:22:36 -05:00
superp00t
a336165cef feat(gx): translate SDL_TextInput events into OS_INPUT_CHAR events 2023-11-26 12:13:32 -05:00
superp00t
c0d5e2a0c8 feat(gx): GLSDL window closes upon SDL_EVENT_QUIT 2023-11-24 23:52:34 -05:00
superp00t
73912ed71a feat(gx): correct translation of mouse button index 2023-11-24 23:51:01 -05:00
superp00t
49bc9d5d8b feat(gx): GLSDL window dispatches mouse button events 2023-11-24 23:25:58 -05:00
superp00t
eccf4db2e0 feat(gx): GLSDL window dispatches mouse and key events to input queue 2023-11-24 19:33:48 -05:00
superp00t
ec66da49c5 fix(gx): when not on Windows or Linux, use dummy NewOpenGl 2023-11-18 11:30:06 -05:00
Phaneron
706c8903a1
feat(gx): add incomplete 'CGxDeviceGLSDL' (#2)
* chore(build): add vendored SDL 3.0.0 library

* chore(build): add vendored glew-cmake-2.2.0 library

* feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl

* feat(gx): add uncompleted CGxDeviceGLSDL targeting Windows and Linux

* chore(build): change SDL3 linkage from shared (bad) to to static (good)
2023-11-18 10:50:16 -05:00
superp00t
8a7d89b52f feat(gx): implement GxuFontClearBatch 2023-08-16 19:24:24 -04:00
fallenoak
bc1ce52f7d
chore(gx): use uint32_t union member in CGxStateBom when appropriate 2023-04-17 16:52:11 -05:00
fallenoak
58272f1212
chore(gx): clean up function declarations in GLDevice 2023-04-17 12:16:38 -05:00
fallenoak
01ca76788c
chore(gx): clean up member function declarations in CGxMatrixStack 2023-04-15 21:23:03 -05:00
fallenoak
912d643e9c
chore(gx): add flag enum to CGxMatrixStack 2023-04-15 21:21:27 -05:00
fallenoak
d67e13087a
feat(gx): sync viewport in d3d backend 2023-04-15 13:56:49 -05:00
fallenoak
37996fa79c
feat(gx): set marker when viewport changes 2023-04-15 12:36:57 -05:00
fallenoak
5174970b24
feat(gx): sync projection and view xforms in d3d backend 2023-04-15 12:14:33 -05:00
fallenoak
c0e623d02b
feat(gx): add const getter for top of matrix stack 2023-04-15 10:32:07 -05:00
fallenoak
4a1101bd7d
feat(gx): stub ffp state syncing in d3d backend 2023-04-15 10:04:29 -05:00
fallenoak
36fa30eba8
feat(gx): add equality operator to CGxStateBom 2023-04-15 09:16:59 -05:00
fallenoak
317d94cd1a
feat(gx): handle projection and view matrices in GLL backend 2023-04-14 08:02:40 -05:00
fallenoak
eb70607750
fix(gx): only change vertex array FFP state for used attrib slots 2023-04-14 07:45:19 -05:00
fallenoak
eddc6f7f4a
fix(gx): correct off-by-one error when popping render states 2023-04-11 00:24:59 -05:00
fallenoak
dfb7fb0270
feat(gx): add FFP support for vertex arrays in GLL 2023-04-11 00:23:06 -05:00
fallenoak
30964bf827
fix(gx): walk dirty states backward when syncing 2023-04-09 22:41:02 -05:00
fallenoak
43f6d1f3cd
fix(gx): set remaining values in ortho proj matrix 2023-04-08 23:03:09 -05:00
fallenoak
0003d5bd4b
chore(gx): tweak style in GxPrimVertexPtr 2023-04-07 14:46:08 -05:00
Phaneron
1ef7d46ba3
feat(gx): add locked vertex drawing functions 2023-04-07 14:40:32 -05:00
fallenoak
889395a79a
feat(gx): add buf data helper function 2023-04-06 15:00:16 -05:00
fallenoak
4a1b84ad57
fix(gx): correct GxScenePresent behavior 2023-04-06 12:22:04 -05:00
fallenoak
7beaf8d992
fix(screen): build layer visibility rects in correct order 2023-04-01 08:24:27 -05:00
fallenoak
6e48b775aa
feat(gx): add setter for screen layer rect 2023-03-31 15:19:03 -05:00
fallenoak
fad901796c
chore(gx): clean up screen stock initialization 2023-03-31 13:16:45 -05:00
fallenoak
21c2484809
chore(gx): clean up screen declarations 2023-03-31 13:09:30 -05:00
fallenoak
ee1d46db19
chore(build): remove unused includes 2023-03-31 12:03:37 -05:00
fallenoak
e7780e67fb
feat(gx): wire up screen regions in OnPaint 2023-03-30 17:11:19 -05:00
fallenoak
aeade5b085
chore(build): update libs 2023-03-27 17:46:26 -05:00
Phaneron
da23578002
feat(gx): implement CGxDevice::BufData 2023-03-20 17:28:23 -05:00