summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2014-07-19Prevent DXGI from making changes to the window.Jules Blok
Prevents DXGI from responding to Alt+Enter and messing up our fullscreen handling.
2014-07-18Support Sampler binding in the shader.Ryan Houdek
In the cases where we support the binding layout keyword, use it for more than binding UBO location. This changes it so it is supported for samplers as well. Instances when this is enabled is if a device supports GL_ARB_shading_language_420pack, or if it supports GLES 3.10.
2014-07-18Merge pull request #595 from Armada651/pref_logDolphin Bot
FPSCounter: Flush the logs every second and close them when the renderer is shut down.
2014-07-18Merge pull request #642 from phire/vs-constantsPierre Bourdon
VideoSoftware: Use the same max XFB size as VideoCommon.
2014-07-17SW: Call OnFrameEnd in the FifoPlayer XFB hack. Required to dump DFF frames.Pierre Bourdon
2014-07-17VideoSoftware: Use the same max XFB size as VideoCommon.Scott Mansell
And lets just use the same constant as videocommon, so if it ever increases (again) VideoSoftware will be automatically updated.
2014-07-17Merge pull request #622 from phire/sw-fix-frame-dumpDolphin Bot
Fixed Frame dumping in VideoSoftware.
2014-07-17Fixed Frame dumping in VideoSoftware.Scott Mansell
Old code dumped the efb, which was no-longer relevant since the backend gained xfb support. New code dumps the colour texture which is about to be rendered to the screen so correctly reflects the bypassXFB option.
2014-07-16Turn the FPSCounter namespace into a class.Jules Blok
2014-07-15Fix incorrect clamping in SWRenderer.Scott Mansell
A previous PR changed a whole lot of min/maxes to std::min/std::max but made a mistake here and used a templated min which cast it's arguments to unsigned instead of casting return value. This resulted in glitchy artifacts in bright areas (See issue 7439) I rewrote the code to use a proper clamping function so it's cleaner to read.
2014-07-14OGL: Correctly guard against array bounds of s_encodingProgramsLioncash
s_encodingPrograms is defined as an array with a length of 64 NUM_ENCODING_PROGRAMS is also defined as 64. However 64 is out of bounds, so we want to be comparing for "equal to or greater than here"
2014-07-13Fix warnings unearthed by #579Tillmann Karras
2014-07-11remove unused globalsdegasus
Also change globals into statics which are only used in one file
2014-07-11avoid the extern keyword in .cpp filesdegasus
2014-07-11mark all local variables as staticdegasus
2014-07-11mark all local functions as staticdegasus
2014-07-10Move FPSCounter calls to RenderBase.Jules Blok
2014-07-07D3D: Use std::strings for Compile[x]Shader and CompileAndCreate[x]ShaderLioncash
With strings, we don't need to care about passing in a length, since it internally stores it. So now, we don't even need a length parameter for these functions anymore as well. This also kills off some sprintf_s calls.
2014-07-04Change the comments to be more detailed.Justin Chadwick
2014-07-03Place pinned memory as top priorityJustin Chadwick
2014-07-02FPS counter cleanupLioncash
- Isolate it into it's own namespace - Shorten function names, the namespace self-documents. - Just use the std I/O, we can just write directly to the stream for logging.
2014-06-27Statistics: Reformat stats stringdegasus
2014-06-27VideoCommon: remove unused statsdegasus
2014-06-25Centralize the logging code into its own folder in Common.Lioncash
2014-06-24Remove the 32-bit config platform from the VS solution and projectsLioncash
2014-06-22Merge pull request #500 from lioncash/iniPierre Bourdon
Use only section-based ini reading.
2014-06-21Merge pull request #501 from magumagu/sw-cp-structsTony Wasserka
VideoSoftware: remove duplicated CommandProcessor structures.
2014-06-21VideoSoftware: remove duplicated CommandProcessor structures.magumagu
2014-06-21Merge pull request #439 from degasus/lighting-fixTony Wasserka
Lighting cleanup
2014-06-20Make the common "Failed to enumerate outputs" message much more useful.Paul Olszewski
Now it includes its most common cause, a simply-worded solution, and an exclamation point.
2014-06-19LightingShader: hard code const variabledegasus
2014-06-19PixelShader: use the vertex const buffer for ppldegasus
2014-06-19VideoCommon: use the Light struct in XF memorydegasus
2014-06-19Merge pull request #497 from Armada651/osd-scalingTony Wasserka
D3D: Reset viewport before drawing the OSD.
2014-06-18Kill off replaceable usages of s[n]printf.Lioncash
2014-06-16D3D: Reset viewport before drawing the OSD.Jules Blok
2014-06-16Use only section-based ini reading.Lioncash
2014-06-15Merge pull request #492 from Armada651/masterPierre Bourdon
Remove EmuWindow
2014-06-15Remove EmuWindow.Armada
All it did was raise complexity.
2014-06-13Merge pull request #445 from magumagu/video-dead-codeTony Wasserka
Video backends: remove dead code.
2014-06-08Fix the capitalization of "GameCube" throughout the project.Paul Olszewski
2014-06-06Fix OpenGL ES version detection.Ryan Houdek
Mesa report GLES version as "3.0" not "3.00" Spec mandates X.Y versioning scheme, doesn't say how long the decimal place must be.
2014-06-05OGL: speed up the EFB cachedegasus
gcc doesn't optimize this loops with -O2, so using memset now. A flag to skip the clear funktion was added as the cache is already cleared most of the time.
2014-06-05OGL-StreamBuffer: replace size_t with u32degasus
Yes, this matters. We align our buffer all the the time which needs a division. u64 divisions are just so slow.
2014-06-05OGL-StreamBuffer: move alignment to callerdegasus
Only the caller know if alignment is needed at all, so it can be skipped now.
2014-06-05OGL-StreamBuffer: make the SLOT calculation much easierdegasus
The size of the buffer is now power of 2, so we can use a shift instead of a division. This was at about 2% of the global CPU usage.
2014-06-05OGL-StreamBuffer: allocate fences in StreamBuffer directlydegasus
2014-06-05OGL-StreamBuffer: don't use coherent mappingdegasus
Coherent mapping seems to be much slower on fermi gpus.
2014-06-01Video backends: remove dead code.magumagu
2014-05-29Remove the min/max functions in CommonFuncs.Lioncash
The algorithm header has the same functions.