Hardware rendering operations
Hardware rendering operation parts in interface:
Copy this to your project and extend with your parts or leave functions complete away where not used or supported.
◆ EnableHardwareRendering()
Callback to Kodi Function
Enable hardware rendering functionality
- Returns
- True if hardware rendering was enabled, false otherwise
◆ HwContextReset()
Invalidates the current HW context and reinitializes GPU resources.
Any GL state is lost, and must not be deinitialized explicitly.
- Returns
- the error, or GAME_ERROR_NO_ERROR if the HW context was reset
◆ HwContextDestroy()
Called before the context is destroyed.
Resources can be deinitialized at this step.
- Returns
- the error, or GAME_ERROR_NO_ERROR if the HW context was destroyed
◆ HwGetProcAddress()
Callback to Kodi Function
Get a symbol from the hardware context
- Parameters
-
- Returns
- A function pointer for the specified symbol