summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2020-12-05Merge pull request #9275 from JosJuice/framedump-boot-timeLéo Lam
FrameDump: Start timing at 0 ticks when starting from boot
2020-12-02General: Convert PanicAlerts over to fmt equivalentLioncash
Converts lingering panic alert calls over to the fmt-capable ones.
2020-11-27FrameDump: Start timing at 0 ticks when starting from bootJosJuice
2020-11-26VideoCommon: Use Common::SavePNG() to write textures.Admiral H. Curtiss
2020-11-26Core: Remove commented out logsLioncash
Commented out logs shouldn't be kept around, since it makes performing renames and migrations harder, as tooling generally doesn't inspect comments.
2020-11-23Fix vertex ubershader GLES compile errorsJosJuice
Regression from 51724c1.
2020-11-22FrameDump: Re-add call to av_register_allJosJuice
This was removed in 4902146329d58e0fed826ba874dde928c981261a. We still need this for the ffmpeg version we're using on Windows.
2020-11-20LightingShaderGen: Always calculate lighting for both color channelsStenzek
Cel-damage depends on lighting being calculated for the first channel even though there is no color in the vertex format (defaults to the material color). If lighting for the channel is not enabled, the vertex will use the default color as before. The default value of the color is determined by the number of elements in the vertex format. This fixes the grey cubes in Super Mario Sunshine. If the color channel count is zero, we set the color to black before the end of the vertex shader. It's possible that this would be undefined behavior on hardware if a vertex color index that was greater than the channel count was used within TEV.
2020-11-20Fix translatable strings which contain non-positional argumentsJosJuice
2020-11-20Merge pull request #9239 from altimumdelta/FFDUMP_Separate_LoggingLéo Lam
FrameDump Logging: Separate log type and migrate to fmt
2020-11-17VideoCommon: Migrate over to fmtLioncash
Migrates off the printf-based formatting where applicable.
2020-11-10FrameDump Logging: Separate log type and migrate to fmtaltimumdelta
2020-11-09ShaderGenCommon: Rename WriteFmt() to Write()Lioncash
Now that we've converted all of the shader generators over to using fmt, we can drop the old Write() member function and perform a rename operation on the WriteFmt() to turn it into the new Write() function. All changes within this are the removal of a <cstdarg> header, since the previous printf-based Write() required it, and renaming. No functional changes are made at all.
2020-11-09Merge pull request #9197 from lioncash/uber-pixelLC
UberShaderPixel: Migrate over to fmt
2020-11-05Common/LinearDiskCache: Replace std::fstream with File::IOFileJosJuice
File::IOFile is better suited to this type of task. Split out from a future PR.
2020-10-29Merge pull request #9141 from Techjar/but-for-how-longJMC47
Re-enable GPU Texture Decoding under MoltenVK
2020-10-27UberShaderPixel: Migrate over to fmtLioncash
Completes the migration over to using the fmt-formatting WriteFmt function. The next PR will rename all usages of WriteFmt, while simultaneously getting rid of the old printf code.
2020-10-26Merge pull request #9171 from lioncash/pixelLéo Lam
PixelShaderGen: Migrate over to fmt
2020-10-26Merge pull request #9188 from ↵Léo Lam
jordan-woyak/stop-caring-about-old-avcodec-versions VideoCommon/FrameDump: Remove code for older versions of avcodec.
2020-10-23VideoCommon: update vcproj file to set HAS_OPENGLiwubcode
2020-10-23VideoCommon: remove HAS_OPENGL from VideoBackendBaseiwubcode
2020-10-23VideoCommon: update vcproj file to set HAS_VULKANiwubcode
2020-10-23VideoCommon: rename USE_VULKAN to HAS_VULKAN in VideoBackendBaseiwubcode
2020-10-23PixelShaderGen: Migrate over to fmtLioncash
Continues the migration of the shader generators over to fmt. After this, all that remains in the Ubershader pixel generator.
2020-10-23VideoCommon/FrameDump: Remove code for older versions of avcodec.Jordan Woyak
2020-10-23CMake: Add option to enable/disable Vulkan video backendmazes-80
2020-10-23Merge pull request #9179 from leoetlino/available-video-backendsJosJuice
VideoCommon: Get rid of the global g_available_video_backends
2020-10-22VideoCommon: FrameDump fixes/cleanups.Jordan Woyak
2020-10-22Merge pull request #9169 from lioncash/uber-vertLéo Lam
UberShaderVertex: Migrate over to fmt
2020-10-21VideoCommon: Simplify VideoBackendBase::GetDefaultBackendNameLéo Lam
Now we can just call GetDefaultVideoBackend to get the default backend and get its name by calling GetName.
2020-10-21VideoCommon: Get rid of the global g_available_video_backendsLéo Lam
Replace it with a function-local static that is initialized on first use. This gets rid of a global variable and removes the need for manual initialization in UICommon. This commit also replaces the weird find_if that looks for a non-null unique_ptr with a simple "is vector empty" check considering that none of the pointers can be null by construction.
2020-10-20UberShaderVertex: Migrate over to fmtLioncash
Continues migration of the shader generators over to fmt. With this, all that's left to move over are the pixel shaders (regular and ubershader variants)
2020-10-20Merge pull request #9168 from lioncash/ifconstLéo Lam
DataReader: Make use of if constexpr where applicable
2020-10-20DataReader: Make use of if constexpr where applicableLioncash
We can make use of if constexpr for cases where booleans will always statically be known at compile-time.
2020-10-20Merge pull request #9165 from lioncash/ubercommonLéo Lam
UberShaderCommon: Migrate over to fmt
2020-10-20Merge pull request #9163 from lioncash/fbgenLéo Lam
FramebufferShaderGen: Migrate over to fmt
2020-10-20UberShaderCommon: Migrate over to fmtLioncash
Continues migration of the shader generators over to fmt.
2020-10-20Merge pull request #9164 from lioncash/geoshaderLéo Lam
GeometryShaderGen: Migrate over to fmt
2020-10-20Merge pull request #8318 from iwubcode/dynamic_input_texturesLéo Lam
InputCommon: Dynamic Input Textures
2020-10-19GeometryShaderGen: Migrate over to fmtLioncash
Continues migration of the shader generators over to fmt.
2020-10-19FramebufferShaderGen: Migrate over to fmtLioncash
Continures the migration of the shader generators over to fmt.
2020-10-19VertexShaderGen: Fix unescaped { in D3D shader.Admiral H. Curtiss
2020-10-19Merge pull request #8981 from lioncash/vtx-fmtLC
LightingShaderGen/VertexShaderGen: Migrate over to fmt
2020-10-08DriverDetails: Remove bug for broken GPU Texture DecodingTechjar
2020-10-08Re-enable GPU Texture Decoding under MoltenVKTechjar
2020-10-03Core: Load custom textures after inputs has been loaded and avoid sending ↵iwubcode
force texture reload during startup for dynamic textures. This ensures that custom texture loading only happens once and users don't see any weird flashes on startup
2020-10-03InputCommon: Introducing the "Dynamic Input Texture". Configuration links ↵iwubcode
an emulated input action to an image based on what host key is defined for that emulated input. Specific regions are called out in configuration that mark where to replace an input button with a host key image.
2020-10-03VideoCommon: Make a reusable free function for getting top level directories ↵iwubcode
that have a matching gameid text file underneath
2020-09-25FramebufferManager: Fix EFB readbacks with MSAA onStenzek
Regression from #8827.
2020-09-16Merge pull request #9075 from JosJuice/android-osd-left-marginJMC47
Android: Move OSD out of the way when menu is open