Commit Graph

450 Commits

Author SHA1 Message Date
Unknown W. Brackets
e062c31a82 Headless: Improve test init time. 2022-01-30 08:04:35 -08:00
Unknown W. Brackets
9c695aea9a Headless: Remove stack corruption workaround.
This doesn't seem necessary anymore, was made static in 2013.
2022-01-29 14:07:26 -08:00
Unknown W. Brackets
1cbbd197b2 Headless: Return an exit code on test failure. 2022-01-22 00:14:16 -08:00
Unknown W. Brackets
85d868a369 Headless: Fix font tests on Linux. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
a45eeb56ed Headless: Fix compare of smaller buffers.
When the buffer is smaller, we need to flip properly to compare the
correct pixels.
2022-01-08 16:06:17 -08:00
Unknown W. Brackets
0ef1df79b9 headless: Enable softgpu jit for tests. 2021-11-28 15:54:48 -08:00
Unknown W. Brackets
fb69d56387 Headless: Generate a difference highlighting png.
Only for graphics tests that generate a screenshot, including ppdmp.
2021-11-07 11:05:17 -08:00
Unknown W. Brackets
92f9d3dc46 Headless: Move screenshot compare to class. 2021-11-07 10:03:49 -08:00
Unknown W. Brackets
0875c217c6 Headless: Fix ppdmp compare. 2021-11-07 10:01:16 -08:00
Unknown W. Brackets
b6c6a5bb3f GPU: Default vertex cache to off.
Previously, it was defaulted on only for OpenGL, where it didn't work.
2021-09-14 23:43:29 -07:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Henrik Rydgård
d62899efcd
Merge pull request #14711 from unknownbrackets/reverb-volume
Sas: Add option to control reverb volume
2021-08-10 13:02:30 +02:00
Unknown W. Brackets
ff9b9f7321 Sas: Add option to control reverb volume.
This also allows you to turn it off.
2021-08-09 20:47:24 -07:00
Unknown W. Brackets
0a5a3d4ef4 Headless: Cleanup extraneous output. 2021-08-07 17:55:22 -07:00
Henrik Rydgård
81f0c3a8e4 Address feedback (except the mailbox refcount) 2021-06-13 10:16:53 +02:00
Henrik Rydgård
0fa27ff9d7 Autodetect number of threads (remove setting). Fix some bugs. 2021-06-12 21:06:59 +02:00
Unknown W. Brackets
f2b2f26e8e Common: Use Path for GetExeDirectory(). 2021-05-15 11:12:54 -07:00
Unknown W. Brackets
7b175627b3 VFS: Use Path for DirectoryAssetReader. 2021-05-15 11:12:04 -07:00
Unknown W. Brackets
2558022afe Config: Move data path settings to Paths. 2021-05-15 11:11:37 -07:00
Unknown W. Brackets
ed2ade4e22 headless: Correct tests. 2021-05-14 22:44:05 -07:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
d775bf4e4c
Merge pull request #14442 from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Henrik Rydgård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00
Unknown W. Brackets
8a0adfde33 headless: Avoid C++ files for Path support.
Not critical for Android paths, but better if they work.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
8a8328c431 Common: Move ColorConv to a more appropriate place. 2021-05-01 11:20:05 -07:00
Henrik Rydgård
a2a0551a83 Buildfix, and more renaming while we're at it. 2021-04-25 22:25:29 +02:00
Henrik Rydgård
1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Unknown W. Brackets
d3e2aa6d28 Build: Add libzstd to build. 2021-04-11 09:13:10 -07:00
Unknown W. Brackets
13ec384dbe Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it.  Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Henrik Rydgård
bd7b283399 Add iOS version detection, turn off JIT on bootup if >= 14.3. 2021-02-22 09:16:51 +01:00
Unknown W. Brackets
e7a3faaa8c Windows: Stop ignoring all deprecated warnings. 2021-02-18 08:56:36 -08:00
Unknown W. Brackets
c84cbdda8a Headless: Default to PNG for ppdmp tests. 2021-01-17 18:34:23 -08:00
Unknown W. Brackets
f9ef03b0a1 Headless: Allow PNGs and http:// for screenshot. 2021-01-17 18:33:02 -08:00
Unknown W. Brackets
3306ac115d Headless: Read expected file as a FileLoader.
This makes it possible to run tests from network locations.
2021-01-17 17:44:21 -08:00
Unknown W. Brackets
e0b784f123 Headless: Allow screenshot compare without backend.
This makes not just graphics-enabled tests work in headless on softgpu,
but also screenshot comparison ones.
2021-01-17 17:42:07 -08:00
Unknown W. Brackets
114e73ffc9 Headless: Allow connecting the web debugger. 2021-01-16 19:07:25 -08:00
Unknown W. Brackets
e2efc245db Android: Fix headless and unittest build. 2021-01-10 12:16:02 -08:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård
106a299c06
Merge pull request #13860 from unknownbrackets/windows-arm64
Windows: Fix miniupnpc build on ARM64
2021-01-03 09:40:57 +01:00
Unknown W. Brackets
bb5918f90b headless: Fix Windows ARM64 build. 2021-01-02 17:55:16 -08:00
Unknown W. Brackets
3c9ab13672 GPU: Remove NULL GPU.
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00
Unknown W. Brackets
83cae815b4 Headless: Always use at least software rendering. 2021-01-02 09:27:17 -08:00
Henrik Rydgård
fa466d2363
Merge pull request #13850 from unknownbrackets/warnings
Cleanup some warnings and a logger shutdown crash
2021-01-01 19:53:10 +01:00
Unknown W. Brackets
83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Unknown W. Brackets
7014e8997c Build: Reference test as file on failure. 2020-12-31 07:27:27 -08:00
Unknown W. Brackets
c73d8ab1d0 Headless: Add specific GitHub Actions logging. 2020-12-31 00:21:09 -08:00
Unknown W. Brackets
af7c97d624 Headless: Cleanup TeamCity handling in test.py. 2020-12-31 00:21:09 -08:00
Henrik Rydgård
44ec286ba4 Framebuffer: Keep the render scale factor around, no need to recompute it. 2020-11-06 09:11:57 +01:00
shenweip
a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
Unknown W. Brackets
53ba351797 Headless: Define consistent memstick size. 2020-10-19 21:44:46 -07:00
Henrik Rydgård
4310e35714 Windows: Remove the native project. 2020-10-05 06:56:10 +02:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4 Move the profiler to Common 2020-10-04 11:42:16 +02:00
Henrik Rydgård
989e353482 Common.h shouldn't include Log.h.
Buildfixes

