mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-20 06:08:27 -06:00

* Introduce new IGALCommand<T> interface and use it * Remove use of reflection on GAL multithreading * Unmanaged constraint
13 lines
409 B
C#
13 lines
409 B
C#
namespace Ryujinx.Graphics.GAL.Multithreading.Commands.Renderer
|
|
{
|
|
struct UpdateCountersCommand : IGALCommand, IGALCommand<UpdateCountersCommand>
|
|
{
|
|
public CommandType CommandType => CommandType.UpdateCounters;
|
|
|
|
public static void Run(ref UpdateCountersCommand command, ThreadedRenderer threaded, IRenderer renderer)
|
|
{
|
|
renderer.UpdateCounters();
|
|
}
|
|
}
|
|
}
|