Clownacy
0aba8888bb
Wii U: Update colour in PrepareToDrawGlyphs
2020-04-21 12:58:31 +01:00
Clownacy
90f729158a
Wii U: Store glyph texture in R8 format
2020-04-21 12:56:14 +01:00
Clownacy
69e0d868a0
Added font rendering to Wii U
2020-04-21 12:45:37 +01:00
Clownacy
00792413f8
Cleanup
2020-04-21 03:34:59 +01:00
Clownacy
e687c502a9
Cleanup
2020-04-21 03:22:22 +01:00
Clownacy
4d2a227068
Add render-to-texture support to Wii U renderer
2020-04-21 03:16:37 +01:00
Clownacy
8377f011cf
Add in-progress hardware Wii U renderer
...
*Very* incomplete. Right now, it can render textures and perform
colour-fills to the screen.
2020-04-21 00:59:12 +01:00
Clownacy
8524d1e349
Change software renderer backend API
2020-04-15 21:59:23 +01:00
Clownacy
073e62de46
Software renderer tweaks
2020-04-15 16:57:05 +01:00
Clownacy
c51a074fad
Big disgusting backend rework
...
We need to avoid `WindowsWrapper.h` in the backends whenever we can,
to avoid name collisions (the Wii U homebrew library) defines its own
BOOL/TRUE/FALSE, which really doesn't work with CSE2.
2020-04-13 18:19:39 +01:00
Clownacy
aa9e486086
Handle WindowBackend_Software_CreateWindow fail
...
Must have been part of that commit I reverted
2020-04-13 13:49:21 +01:00
Clownacy
d70e31d221
Cleanup
2020-04-13 13:47:57 +01:00
Clownacy
cbb11e6270
Cleanup
2020-04-13 13:43:17 +01:00
Clownacy
8fbf3bbecf
Account for GetVertexBufferSlot failure
2020-04-13 13:40:35 +01:00
Clownacy
4f7cc9582d
Revert "Backends: Added init/de-init messages for backends"
...
This reverts commit 9be8b9a493
.
2020-04-13 13:28:57 +01:00
Gabriel Ravier
9be8b9a493
Backends: Added init/de-init messages for backends
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 02:26:51 +02:00
Gabriel Ravier
92d565692a
Backends: Use "SDL" instead of "SDL2" to match documentation vocabulary
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 01:16:45 +02:00
Gabriel Ravier
5ed34e73d4
Backends/Rendering/SDLTexture: Used Uint8
instead of uint8_t
to match SDL_SetRenderDrawColor
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 01:11:13 +02:00
Gabriel Ravier
4301fc613e
Backends/Rendering/SDLTexture: !x
-> x == NULL
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 01:10:15 +02:00
Gabriel Ravier
9ad14b897e
Backends/Rendering/SDLTexture: !x
-> x == NULL
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 01:09:30 +02:00
Gabriel Ravier
a763984486
Backends/Rendering/SDLSurface: !x
-> x == NULL
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 01:01:38 +02:00
Gabriel Ravier
2feba10654
Backends/Rendering/SDLSurface: Invert if
and use != NULL
instead of implicit conversion to bool
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 01:00:44 +02:00
Gabriel Ravier
65e7164c42
Backends/Rendering/OpenGL3: Use != NULL
instead of implicit conversion to bool
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 00:59:02 +02:00
Gabriel Ravier
4d10c2cc21
Backends/Rendering/OpenGL3: Wrap both sides of if-else with {} equally.
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 00:58:09 +02:00
Gabriel Ravier
1a5da443d7
Backends/Rendering/OpenGL3: Fixed OpenGLES2 compile
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 00:55:12 +02:00
Gabriel Ravier
89fb2222b6
Backends/Rendering/OpenGL: Replaced printf with Backend_PrintInfo
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 00:46:05 +02:00
Gabriel Ravier
dcd4bcf1b2
Backends: Fix some of the error handling and replaced some printf calls
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-12 00:42:24 +02:00
Gabriel Ravier
f2b2c071a2
Backends/Rendering/OpenGL3: Improve error handling
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-11 23:28:31 +02:00
Gabriel Ravier
0bd968d78d
Backends/Rendering/SDLTexture: Finish up improved error handling
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-11 02:06:25 +02:00
Gabriel Ravier
affb645526
Backends/Rendering/SDLTexture: Continued work on error handling
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-10 23:19:57 +02:00
Gabriel Ravier
7f7c3d8434
Backends: Started adding a bunch of error handling stuff (error checking only done in SDL2 for now)
...
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
2020-04-10 22:32:29 +02:00
Clownacy
ba069de70e
Fix window resizing
...
If you made the window square, the screen wouldn't be centered
properly.
2020-04-10 00:45:57 +01:00
Clownacy
1f06027403
Added GLFW3 support for the software renderer
...
A few things need cleaning-up
2020-04-09 19:29:45 +01:00
Clownacy
7d65d009ff
Replace leftover SDL_ShowSimpleMessageBox calls
2020-04-07 17:22:56 +01:00
Clownacy
1016411fa4
Cleanup
2020-04-06 13:37:53 +01:00
Gabriel Ravier
1d9048c8a6
Merge branch 'portable' into improvePerformance2
...
# Conflicts:
# src/Backends/Rendering/Software.cpp
2020-04-05 01:16:09 +02:00
Clownacy
1ae63bea96
Move window ownership to the window backend
2020-04-04 20:51:07 +01:00
Clownacy
cdd69496c4
Fixes
2020-04-04 20:34:51 +01:00
Clownacy
135035bb1a
Change 'PlatformBackend' namespace to 'Backend'
2020-04-04 20:31:27 +01:00
Clownacy
4d322be866
Change render backend namespace to RenderBackend_
2020-04-04 20:24:34 +01:00
Clownacy
87e8a75df4
Rename GLFW3.h/SDL2.h
2020-04-04 19:18:46 +01:00
Clownacy
264d555073
Forgot to CTRL-F goddammit
2020-04-03 18:51:43 +01:00
Clownacy
1543521625
Fix more errors x_x
2020-04-03 18:36:48 +01:00
Clownacy
f548044464
Cleanup
2020-04-03 18:05:41 +01:00
Clownacy
40464a9fc0
Move-around Backend files
...
Hoping to introduce some degree of grouping
2020-04-03 14:42:11 +01:00
Clownacy
ee7cf6799b
Yet another warning
2020-04-03 02:12:06 +01:00
Clownacy
4f2f6ad4f4
More warnings
2020-04-03 02:10:28 +01:00
Clownacy
8266db3372
Shut-up another warning
2020-04-03 02:08:19 +01:00
Clownacy
5b996b3459
Give glad a CMake file
...
Today I learned that CMake will error if the project shares a
dependency with a nested CMake file (which could be from an
entirely-separate project that you have no control over).
I'm starting to really hate CMake.
2020-04-03 01:34:47 +01:00
Gabriel Ravier
f68984bd58
Merge branch 'portable' into improvePerformance2
...
# Conflicts:
# src/Backends/Audio/SDL2.cpp
2020-04-03 00:36:44 +02:00