Commit graph

45 commits

Author SHA1 Message Date
marauder2k7
014e319aa8 cleanup console spam 2026-03-05 18:55:45 +00:00
marauder2k7
67f12311d4 ISA backends float3 and float4 - cleanup history squash
working for both neon32 and neon64

Update math_backend.cpp

further sse simd additions

avx2 float3 added
added normalize_magnitude
added divide fast to float3 may copy to float4

move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend

all float3 and float4 functions and isas

completed all options of float3 and float4 functions in isas and math_c
neon still to be done but that will be on mac.

Update math_backend.cpp

mac isa neon update

added float3
restructured the classes to look more like the final version of the x86 classes

linux required changes

Update build-macos-clang.yml

Update build-macos-clang.yml

Revert "Update build-macos-clang.yml"

This reverts commit 29dfc567f4.

Revert "Update build-macos-clang.yml"

This reverts commit 2abad2b4ca.

Update CMakeLists.txt

fix macs stupid build

remove god awful rolling average from frame time tracker....

use intrinsic headers instead

each isa implementation now uses a header for that isa's intrinsic functions these are then used in the impl files. This will make it easier for matrix functions when those are implemented.

fixed comment saying 256 when it should be 512 for avx512

consolidated initializers for function tables

Update neon_intrinsics.h

fixes for some neon intrinsics no idea if this is the best way to do these but they work at least

