summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2020-09-16Merge pull request #9073 from darkain/patch-1JMC47
Adding AmdPowerXpressRequestHighPerformance
2020-09-16Android: Move OSD out of the way when menu is openJosJuice
https://bugs.dolphin-emu.org/issues/12256
2020-09-10Merge pull request #8743 from Techjar/apple-pls-support-standard-apiJMC47
VideoBackends: Disable GPU Texture Decoding under MoltenVK
2020-09-09Adding AmdPowerXpressRequestHighPerformanceVincent Milum Jr
Adding AmdPowerXpressRequestHighPerformance This will allow AMD drivers to detect the request to use the dGPU instead of the iGPU on compatible hybrid graphics systems. Reference: https://community.amd.com/thread/169965
2020-09-07Merge pull request #8976 from JosJuice/port-some-settingsLC
Port some settings to the new config system
2020-09-07VideoBackends: Disable GPU Texture Decoding under MoltenVKTechjar
It's broken and causes spectacular artifacts and crashes.
2020-09-06Make default graphics backend not show up as emptyJosJuice
Fixes https://bugs.dolphin-emu.org/issues/12245. I considered making a change to DolphinQt instead of the core, but then additional effort would've been required to add the same fix to the Android GUI once we start using the new config system there.
2020-08-27msvc: enable /Zc:preprocessor and make build compile cleanlyShawn Hoffman
2020-08-22name some threadsShawn Hoffman
2020-08-22msbuild: re-enable standalone vcxproj processingShawn Hoffman
2020-08-22msbuild: refactor stuff out of project files (for dolphin)Shawn Hoffman
2020-08-22prettify some constructs in vcxproj filesShawn Hoffman
2020-08-11FrameDump: Don't ignore the time base numeratorJosJuice
Fixes a regression where f72b756 made all dumped video super long.
2020-08-06Remove wait_for_completion parameter from Renderer::SaveScreenshotJosJuice
This is now unused. Seems like it was an improper fix (there would be a race if saving the screenshot took longer than 2 seconds) back when it was used too.
2020-08-03Port some settings to the new config systemJosJuice
Other than the controller settings and JIT debug settings, these are the only settings which were defined in Java code but not defined in the new config system in C++. (There are still a lot of settings that are defined in the new config system but not yet saveable in the new config system, though.)
2020-08-02OnScreenDisplay: fix names rgba -> argbFelk
2020-07-28Merge pull request #8988 from JosJuice/no-refresh-rate-roundLC
VideoCommon: Don't round the refresh rate
2020-07-28VideoCommon: Don't round the refresh rateJosJuice
We now provide a double to the FPS counter and exact values to FIFO recording and frame dumping.
2020-07-24LightingShaderGen: Transition over to fmtLioncash
2020-07-24VertexShaderGen: Transition over to using fmtLioncash
2020-07-22DolphinQt / VideoCommon: Add additional texture dumping options. ↵iwubcode
Specifically, this enables users to choose whether to dump mip maps, base level textures, or both.
2020-07-04Merge pull request #8884 from iwubcode/freelook_performance_fixConnor McLaughlin
VertexShaderManager: Only look for freelook config changes if we're using freelook
2020-07-02VertexShaderManager: Avoid accessing freelook control type configuration ↵iwubcode
each call which caused a performance hit, move check to RenderBase where it is checked when config changes
2020-06-30Merge pull request #8913 from JosJuice/msvc-preprocessorLC
Support the new MSVC preprocessor
2020-06-29Support the new MSVC preprocessorJosJuice
Intends to fix https://bugs.dolphin-emu.org/issues/12170.
2020-06-29VideoCommon: Show profiler output againJosJuice
This profiler was added in 94d9d13, but must've broken at some point.
2020-06-28FreeLookCamera: Fix savestate branch inconsistency.Admiral H. Curtiss
Fixes https://bugs.dolphin-emu.org/issues/12168
2020-06-25VideoCommon: change freelook camera fov step size and expose itiwubcode
2020-06-25VideoCommon: Use freelook field of view to change the perspective of the cameraiwubcode
2020-06-25Replace Windows CMake lambda constexpr capture workaroundJosJuice
While manually capturing constexpr variables used in lambda expressions does work, it's really easy to forget doing so since we don't have a Windows CMake builder and the workaround isn't necessary anywhere else. Fortunately, MSVC has a flag that fixes the constexpr capture behavior, so let's use that instead.
2020-06-17VideoCommon: Clean freelook camera dirty state when getting the new viewiwubcode
2020-05-28Merge pull request #8827 from stenzek/adreno-more-like-brokenrenoConnor McLaughlin
FramebufferManager: Fix invalid readback of EFB D24S8 depth
2020-05-25VideoCommon/ShaderGenCommon: Make template functions regular functionsLioncash
These are only ever used with ShaderCode instances and nothing else. Given that, we can convert these helper functions to expect that type of object as an argument and remove the need for templates, improving compiler throughput a marginal amount, as the template instantiation process doesn't need to be performed. We can also move the definitions of these functions into the cpp file, which allows us to remove a few inclusions from the ShaderGenCommon header. This uncovered a few instances of indirect inclusions being relied upon in other source files. One other benefit is this allows changes to be made to the definitions of the functions without needing to recompile all translation units that make use of these functions, making change testing a little quicker. Moving the definitions into the cpp file also allows us to completely hide DefineOutputMember() from external view, given it's only ever used inside of GenerateVSOutputMembers().
2020-05-25VideoCommon/ShaderGenCommon: Convert helper functions over to fmtLioncash
A very trivial conversion, this simply converts calls to Write over to WriteFmt and adjusts the formatting specifiers as necessary. This also allows the const char* parameters to become std::string_view instances, allowing for ease of use with other string types.
2020-05-25Merge pull request #8828 from stenzek/gles-readpixelsMarkus Wick
FramebufferManager: Copy to color format for depth readbacks on GLES
2020-05-24FramebufferManager: Copy to color format for depth readbacks on GLESStenzek
glReadPixels() with depth formats is not supported. Should fix broken EFB access on GLES.
2020-05-24FramebufferManager: Fix invalid readback of EFB D24S8 depthStenzek
Fixes assertion tripping when saving state on Adreno.
2020-05-22Migrate video backend setting to the new config systemLéo Lam
Fixes https://bugs.dolphin-emu.org/issues/12087
2020-05-17Merge pull request #8767 from iwubcode/freelook-camera-typePierre Bourdon
Expand freelook camera with control options
2020-05-13Externals: Add zstdJosJuice
I had to rename Source/Common/Compiler.h because the VS build confuses it with Externals/zstd/lib/common/compiler.h otherwise.
2020-05-03VideoCommon: remove VertexShaderManager functions instead preferring the ↵iwubcode
direct freelook camera methods
2020-05-03VideoCommon: Add Free Look camera with separate modesiwubcode
2020-05-03Fix Windows CMake build errorsJosJuice
Lambda expressions with uncaptured constants were leading to errors, and there were also some warnings about deprecated functions (QFontMetrics::width and inet_ntoa).
2020-04-29Fix windows build system.degasus
2020-04-29XFMemory: SETPOSMTXINFO should be SETPOSTMTXINFOPierre Bourdon
It actually maps to postMtxInfo, not posMtxInfo (which isn't a thing). This is especially confusing because there *are* position matrices (as opposed to post-transform matrices).
2020-04-28Merge pull request #8689 from howard0su/cleanup_signLéo Lam
Remove warnings of -Wsign-compare
2020-04-28Cleanup warnings of -WswitchJun Su
Add default branch to the switch-case.
2020-04-24Analytics: Report correct quirk for mismatched xf/bp colorsSintendo
Looks like a copy-paste error. The quirk for mismatched xf/bp texgens was used twice.
2020-04-21Merge pull request #8717 from stenzek/mismatched-xf-bpJMC47
VertexManagerBase: Skip drawing objects with mismatched xf/bp stages
2020-04-16Merge pull request #8730 from JosJuice/frame-advance-duplicate-frameJMC47
Core: Skip duplicate frames when using frame advance