A snapshot of the working tree for aelrynth.com/git/: the code, build files and public docs. Internal review notes and agent instructions are left out. MIT licensed; see LICENSE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
537 B
C#
15 lines
537 B
C#
using System;
|
|
|
|
namespace RynthCore.Engine.UI;
|
|
|
|
internal interface IOverlaySurfaceBridge
|
|
{
|
|
string Name { get; }
|
|
bool SupportsGpuInterop { get; }
|
|
bool ShouldAttemptSharedTextures { get; }
|
|
void SubmitSoftwareFrame(IntPtr pixelData, int byteCount, int width, int height);
|
|
void SubmitSharedTexture(OverlaySurfaceKind kind, OverlaySharedTextureDescriptor descriptor);
|
|
void NotifySharedTextureOpened(IntPtr sharedHandle);
|
|
void NotifySharedTextureUnavailable();
|
|
bool TryConsume(out OverlaySurfaceFrame? frame);
|
|
}
|