summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
AgeCommit message (Collapse)Author
2020-11-17VideoCommon: Migrate over to fmtLioncash
Migrates off the printf-based formatting where applicable.
2019-12-05VideoCommon/BoundingBox: Move PixelShaderManager::SetBoundingBoxActive() ↵Lioncash
calls into Enable()/Disable() Now that we have an actual interface to manage things, we can stop duplicating the calls to to the pixel shader manager and remove the need to remember to actually do so when disabling or enabling the bounding box.
2019-12-05VideoCommon/BoundingBox: Make interface for querying bounding box dataLioncash
Rather than expose the bounding box members directly, we can instead provide an interface for code to use. This makes it nicer to transition from global data, as the interface function names are already in place.
2017-09-02CommandProcessor: Remove unnecessary includeLioncash
Gets rid of some indirect inclusion.
2017-07-30ShaderGen: Implement pixel ubershadersStenzek
2017-01-27PixelEngine: Use a DirectRead for the token.degasus
No need to call a std::function, and a few games poll this value very often.
2017-01-05specify custom brace style to fix unionsBhaaL
BreakBeforeBraces: Allman apparently includes all styles, except for AfterUnion (which is false) when using clang-format -dump-config
2016-10-01Reorganise a ton of logs levelaldelaro5
Most of this commits changes performance decreasing logs from info to debug and also cleans up innacurate levels.
2016-09-03Core: Change CoreTiming event key from int to EventType*EmptyChaos
Replace 'int' keys with something that carries type information. Performance is neutral.
2016-09-01PixelEngine: Add missing static specifier for `s_token_finish_mutex`.Jules Blok
2016-08-11Run clang-format on missed filesLéo Lam
`clang-format`s files that lint missed because of the bug. Fortunately, not much.
2016-08-11CoreTiming: Merge ScheduleEvent variants into one functionJosJuice
Now Core::IsCPUThread() only gets called once when using the AnyThread variant. Also, I think the enum approach makes calling code clearer.
2016-08-10PixelEngine: Delay token updates by events.degasus
To still get a speedup, mark if already an event is queued. If so, don't raise a new event.
2016-08-10PixelEngine: Cleanup PE Token.degasus
This also affects the behavior a bit, it should now fit better to the one of the commonly more used PE Finish flag.
2016-08-10PixelEngine: Drop write-only variables.degasus
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-04-10Alternative fix: promote cycleslate to an s64 everywhere.Scott Mansell
Also changed a few functions to be static.
2016-01-25Fifo: Make g_use_deterministic_gpu_thread a TU-local variableLioncash
2016-01-17VideoCommon: Header cleanupLioncash
Also remedies places where the video backends and core rely on things being indirectly included.
2016-01-12Fifo: Create a "Fifo" namespace.degasus
2015-06-12Options: merge SCoreStartupParameter into SConfigdegasus
2015-06-06Fix indeterminism in GPU thread mode.comex
2015-05-27CommandProcessor: Replace volatile usages with atomicsLioncash
Also remove said variables from being globals.
2015-05-27PixelEngine: Replace volatile usages with atomicsLioncash
Also removes two unused volatile variables.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-01Fix dead linkIngve Skåra
2015-04-06Fifo: rewrite sync on idle skipping hackdegasus
Now it's done without a busy loop
2015-01-30Clean up usage of ScheduleEvent_Threadsafe.magumagu
2014-11-17OGL: implement bounding box support with ssbodegasus
This implemention tries to be as accurate as the old SW implemention, but it will remove the dependcy of our vertexloader on videosw.
2014-10-10Get buildbot to compile.crudelios
2014-10-10Reimplement Bounding Box calculation using the software renderer.crudelios
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-07-13Fix warnings unearthed by #579Tillmann Karras
2014-07-11mark all local variables as staticdegasus
2014-07-11mark all local functions as staticdegasus
2014-06-01Video backends: remove dead code.magumagu
2014-02-20Fix more header sorting issues in VideoCommon/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2014-02-16Remove the old MMIO access "interface".Pierre Bourdon
2014-02-16MMIO: Port the VideoCommon PE MMIOs to the new interface.Pierre Bourdon
2014-02-16MMIO: Port the VideoCommon CP MMIOs to the new interface (and provide ↵Pierre Bourdon
framework for other video related mappings).
2014-02-09Clean up some struct indentationsLioncash
Also cleaned up the indentations of some variable declarations.
2014-02-09Cleanup enum indentations.Lioncash
2014-01-31VideoCommon: remove Cache Displaylistdegasus
This option was known to break every second game and only boost a bit. It also seems to be broken because of streaming into pinned memory and buffer storage buffers. v2: also remove dlc_desc
2014-01-25Rewrote bounding box algotithm. Fixes issues 5967, 6154, 6196, 6211.crudelios
Instead of being vertex-based, it is now primitive (point, line or dissected triangle) based, with proper clipping. Also, screen position is now calculated based on viewport values, instead of "guesstimating". This fixes many graphical glitches in Paper Mario: TTYD and Super Paper Mario. Also, the new code allows Mickey's Magical Mirror and Disney's Hide & Sneak to work (mostly) bug-free. I changed their inis to use bbox. These changes have a slight cost in performance when bbox is being used (rare), mostly due to the new clipping algorithm. Please check for any regressions or crashes.
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre