GRContext

Undocumented in source.

Constructors

this
this(void* h, bool owns)
Undocumented in source.

Members

Functions

AbandonContext
void AbandonContext(bool releaseResources)
Undocumented in source. Be warned that the author may not have intended to support it.
Backend
GRBackend Backend()
Undocumented in source. Be warned that the author may not have intended to support it.
Dispose
void Dispose(bool disposing)
Undocumented in source. Be warned that the author may not have intended to support it.
Flush
void Flush()
Undocumented in source. Be warned that the author may not have intended to support it.
GetMaxSurfaceSampleCount
int GetMaxSurfaceSampleCount(SKColorType colorType)
Undocumented in source. Be warned that the author may not have intended to support it.
GetRecommendedSampleCount
int GetRecommendedSampleCount(GRPixelConfig config, float dpi)
Undocumented in source. Be warned that the author may not have intended to support it.
GetResourceCacheLimit
long GetResourceCacheLimit()
Undocumented in source. Be warned that the author may not have intended to support it.
GetResourceCacheLimits
void GetResourceCacheLimits(int maxResources, long maxResourceBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
ResetContext
void ResetContext(GRGlBackendState state)
Undocumented in source. Be warned that the author may not have intended to support it.
ResetContext
void ResetContext(GRBackendState state)
Undocumented in source. Be warned that the author may not have intended to support it.
ResetContext
void ResetContext(uint state)
Undocumented in source. Be warned that the author may not have intended to support it.
SetResourceCacheLimit
void SetResourceCacheLimit(long maxResourceBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
SetResourceCacheLimits
void SetResourceCacheLimits(int maxResources, long maxResourceBytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Create
GRContext Create(GRBackend backend)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
GRContext Create(GRBackend backend, GRGlInterface backendContext)
Undocumented in source. Be warned that the author may not have intended to support it.
Create
GRContext Create(GRBackend backend, void* backendContext)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateGl
GRContext CreateGl()
Undocumented in source. Be warned that the author may not have intended to support it.
CreateGl
GRContext CreateGl(GRGlInterface backendContext)
Undocumented in source. Be warned that the author may not have intended to support it.
CreateVulkan
GRContext CreateVulkan(GRVkBackendContext backendContext)
Undocumented in source. Be warned that the author may not have intended to support it.
GetObject
GRContext GetObject(void* handle)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SKObject

Handle
void* Handle()
Undocumented in source. Be warned that the author may not have intended to support it.
Handle
void Handle(void* value)
Undocumented in source. Be warned that the author may not have intended to support it.
registerOwnedObject
void registerOwnedObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
registerKeepAliveObject
void registerKeepAliveObject(void* handle, SKObject obj)
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeUnownedManaged
void DisposeUnownedManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeManaged
void DisposeManaged()
Undocumented in source. Be warned that the author may not have intended to support it.
DisposeNative
void DisposeNative()
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
GetOrAddObject
TSkiaObject GetOrAddObject(void* handle, bool owns, bool unrefExisting, Func!(void*, bool, TSkiaObject) objectFactory)
Undocumented in source. Be warned that the author may not have intended to support it.
RegisterHandle
void RegisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
DeregisterHandle
void DeregisterHandle(void* handle, SKObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
GetInstance
bool GetInstance(void* handle, TSkiaObject instance)
Undocumented in source. Be warned that the author may not have intended to support it.
PreventPublicDisposal
void PreventPublicDisposal()
Undocumented in source. Be warned that the author may not have intended to support it.
RevokeOwnership
void RevokeOwnership(SKObject newOwner)
Undocumented in source. Be warned that the author may not have intended to support it.
OwnedBy
T OwnedBy(T child, SKObject owner)
Undocumented in source. Be warned that the author may not have intended to support it.
Owned
T Owned(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
Referenced
T Referenced(T owner, SKObject child)
Undocumented in source. Be warned that the author may not have intended to support it.
PtrToStructureArray
T[] PtrToStructureArray(void* intPtr, int count)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta