libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Functions
display.h File Reference

Display data structures and functions. More...

#include <libtransistor/types.h>
#include <libtransistor/display/surface.h>
Include dependency graph for display.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  display_t
 Represents a physical display. More...
 

Functions

result_t display_init ()
 Initialize Display.
 
result_t display_open_layer (surface_t *surface)
 Open a display layer. More...
 
result_t display_get_vsync_event (revent_h *event)
 Get a V-Sync event. More...
 
void display_close_layer (surface_t *surface)
 Close a display layer. More...
 
void display_finalize ()
 Finalize Display.
 

Detailed Description

Display data structures and functions.

Function Documentation

void display_close_layer ( surface_t surface)

Close a display layer.

Parameters
surfaceSurface to close
result_t display_get_vsync_event ( revent_h event)

Get a V-Sync event.

Parameters
eventOutput
result_t display_open_layer ( surface_t surface)

Open a display layer.

Parameters
surfaceSurface structure to initialize