Table of Contents

Class EglDisplay

Namespace
Avalonia.OpenGL.Egl
Assembly
Avalonia.OpenGL.dll
public class EglDisplay : IDisposable
Inheritance
EglDisplay
Implements
Inherited Members

Constructors

EglDisplay()

public EglDisplay()

EglDisplay(EglDisplayCreationOptions)

public EglDisplay(EglDisplayCreationOptions options)

Parameters

options EglDisplayCreationOptions

EglDisplay(nint, EglDisplayOptions)

public EglDisplay(nint display, EglDisplayOptions options)

Parameters

display nint
options EglDisplayOptions

Properties

Config

public nint Config { get; }

Property Value

nint

DisplayLockIsSharedWithContexts

protected virtual bool DisplayLockIsSharedWithContexts { get; }

Property Value

bool

EglInterface

public EglInterface EglInterface { get; }

Property Value

EglInterface

Handle

public nint Handle { get; }

Property Value

nint

IsLost

public bool IsLost { get; }

Property Value

bool

SupportsSharing

public bool SupportsSharing { get; }

Property Value

bool

Methods

CreateContext(EglContextOptions?)

public EglContext CreateContext(EglContextOptions? options)

Parameters

options EglContextOptions

Returns

EglContext

CreatePBufferFromClientBuffer(int, nint, int*)

public EglSurface CreatePBufferFromClientBuffer(int bufferType, nint handle, int* attribs)

Parameters

bufferType int
handle nint
attribs int*

Returns

EglSurface

CreatePBufferFromClientBuffer(int, nint, int[])

public EglSurface CreatePBufferFromClientBuffer(int bufferType, nint handle, int[] attribs)

Parameters

bufferType int
handle nint
attribs int[]

Returns

EglSurface

CreateWindowSurface(nint)

public EglSurface CreateWindowSurface(nint window)

Parameters

window nint

Returns

EglSurface

Dispose()

public void Dispose()

Lock()

public IDisposable Lock()

Returns

IDisposable