mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-02-23 09:30:18 +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
13 lines
298 B
C#
13 lines
298 B
C#
using System;
|
|
using Avalonia;
|
|
using Silk.NET.Vulkan;
|
|
|
|
namespace Ryujinx.Ava.Ui.Vulkan.Surfaces
|
|
{
|
|
public interface IVulkanPlatformSurface : IDisposable
|
|
{
|
|
float Scaling { get; }
|
|
PixelSize SurfaceSize { get; }
|
|
SurfaceKHR CreateSurface(VulkanInstance instance);
|
|
}
|
|
}
|