More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ecceeaa810 We no longer use TCHAR. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
shenweip
fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
Unknown W. Brackets
c1ce8383ae Headless: Setup logman earlier.
So we can control all the GPU init logging.
2020-09-08 15:52:39 -07:00
Henrik Rydgård
61bf512244
Merge pull request #13291 from hrydgard/assert-cleanup
Assert function cleanup
2020-08-16 13:57:22 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Henrik Rydgård
c8a06d40c9 Buildfix 2020-08-16 10:00:26 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
3c412ea21e Fix build of ZimTool/AtlasTool. Had to break the ugly backwards dependency from LogManager to g_Config. 2020-08-15 19:09:09 +02:00
Henrik Rydgård
b22083e7a6 Even more base/logging.h removal and fixes 2020-08-15 19:09:01 +02:00
Henrik Rydgård
c41f875df4 Remove base/logging.h in a whole lot more places. 2020-08-15 19:09:00 +02:00
Henrik Rydgård
b43698a13d Remove most instances of base/logging.h from Common, Core, GPU, more 2020-08-15 19:08:44 +02:00
Henrik Rydgård
d57edfbdac Rename FramebufferCommon.cpp/h to FramebufferManagerCommon.cpp/h for consistency 2020-08-03 23:17:22 +02:00
Unknown W. Brackets
4ef63843d2 Display: Allow unthrottle to skip only flipping.
Before, it either flipped continuously, or forced frameskip on.  This
makes it so you can still draw frames, but skip actual flips.

This is useful when games draw things only in a single frame and reuse
later.  It's also useful when measuring speed improvements if you already
get 100% speed on a device.
2020-07-19 13:57:04 +02:00
Henrik Rydgård
6560192d8e Support full VSync control in SDL OpenGL.
(Not yet Qt).

Forgot about iOS

SDL headless buildfix

Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Henrik Rydgård
82bc6f6cc5 Windows ARM fix, cleanup 2020-07-14 13:47:25 +02:00
Henrik Rydgård
104bf3915e
Merge pull request #12956 from unknownbrackets/project
Cleanup MSVC project a little and move git-version-gen
2020-05-24 11:03:26 +02:00
Unknown W. Brackets
9064bbcad1 Windows: Move git-version update to build event.
Doing it on each project made it possible for two to overwrite each other.
It's rare, but this could corrupt git-version.cpp.

This makes it run when Core is resolved, and also on Windows/Headless only.
It may still require two compiles to update, but that's not a new problem.
2020-05-23 13:34:41 -07:00
Unknown W. Brackets
86c0418f14 Headless: Fix flash0/font path.
This was causing some automated tests to fail incorrectly, after the
assets/flash0/ change.
2020-05-23 10:40:32 -07:00
Henrik Rydgård
f77b78d429 Oops, need to pass an (invalid) slot number in headless too. 2020-05-16 18:38:30 +02:00
Florin9doi
7c92b1abda update VS projects 2020-04-19 09:19:13 +03:00
Unknown W. Brackets
580c74c3e7 Audio: Remove latency setting.
This setting only changes some internal values that are shown in tests not
to match PSP behavior.  Removed, it now matches how the PSP works.

This setting wasn't really affecting any actual audio latency.
See #11844.
2020-04-08 00:08:19 -07:00
Unknown W. Brackets
41dfe05de2 Headless: Fix compile on Android. 2020-04-05 15:23:13 -07:00
Unknown W. Brackets
6b453c4708 Net: Better simulate sceWlanGetEtherAddr timing.
Also, interestingly, this does not fail if the wifi switch is off.
2020-03-15 11:37:12 -07:00
Unknown W. Brackets
dfb10f197e Net: Handle memory allocation better. 2020-03-15 11:37:12 -07:00
Unknown W. Brackets
efceb031ce UI: Make System_InputBox API asynchronous.
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07:00
Unknown W. Brackets
051a84e9bd GPU: Restart when changing inflight frames setting.
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places 2020-02-04 09:20:34 +08:00
Henrik Rydgård
96e7281b20
Merge pull request #12572 from shenweip/Capture_Win
Add camera support for windows.
2020-01-15 20:03:10 +01:00
shenweip
5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
Unknown W. Brackets
5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
Conn O'Griofa
18edfefa0a SDL: ensure swap interval is set correctly for SDL2 kmsdrm driver
It appears that SDL2's kmsdrm driver ignores the swap interval setting
if the SDL context has not yet been created. Moving the call to after context
creation allows it to work as expected.

Fixes vsync when running ppsspp in a KMS context using the SDL2 kmsdrm driver
(which is especially useful for Raspberry Pi 4 B, but is also needed for other
systems including Raspberry Pi 3B via firmware KMS & Intel Haswell i965 via
KMS on x64).
2019-10-03 07:40:19 +01:00
Unknown W. Brackets
5871ab0538 UI: Stop caching the draw context in coreParam.
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes.  Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
c3ae97e237 Travis: Build Windows on Travis too. 2019-07-06 14:56:29 -07:00
Unknown W. Brackets
7d2b332b2d Audio: Improve error messages for sample counts. 2019-06-30 16:39:14 -07:00
Henrik Rydgård
efa1406d8f VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
Henrik Rydgård
fe77b836c7 Spacing fix 2019-05-11 06:41:55 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55 Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason. 2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828 Add WindowsSDKDesktopARM64Support to vcxproj files 2019-05-10 22:44:12 +02:00
Henrik Rydgård
c3fab33354 Revert "Remove default SDK version from project files"
Seems to have been the wrong thing to do, see:
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html

Though due to the bug described there, there's no perfect solution, just
some ugly ones (which I might try later). Anyway, I guess most people
will move on to VS 2019 anyway..

This reverts commit 056494522e.
2019-05-09 23:58:23 +02:00
driver1998
87f43d51ef Fix UnixTests and HeadlessHost on ARM 2019-05-04 23:56:55 +08:00
driver1998
0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
driver1998
763b85d723 Update Visual Studio project files for Windows ARM32/ARM64 2019-05-04 22:45:15 +08:00
LunaMoo
056494522e Remove default SDK version from project files 2019-04-27 23:01:41 +02:00
LunaMoo
280f7fec39 Fix VS2019 builds and remove _xp dependency
(drops Win XP support, allows latest SDK etc.)
2019-04-25 23:56:55 +02:00
Henrik Rydgård
703fdc5561 MSVC project files: Fix silly search/replace error from #11883 2019-03-24 11:17:47 +01:00
Henrik Rydgård
4d5af330a7 Windows: Change FP model to Precise. See #11384 2019-03-14 10:59:35 +01:00
Unknown W. Brackets
adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Henrik Rydgard
56bc7b1d52 Remove outdated TrueColor setting. 2018-12-14 16:13:44 +01:00
xebra
070e29d921 Disable "Edit & Continue" with VS debug mode. 2018-12-07 13:01:16 +09:00
Unknown W. Brackets
d573bf9cc9 Headless: Fix compare for 16-bit output.
Most tests have been 32-bit output, so haven't run into this.  Enables
tests with softgpu to generate 16-bit output.
2018-11-30 17:46:47 -08:00
Unknown W. Brackets
703181607e GPU: Apply color test after doubling. 2018-09-09 20:09:48 -07:00
Unknown W. Brackets
28be6cc4cc Headless: Fix graphics compare tests.
Shadowing.
2018-08-24 20:53:40 -07:00
Henrik Rydgård
6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Unknown W. Brackets
78dc07e7a3 Headless: Fix graphics tests for Vulkan/Direct3D.
Otherwise we hang because there's no thread to ever end.
2018-07-29 11:26:04 -07:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
e2c217ab29 Core: More consistently use config enums. 2018-06-23 10:59:18 -07:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
0d4bd341e9 Windows: Separate Pause and Break actions.
It was confusing that "Pause" made PPSSPP appear to hang.

