Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software renderer #363

Merged
merged 26 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1ff5758
BRender software rendering initial commit
dethrace-labs May 17, 2024
b058ade
changes required for brender v1.3.2
dethrace-labs May 24, 2024
5803175
small fixes
dethrace-labs May 25, 2024
f6043b2
fixes missing selection rectangle in race summary screen
dethrace-labs May 25, 2024
e74cd08
fix track rendering, remove opengl bits
dethrace-labs May 26, 2024
5c86648
sdl rendering handles hires mode
dethrace-labs May 26, 2024
2ee984b
removes hack no longer required
dethrace-labs May 26, 2024
b69347d
adding BRender submodule
dethrace-labs May 27, 2024
b1094dc
adding BRender submodule
dethrace-labs May 27, 2024
a0e0b5c
bump BRender dep
dethrace-labs May 27, 2024
45cbee8
enables mirror, bumps brender
dethrace-labs Jun 5, 2024
2d4c4d1
bump brender
dethrace-labs Jun 5, 2024
1d5f913
bump brender
dethrace-labs Jun 5, 2024
f3a8354
bump brender again
dethrace-labs Jun 10, 2024
a7a5301
simplify window viewport scaling
dethrace-labs Jun 12, 2024
c9ebfa1
remove glad lib
dethrace-labs Jun 12, 2024
90a0ebe
fix merge
dethrace-labs Jun 12, 2024
efca337
enable linux arm64 builds
dethrace-labs Jun 12, 2024
38e7294
checkout submodules in github action
dethrace-labs Jun 12, 2024
185f8c3
fix tests
dethrace-labs Jun 12, 2024
4162ccf
fix brender includes
dethrace-labs Jun 12, 2024
4546943
clang-format on all files
dethrace-labs Jun 12, 2024
e2a5c30
revert clang-format in PollActionReplayControls
dethrace-labs Jun 12, 2024
d62cd4f
ci: build arm64 linux binary
madebr Jun 12, 2024
960eccd
bump brender
dethrace-labs Jun 13, 2024
5c76144
merge
dethrace-labs Jun 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Workflow

on:
on:
push:
branches:
- 'main'
Expand All @@ -16,6 +16,7 @@ jobs:
matrix:
platform:
- { name: 'Linux', arch: 'x64', os: ubuntu-latest, werror: true }
- { name: 'Linux', arch: 'arm64', os: ubuntu-latest, werror: true }
madebr marked this conversation as resolved.
Show resolved Hide resolved
- { name: 'MacOS', arch: 'arm64-x64', os: macos-latest, werror: true, cmake-args: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"' }
- { name: 'Windows', arch: 'Win32', os: windows-latest }
- { name: 'Windows', arch: 'x64', os: windows-latest }
Expand All @@ -27,6 +28,8 @@ jobs:
name: 'CI ${{ matrix.platform.name }} ${{ matrix.platform.arch }}'
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Ninja
uses: aseprite/get-ninja@main
- uses: ilammy/msvc-dev-cmd@v1.13.0
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/BRender-v1.3.2"]
path = lib/BRender-v1.3.2
url = https://github.com/dethrace-labs/BRender-v1.3.2
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ if(NOT SDL2_FOUND)
find_package(SDL2 MODULE REQUIRED)
endif()


add_subdirectory(lib/BRender-v1.3.2)
add_subdirectory(lib/libsmacker)
add_subdirectory(lib/glad)
add_subdirectory(lib/miniaudio)

add_library(compile_with_werror INTERFACE)
Expand All @@ -74,12 +75,9 @@ if(DETHRACE_WERROR)
endif()
endif()



add_subdirectory(src/harness)
add_subdirectory(src/S3)
add_subdirectory(src/smackw32)
add_subdirectory(src/BRSRC13)
add_subdirectory(src/DETHRACE)

if(BUILD_TESTS)
Expand Down
1 change: 1 addition & 0 deletions lib/BRender-v1.3.2
Submodule BRender-v1.3.2 added at eedf58
7 changes: 0 additions & 7 deletions lib/glad/CMakeLists.txt

This file was deleted.

290 changes: 0 additions & 290 deletions lib/glad/include/KHR/khrplatform.h

This file was deleted.

Loading