summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
AgeCommit message (Collapse)Author
2019-04-21Replace EFBRectangle/TargetRectangle with MathUtil::RectangleStenzek
2019-04-21TextureCache: Simplify XFB reconstructionStenzek
This also better handles in-memory interlaced XFB data placed by the CPU by considering the stride from the VI.
2019-04-05Add imgui golf mode overlayTechjar
2019-03-28RenderBase: Add EFBHasAlphaChannel() helperStenzek
2019-03-23Add imgui-based Netplay Chatspycrab
2019-03-21VideoCommon/RenderBase: Disable backculling for ImGuispycrab
2019-03-09FramebufferManager: Implement EFB tile cacheStenzek
The new tile cache is dynamic in size and can be turned on/off.
2019-03-07VideoCommon/RenderBase: Don't destroy pipelines that are in usespycrab
2019-02-19Move most backend functionality to VideoCommonStenzek
2019-01-27Renderer: Fix throttle-disable (TAB) hotkey when vsync is enabledStenzek
2019-01-25Decouple XFB scanout from presentationStenzek
2019-01-25Renderer: Scale all imgui fonts by the backbuffer scaleStenzek
2019-01-25VideoBackends: Store a backbuffer 'scale'Stenzek
This is a scaling factor, used for hi-dpi configurations.
2019-01-25RenderWidget: Hook up to ImGuiStenzek
2019-01-25Renderer: Use imgui for drawing debug text and OSDStenzek
2019-01-25RenderBase: Implement imgui renderingStenzek
2019-01-08Merge pull request #7626 from weihuoya/vulkan-oomConnor McLaughlin
Always clean cache on render swap
2019-01-08Always flush on swapweihuoya
2019-01-03Merge pull request #7230 from ligfx/remove_clamp_draw_sizeJosJuice
RenderBase: don't clamp draw size to window
2018-12-04Renderer: Add backbuffer format to base classStenzek
2018-12-04Renderer: Add a base Initialize() method to match Shutdown()Stenzek
2018-12-04RenderBase: Force a pipeline flush when drawing the XFB to the hostStenzek
Since we use the common pipelines here and draw vertices if a batch is currently being built by the vertex loader, we end up trampling over its pointer, as we share the buffer with the loader, and it has not been unmapped yet. Force a pipeline flush to avoid this.
2018-11-07RenderBase: Set m_aspect_wide on startJosJuice
It doesn't feel great to let the value from a previous emulation session linger around considering that the GC aspect ratio heuristic can use the previous value of m_aspect_wide when calculating m_aspect_wide.
2018-11-07Fix the widescreen hack for Wii games with 4:3 forced in game INIJosJuice
2018-11-07TextureCache: Implement deferred/batched EFB copiesStenzek
2018-10-27RenderBase: send performance sample at every end of framePierre Bourdon
Not the best integration point, but couldn't think of something better. This implementation has the benefit to be super simple.
2018-10-20Renderer: Pull dimensions from GLInterface/SwapchainStenzek
2018-10-20Drop Host_GetRenderSurface and pass display to backendStenzek
2018-09-13Correctly adjust the rendered XFB region at non-native internal resolutions ↵Admiral H. Curtiss
when XFB was loaded from console RAM. If, for whatever reason, the XFB has to be loaded from console memory, it's possible that the texture is returned at native resolution instead of EFB-scaled resolution. In this case, our xfb_rect.right adjustment must also happen at native resolution instead of scaled resolution.
2018-07-07RenderBase: don't clamp draw size to windowMichael M
It distorts the aspect ratio when cropping, rather than actually cropping.
2018-06-25VideoCommon: Fix auto IR being very overzealousTechjar
2018-06-06Add OSD message for Volume Hotkeysmaster0fdisaster
This pr adds an OnScreenDisplay message when you use the Volume hotkeys. Just to have visual feedback.
2018-05-13Merge pull request #6786 from stenzek/crop-negative-yMarkus Wick
RenderBase: Ensure the draw size does not exceed the window size
2018-05-11VideoCommon/RenderBase: Refactor OSD messagesspycrab
2018-05-08RenderBase: Ensure the draw size does not exceed the window sizeStenzek
This was happening when crop was enabled, causing blank outputs for some Vulkan drivers (namely radv), as the draw rectangle is used as the viewport.
2018-04-29Implement EFB copy filter and gamma in hardware backendsStenzek
Also makes y_scale a dynamic parameter for EFB copies, as it doesn't make sense to keep it as part of the uid, otherwise we're generating redundant shaders.
2018-04-02Renderer: Only recreate frame dump texture if dimensions differStenzek
This was a typo, been around for a while. == should be !=. May improve frame dumping performnace slightly, but I doubt much if any.
2018-03-14Assert: Uppercase assertion macrosLioncash
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
2018-03-10OGL: Re-implement async shader compilingStenzek
2018-03-10Move shader caches to VideoCommonStenzek
2018-03-02VideoCommon: Add support for Abstract FramebuffersStenzek
2018-03-01AbstractTexture: Support multisampled abstract textureStenzek
2018-02-20Renderer: Handle resize events on-demand instead of pollingStenzek
We now differentiate between a resize event and surface change/destroyed event, reducing the overhead for resizes in the Vulkan backend. It is also now now safe to change the surface multiple times if the video thread is lagging behind.
2018-02-20BPFunctions: Move GX viewport conversion to VideoCommonStenzek
2018-02-07Merge pull request #6334 from stenzek/startupAnthony
Video Backend Initialization/Core Boot Improvements
2018-01-29Merge pull request #6303 from TraceBullet/auto-adjust-window-sizeStenzek
Fix Auto-Adjust Window Size option making the window too large
2018-01-27VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methodsStenzek
Also allows the work previously done in Prepare to return a failure status.
2018-01-26Fix Auto-Adjust Window Size option making the window too largeTraceBullet
2018-01-26Renderer: Fix crash on shutdown when frame dumping or taking screenshotsStenzek
2018-01-06Treat invalid aspect ratio setting values as AutoJosJuice