v_cross is especially messy at the moment we basically just do it as a c math function need to look into getting this done correctly
2026-03-05 18:55:34 +00:00
marauder2k7
9bc06f0887 main dir
SDL_BaseDir was returning the directory that contains the app, now it returns the resources directory
2023-10-20 22:23:38 +01:00
AzaezelX
be0f3097d6 $platform $= "macos" is used throughout the codebase 2022-09-20 19:58:02 -05:00
Robert MacGregor
3be4f5983e * Cleanup: Remove mInstallLibrary_Vec from platformMac. 2022-05-24 21:27:13 -04:00
Robert MacGregor
2368f1d97c * Feature: Reimplement POSIX CPU information.
* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
2022-05-24 20:58:28 -04:00
Robert MacGregor
c687c0d23a * BugFix: Remove unused 3DNow! extensions and broken SSE extensions. 2022-05-24 20:39:34 -04:00
Jeff Hutchinson
27fd15de83 Merge remote-tracking branch 't3d/Preview4_0' into cpuinfo 2022-05-24 17:16:57 -04:00
Robert MacGregor
6583134ef2 * Adjustment: Initial work on moving x86Unix platform code into a more common POSIX platform. 2021-11-14 13:56:12 -05:00
Robert MacGregor
dd03af5041 * BugFix: Corrections to the Unix file IO to allow for compilation on ARM Unix devics. 2021-11-01 08:52:35 -04:00
Jeff Hutchinson
24e5db942b flush out windows cpu detection. 2021-09-26 23:43:06 -04:00
Jeff Hutchinson
eb92a8927e M1 Support for cpu detection 2021-09-26 19:36:12 -04:00
Jeff Hutchinson
960ea2aa5a Add support for Neon. 2021-09-25 22:53:34 -04:00
Jeff Hutchinson
7cb306b65a macos platform fixes for intel macs 2021-09-25 22:39:40 -04:00
AzaezelX
252f1b65f3 followup to #531. fixes the same issue on mac 2021-09-05 14:54:41 -05:00
Jeff Hutchinson
eac0af2644 Merge commit 'c04f3ae166' into mac-font-stuff 2021-08-21 20:14:18 -04:00
AzaezelX
cddacf1c48 mac compilation and standarization fixes
compresses void tc_spinloop() for both unix derivatives and apples to utilize pthread_yield_np();
mac only tweaks to Platform::getUserHomeDirectory() to return the ~/documents directory for parity with windows results
2021-07-01 14:10:07 -05:00
Jeff Hutchinson
c7711f633b some font changes for the macos platform. 2021-05-10 21:08:23 -04:00
Jeff Hutchinson
e981fd2cc3 Add support for aarch64 / apple silicon 2021-05-10 15:55:56 -04:00
AzaezelX
254ac462b5 sdl usage standards proposal 3:
again maintains fallbacks for folks that just don't want to use the lib (though if we do want to go that route, we'll likely want to re-review a few commits and put fallbacks, well, *back* at some point)
includes sdl in torqueconfig.h if in use to kill duplication.
adds a generic sdlPlatform.cpp for general methods, oneliners, and the like
2020-12-31 14:44:39 -06:00
Azaezel
13ce1a7441 corrects compilation errors on mac 2019-01-01 13:11:46 -06:00
Lukas Joergensen
ae1f5a3c89 Update the CInterface 2018-04-21 12:04:09 +02:00
Glenn Smith
79c34c68db Use strncpy instead of strcpy because again, buffer overflows 2018-03-06 02:35:33 -05:00
Glenn Smith
53f35e7fb1 Removed unused macString.mm that has old versions of string functions with no bounds checking 2018-03-05 23:48:09 -05:00
Thomas "elfprince13" Dickerson
6a1048596e but now it works 2017-01-06 17:55:59 -05:00
Thomas "elfprince13" Dickerson
a4c51b825c this is getting old 2017-01-06 17:55:44 -05:00
Thomas "elfprince13" Dickerson
76e02b41f7 one more go-round 2017-01-06 17:54:37 -05:00
Thomas "elfprince13" Dickerson
0adab54678 one more go-round 2017-01-06 17:54:19 -05:00
Thomas "elfprince13" Dickerson
e554fc7f93 undo spurious changes used to trigger dirty for tabs and spaces 2017-01-06 17:45:38 -05:00
Thomas "elfprince13" Dickerson
9c69cd32e8 Attempting to fix tabs and space (again) 2017-01-06 17:45:09 -05:00
Thomas "elfprince13" Dickerson
b31e0ad2da Attempting to fix tabs and space 2017-01-06 17:36:29 -05:00
Thomas "elfprince13" Dickerson
0e30426def Eliminated a handful of deprecation warnings, as well as inconsistent handling of FS operations in OS X 2017-01-05 17:19:19 -05:00
Azaezel
4bc1491714 clang catch: garbage in line directives 2016-10-18 11:37:18 -05:00
RexTimmy
dd64004eaf MacOS platform support. 2016-09-28 11:09:48 +10:00
Cameron Porter
4c17d4bb49 Fix case sensitivity and Platform::fileDelete
for linux and OSX. Correct a couple of warnings and errors preventing builds on linux.
2016-01-09 00:37:45 -06:00
Daniel Buckmaster
33037a2f45 Merge pull request #1173 from JeffProgrammer/gestalt_fix_gg
remove gestalt() as it has been deprecated and stopped working on Mac OS...
2015-07-23 16:20:36 +10:00
Ben Payne
591253d5b5 Fix missing va_end's 2015-02-20 18:42:29 -05:00
James Urquhart
a3f8227541 Add math control state functions for intel 2015-02-10 22:54:18 +00:00
Jeff Hutchinson
ada5c76bdd remove gestalt() as it has been deprecated and stopped working on Mac OS Yosemite 2015-02-09 10:12:59 -05:00
LuisAntonRebollo
4e9034854d Linux implementation. Include changes for gcc x64. 2015-01-24 22:08:26 +01:00
Daniel Buckmaster
b507dc9555 Merge branch 'master' into console-func-refactor
Conflicts:
	Engine/source/app/net/net.cpp
	Engine/source/console/astNodes.cpp
	Engine/source/console/compiledEval.cpp
	Engine/source/console/console.h
	Engine/source/console/consoleInternal.h
	Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
Daniel Buckmaster
346ad5bdaa Finished up splash screen implementation.
* Added stub methods for non-Windows platforms
 * Move canvas show to after tools have loaded
 * Fix a tab
2014-08-16 11:28:53 +10:00
Tim Newell
31036c4031 Bug fixes for alternative zip layout and define to toggle it on 2013-02-28 16:46:46 -05:00
jamesu
08d4f6ebc0 Improvements to console refactor code
- Prevent stack corruption in a few places
- Use correct type in printfs
- Reduce type conversions in EngineApi & dAto*
- Fix compilation on GCC
- Tidy up code
2012-10-12 19:12:06 +01:00
DavidWyand-GG
7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00