mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-21 00:23:36 +00:00
* add avalonia support * only lock around skia flush * addressed review * cleanup * add fallback size if avalonia attempts to render but the window size is 0. read desktop scale after enabling dpi check * fix getting window handle on linux. skip render is size is 0
14 lines
No EOL
410 B
C#
14 lines
No EOL
410 B
C#
using Ryujinx.Graphics.GAL;
|
|
using System;
|
|
|
|
namespace Ryujinx.Graphics.Vulkan
|
|
{
|
|
internal abstract class WindowBase: IWindow
|
|
{
|
|
public bool ScreenCaptureRequested { get; set; }
|
|
|
|
public abstract void Dispose();
|
|
public abstract void Present(ITexture texture, ImageCrop crop, Action<object> swapBuffersCallback);
|
|
public abstract void SetSize(int width, int height);
|
|
}
|
|
} |