Functions | |
| bool | kzsDisplayNativeIsConnected (struct KzsDisplayNative *displayNative) |
| Check if display is connected. | |
| kzsError | kzsDisplayNativeModeSet (struct KzsDisplayNative *displayNative, int fd, int fbId) |
| Set the mode for the display. | |
| kzsError | kzsDisplayNativePageFlip (struct KzsDisplayNative *displayNative, int fd, int fbId) |
| Schedule a page-flip, swap-buffers should be called prior to this. | |
| kzsError | kzsDisplayNativeRestoreMode (struct KzsDisplayNative *displayNative, int fd) |
| Restore original mode of the display. | |
| EGLNativeDisplayType | kzsEGLGetNativeDisplay (const struct KzsDesktopNative *desktopNative, const struct KzsDisplayNative *displayNative, const struct KzsWindowNative *windowNative) |
| void | kzsWaitForVsync (struct KzsDisplayNative *displayNative, int fd) |
| Waits for a VSYNC signal. | |
| EGLNativeDisplayType kzsEGLGetNativeDisplay | ( | const struct KzsDesktopNative * | desktopNative, |
| const struct KzsDisplayNative * | displayNative, | ||
| const struct KzsWindowNative * | windowNative ) |
| kzsError kzsDisplayNativePageFlip | ( | struct KzsDisplayNative * | displayNative, |
| int | fd, | ||
| int | fbId ) |
Schedule a page-flip, swap-buffers should be called prior to this.
| displayNative | Handle to display-native. |
| fd | File handle to drm device or control-device. |
| fbId | Handle to the framebuffer. |
| void kzsWaitForVsync | ( | struct KzsDisplayNative * | displayNative, |
| int | fd ) |
Waits for a VSYNC signal.
| displayNative | Handle to display-native. |
| fd | File handle to drm device or control-device. |
| kzsError kzsDisplayNativeModeSet | ( | struct KzsDisplayNative * | displayNative, |
| int | fd, | ||
| int | fbId ) |
Set the mode for the display.
| displayNative | Handle to display-native. |
| fd | File handle to drm device or control-device. |
| fbId | Handle to the framebuffer. |
| kzsError kzsDisplayNativeRestoreMode | ( | struct KzsDisplayNative * | displayNative, |
| int | fd ) |
Restore original mode of the display.
| displayNative | Handle to display-native. |
| fd | File handle to drm device or control-device. |
| bool kzsDisplayNativeIsConnected | ( | struct KzsDisplayNative * | displayNative | ) |
Check if display is connected.
| displayNative | Handle to display-native. |