This has the side effect of making "Break on Load" work outside Windows.
2018-06-23 10:14:36 -07:00
Unknown W. Brackets
03edd6129a GLES: Cut down on use of USING_GLES2. 2018-06-17 20:51:34 -07:00
Unknown W. Brackets
6592c6222a http: Check fread() result to avoid warning.
This will cause the length not to match the result if it happens, but the
client should interpret that as a server error.

Also a similar error in headless.
2018-06-17 11:02:26 -07:00
Unknown W. Brackets
16e0a7cc8e Headless: Default memory stick inserted.
Tests expect this, oops.
2018-06-06 05:54:39 -07:00
Henrik Rydgård
36fd2711d6 Revert "Remove further remains of hardware skinning."
This reverts commit 40db61a680.
2018-04-10 12:22:41 +02:00
Henrik Rydgård
0130e75852
Merge pull request #10801 from unknownbrackets/sdl-shutdown
Fix shutdown segfault in SDL, fix headless
2018-03-26 21:10:48 +02:00
Unknown W. Brackets
0366e05c44 Headless: Quick update to use render thread. 2018-03-25 14:49:22 -07:00
Unknown W. Brackets
2c493f3633 Headless: Add simple GL thread handling.
Because of the way headless works and runs tests, it was a lot simpler to
use a separate thread (unlike elsewhere) for the GL rendering.  Hopefully
this difference doesn't bite us later.
2018-03-25 09:47:56 -07:00
Henrik Rydgård
40db61a680 Remove further remains of hardware skinning. Fixes #10661 2018-03-05 00:03:47 +01:00
Henrik Rydgård
5f8118b82b Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases. 2018-02-25 10:27:59 +01:00
Henrik Rydgård
ea50561c80
Merge pull request #10454 from unknownbrackets/gpu-minor
Vulkan: Use depth clamping, where available
2017-12-27 11:11:18 +01:00
Unknown W. Brackets
496b2bff35 Vulkan: Fix fragment depth rounding.
Was slightly off in the accurate depth path.
2017-12-26 16:19:11 -08:00
Unknown W. Brackets
766b40aad8 GPU: Reset GPUBackend on graphics init.
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Henrik Rydgård
7d0fc9ce65 Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc. 2017-12-07 15:05:59 +01:00
Henrik Rydgård
023c3736c6 Disable anisotropic filtering in headless, screws up mipmap test 2017-11-15 18:14:04 +01:00
Henrik Rydgård
830645e7c5 Fix headless to work better in vulkan mode 2017-11-15 15:35:15 +01:00
Unknown W. Brackets
9080f41642 Headless: Prevent segfaults with Vulkan. 2017-11-14 22:34:18 -08:00
Henrik Rydgård
d618b3673b Count readbacks in a frame and show in GPU debug stats. 2017-11-08 11:57:53 +01:00
Henrik Rydgård
b9ba525de1 Don't call functions in asserts, they get compiled out in release... 2017-10-20 14:45:00 +02:00
Henrik Rydgård
017d3da067 Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
Unknown W. Brackets
40f663664b Headless: Oops, call SDL_Init(). 2017-09-20 10:49:32 -07:00
Unknown W. Brackets
7db9dfb50b Headless: Reduce some duplication.
We can share the screenshot code for SDL.
2017-09-20 09:25:28 -07:00
Unknown W. Brackets
5a3d229d04 Headless: Add support for SDL. 2017-09-20 07:24:58 -07:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgård
1b05a54800 Remove the Mipmap setting. One step forward for #8171 2017-05-26 10:21:20 +02:00
Unknown W. Brackets
6b3944d329 UnitTest: Correct vertex and jit tests.
We now convert texcoords to floats.
2017-05-06 18:45:04 -07:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets
90f3ae14e0 Windows: Simplify host shutdown.
The whole nativeHost/oldHost thing is unnecessary.

This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
Unknown W. Brackets
b2711c2ebf Headless: Enable mipmaps. 2017-04-22 18:17:48 -07:00
Unknown W. Brackets
19a3e166ec Headless: Fix DirectX11 support on Windows. 2017-04-22 18:17:03 -07:00
Unknown W. Brackets
930d6c0558 Headless: Fix graphics tests.
The draw context wasn't being passed through, so it was segfaulting.
2017-04-20 21:10:59 -07:00