1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-13 22:46:38 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/SurfaceFlinger
gdkchan 0c87bf9ea4
Refactor CPU interface to allow the implementation of other CPU emulators (#3362)
* Refactor CPU interface

* Use IExecutionContext interface on SVC handler, change how CPU interrupts invokes the handlers

* Make CpuEngine take a ITickSource rather than returning one

The previous implementation had the scenario where the CPU engine had to implement the tick source in mind, like for example, when we have a hypervisor and the game can read CNTPCT on the host directly. However given that we need to do conversion due to different frequencies anyway, it's not worth it. It's better to just let the user pass the tick source and redirect any reads to CNTPCT to the user tick source

* XML docs for the public interfaces

* PPTC invalidation due to NativeInterface function name changes

* Fix build of the CPU tests

* PR feedback
2022-05-31 16:29:35 -03:00
..
Types misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
BufferItemConsumer.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
BufferQueue.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
BufferQueueConsumer.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
BufferQueueCore.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
BufferQueueProducer.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
BufferSlot.cs SurfaceFlinger: fix some bugs (#1262) 2020-06-02 17:58:19 +02:00
BufferSlotArray.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
ConsumerBase.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
HOSBinderDriverServer.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IBinder.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IConsumerListener.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
IFlattenable.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
IGraphicBufferProducer.cs Improved Logger (#1292) 2020-08-04 01:32:53 +02:00
IHOSBinderDriver.cs HLE: Fix integer sign inconcistency accross the codebase (#2222) 2021-04-24 12:16:01 +02:00
IProducerListener.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
NativeWindowApi.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
NativeWindowAttribute.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
NativeWindowScalingMode.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
NativeWindowTransform.cs SurfaceFlinger: fix some bugs (#1262) 2020-06-02 17:58:19 +02:00
Parcel.cs Surface Flinger: Implement GetBufferHistory (#1232) 2020-05-15 03:30:08 +02:00
ParcelHeader.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
PixelFormat.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
Status.cs SurfaceFlinger v2 (#981) 2020-04-22 14:10:27 +10:00
SurfaceFlinger.cs misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00