FreeRDP
uwac.h File Reference
#include <wayland-client.h>
#include <stdbool.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  UwacPosition
 a position More...
 
struct  UwacSize
 a rectangle size measure More...
 
struct  UwacOutputNewEvent
 
struct  UwacSeatNewEvent
 
struct  UwacSeatRemovedEvent
 
struct  UwacKeyboardEnterLeaveEvent
 
struct  UwacKeyboardModifiersEvent
 
struct  UwacPointerEnterLeaveEvent
 
struct  UwacPointerMotionEvent
 
struct  UwacPointerButtonEvent
 
struct  UwacPointerAxisEvent
 
struct  UwacPointerFrameEvent
 
struct  UwacPointerSourceEvent
 
struct  UwacTouchCancel
 
struct  UwacTouchMotion
 
struct  UwacFrameDoneEvent
 
struct  UwacConfigureEvent
 
struct  UwacKeyEvent
 
struct  UwacCloseEvent
 
struct  UwacClipboardEvent
 
struct  UwacOutputGeometryEvent
 
union  UwacEvent
 

Macros

#define UWAC_API
 

Typedefs

typedef uint32_t UwacSeatId
 
typedef bool(* UwacErrorHandler) (UwacDisplay *d, UwacReturnCode code, const char *msg,...)
 
typedef void(* UwacDataTransferHandler) (UwacSeat *seat, void *context, const char *mime, int fd)
 
typedef void(* UwacCancelDataTransferHandler) (UwacSeat *seat, void *context)
 

Enumerations

enum  UwacReturnCode {
  UWAC_SUCCESS = 0 , UWAC_ERROR_NOMEMORY , UWAC_ERROR_UNABLE_TO_CONNECT , UWAC_ERROR_INVALID_DISPLAY ,
  UWAC_NOT_ENOUGH_RESOURCES , UWAC_TIMEDOUT , UWAC_NOT_FOUND , UWAC_ERROR_CLOSED ,
  UWAC_ERROR_INTERNAL , UWAC_ERROR_LAST
}
 error codes More...
 
enum  {
  UWAC_MOD_SHIFT_MASK = 0x01 , UWAC_MOD_ALT_MASK = 0x02 , UWAC_MOD_CONTROL_MASK = 0x04 , UWAC_MOD_CAPS_MASK = 0x08 ,
  UWAC_MOD_NUM_MASK = 0x10
}
 input modifiers More...
 
enum  {
  UWAC_EVENT_NEW_SEAT = 0 , UWAC_EVENT_REMOVED_SEAT , UWAC_EVENT_NEW_OUTPUT , UWAC_EVENT_CONFIGURE ,
  UWAC_EVENT_POINTER_ENTER , UWAC_EVENT_POINTER_LEAVE , UWAC_EVENT_POINTER_MOTION , UWAC_EVENT_POINTER_BUTTONS ,
  UWAC_EVENT_POINTER_AXIS , UWAC_EVENT_KEYBOARD_ENTER , UWAC_EVENT_KEYBOARD_MODIFIERS , UWAC_EVENT_KEY ,
  UWAC_EVENT_TOUCH_FRAME_BEGIN , UWAC_EVENT_TOUCH_UP , UWAC_EVENT_TOUCH_DOWN , UWAC_EVENT_TOUCH_MOTION ,
  UWAC_EVENT_TOUCH_CANCEL , UWAC_EVENT_TOUCH_FRAME_END , UWAC_EVENT_FRAME_DONE , UWAC_EVENT_CLOSE ,
  UWAC_EVENT_CLIPBOARD_AVAILABLE , UWAC_EVENT_CLIPBOARD_SELECT , UWAC_EVENT_CLIPBOARD_OFFER , UWAC_EVENT_OUTPUT_GEOMETRY ,
  UWAC_EVENT_POINTER_AXIS_DISCRETE , UWAC_EVENT_POINTER_FRAME , UWAC_EVENT_POINTER_SOURCE
}
 event types More...
 
enum  { UWAC_WINDOW_MAXIMIZED = 0x1 , UWAC_WINDOW_RESIZING = 0x2 , UWAC_WINDOW_FULLSCREEN = 0x4 , UWAC_WINDOW_ACTIVATED = 0x8 }
 window states More...
 

Functions

UWAC_API void UwacInstallErrorHandler (UwacErrorHandler handler)
 
UWAC_API UwacDisplay * UwacOpenDisplay (const char *name, UwacReturnCode *err)
 
UWAC_API UwacReturnCode UwacCloseDisplay (UwacDisplay **pdisplay)
 
UWAC_API int UwacDisplayGetFd (UwacDisplay *display)
 
UWAC_API const char * UwacErrorString (UwacReturnCode error)
 
UWAC_API UwacReturnCode UwacDisplayGetLastError (const UwacDisplay *display)
 
UWAC_API UwacReturnCode UwacDisplayQueryInterfaceVersion (const UwacDisplay *display, const char *name, uint32_t *version)
 
UWAC_API uint32_t UwacDisplayQueryGetNbShmFormats (UwacDisplay *display)
 
UWAC_API UwacReturnCode UwacDisplayQueryShmFormats (const UwacDisplay *display, enum wl_shm_format *formats, int formats_size, int *filled)
 
UWAC_API uint32_t UwacDisplayGetNbOutputs (const UwacDisplay *display)
 
UWAC_API const UwacOutput * UwacDisplayGetOutput (UwacDisplay *display, int index)
 
UWAC_API UwacReturnCode UwacOutputGetResolution (const UwacOutput *output, UwacSize *resolution)
 
UWAC_API UwacReturnCode UwacOutputGetPosition (const UwacOutput *output, UwacPosition *pos)
 
UWAC_API UwacWindow * UwacCreateWindowShm (UwacDisplay *display, uint32_t width, uint32_t height, enum wl_shm_format format)
 
UWAC_API UwacReturnCode UwacDestroyWindow (UwacWindow **window)
 
UWAC_API UwacReturnCode UwacWindowSetOpaqueRegion (UwacWindow *window, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 
UWAC_API UwacReturnCode UwacWindowSetInputRegion (UwacWindow *window, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 
UWAC_API void * UwacWindowGetDrawingBuffer (UwacWindow *window)
 
UWAC_API UwacReturnCode UwacWindowAddDamage (UwacWindow *window, uint32_t x, uint32_t y, uint32_t width, uint32_t height)
 
UWAC_API UwacReturnCode UwacWindowGetDrawingBufferGeometry (UwacWindow *window, UwacSize *geometry, size_t *stride)
 
UWAC_API UwacReturnCode UwacWindowSubmitBuffer (UwacWindow *window, bool copyContentForNextFrame)
 
UWAC_API UwacReturnCode UwacWindowGetGeometry (UwacWindow *window, UwacSize *geometry)
 
UWAC_API UwacReturnCode UwacWindowSetFullscreenState (UwacWindow *window, UwacOutput *output, bool isFullscreen)
 
UWAC_API void UwacWindowSetTitle (UwacWindow *window, const char *name)
 
UWAC_API void UwacWindowSetAppId (UwacWindow *window, const char *app_id)
 
UWAC_API int UwacDisplayDispatch (UwacDisplay *display, int timeout)
 
UWAC_API bool UwacHasEvent (UwacDisplay *display)
 
UWAC_API UwacReturnCode UwacNextEvent (UwacDisplay *display, UwacEvent *event)
 
UWAC_API const char * UwacSeatGetName (const UwacSeat *seat)
 
UWAC_API UwacSeatId UwacSeatGetId (const UwacSeat *seat)
 
UWAC_API UwacReturnCode UwacClipboardOfferDestroy (UwacSeat *seat)
 
UWAC_API UwacReturnCode UwacClipboardOfferCreate (UwacSeat *seat, const char *mime)
 
UWAC_API UwacReturnCode UwacClipboardOfferAnnounce (UwacSeat *seat, void *context, UwacDataTransferHandler transfer, UwacCancelDataTransferHandler cancel)
 
UWAC_API void * UwacClipboardDataGet (UwacSeat *seat, const char *mime, size_t *size)
 
UWAC_API UwacReturnCode UwacSeatInhibitShortcuts (UwacSeat *seat, bool inhibit)
 
UWAC_API UwacReturnCode UwacSeatSetMouseCursor (UwacSeat *seat, const void *data, size_t length, size_t width, size_t height, size_t hot_x, size_t hot_y)
 UwacSeatSetMouseCursor Sets the specified image as the new mouse cursor. Special values: If data == NULL && lenght == 0 the cursor is hidden, if data == NULL && length != 0 the default system cursor is used. More...
 

Macro Definition Documentation

◆ UWAC_API

#define UWAC_API

Typedef Documentation

◆ UwacCancelDataTransferHandler

typedef void(* UwacCancelDataTransferHandler) (UwacSeat *seat, void *context)

◆ UwacDataTransferHandler

typedef void(* UwacDataTransferHandler) (UwacSeat *seat, void *context, const char *mime, int fd)

◆ UwacErrorHandler

typedef bool(* UwacErrorHandler) (UwacDisplay *d, UwacReturnCode code, const char *msg,...)

◆ UwacSeatId

typedef uint32_t UwacSeatId

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

input modifiers

Enumerator
UWAC_MOD_SHIFT_MASK 
UWAC_MOD_ALT_MASK 
UWAC_MOD_CONTROL_MASK 
UWAC_MOD_CAPS_MASK 
UWAC_MOD_NUM_MASK 

◆ anonymous enum

anonymous enum

event types

Enumerator
UWAC_EVENT_NEW_SEAT 
UWAC_EVENT_REMOVED_SEAT 
UWAC_EVENT_NEW_OUTPUT 
UWAC_EVENT_CONFIGURE 
UWAC_EVENT_POINTER_ENTER 
UWAC_EVENT_POINTER_LEAVE 
UWAC_EVENT_POINTER_MOTION 
UWAC_EVENT_POINTER_BUTTONS 
UWAC_EVENT_POINTER_AXIS 
UWAC_EVENT_KEYBOARD_ENTER 
UWAC_EVENT_KEYBOARD_MODIFIERS 
UWAC_EVENT_KEY 
UWAC_EVENT_TOUCH_FRAME_BEGIN 
UWAC_EVENT_TOUCH_UP 
UWAC_EVENT_TOUCH_DOWN 
UWAC_EVENT_TOUCH_MOTION 
UWAC_EVENT_TOUCH_CANCEL 
UWAC_EVENT_TOUCH_FRAME_END 
UWAC_EVENT_FRAME_DONE 
UWAC_EVENT_CLOSE 
UWAC_EVENT_CLIPBOARD_AVAILABLE 
UWAC_EVENT_CLIPBOARD_SELECT 
UWAC_EVENT_CLIPBOARD_OFFER 
UWAC_EVENT_OUTPUT_GEOMETRY 
UWAC_EVENT_POINTER_AXIS_DISCRETE 
UWAC_EVENT_POINTER_FRAME 
UWAC_EVENT_POINTER_SOURCE 

◆ anonymous enum

anonymous enum

window states

Enumerator
UWAC_WINDOW_MAXIMIZED 
UWAC_WINDOW_RESIZING 
UWAC_WINDOW_FULLSCREEN 
UWAC_WINDOW_ACTIVATED 

◆ UwacReturnCode

error codes

Enumerator
UWAC_SUCCESS 
UWAC_ERROR_NOMEMORY 
UWAC_ERROR_UNABLE_TO_CONNECT 
UWAC_ERROR_INVALID_DISPLAY 
UWAC_NOT_ENOUGH_RESOURCES 
UWAC_TIMEDOUT 
UWAC_NOT_FOUND 
UWAC_ERROR_CLOSED 
UWAC_ERROR_INTERNAL 
UWAC_ERROR_LAST 

Function Documentation

◆ UwacClipboardDataGet()

UWAC_API void* UwacClipboardDataGet ( UwacSeat *  seat,
const char *  mime,
size_t *  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacClipboardOfferAnnounce()

UWAC_API UwacReturnCode UwacClipboardOfferAnnounce ( UwacSeat *  seat,
void *  context,
UwacDataTransferHandler  transfer,
UwacCancelDataTransferHandler  cancel 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacClipboardOfferCreate()

UWAC_API UwacReturnCode UwacClipboardOfferCreate ( UwacSeat *  seat,
const char *  mime 
)
Here is the caller graph for this function:

◆ UwacClipboardOfferDestroy()

UWAC_API UwacReturnCode UwacClipboardOfferDestroy ( UwacSeat *  seat)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacCloseDisplay()

UWAC_API UwacReturnCode UwacCloseDisplay ( UwacDisplay **  pdisplay)
 closes the corresponding UwacDisplay
Parameters
pdisplaya pointer on the display to close
Returns
UWAC_SUCCESS if the operation was successful, the corresponding error otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacCreateWindowShm()

UWAC_API UwacWindow* UwacCreateWindowShm ( UwacDisplay *  display,
uint32_t  width,
uint32_t  height,
enum wl_shm_format  format 
)
    creates a window using a SHM surface
Parameters
displaythe display to attach the window to
widththe width of the window
heightthe heigh of the window
formatformat to use for the SHM surface
Returns
the created UwacWindow, NULL if something failed (use UwacDisplayGetLastError() to know more about this)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacDestroyWindow()

UWAC_API UwacReturnCode UwacDestroyWindow ( UwacWindow **  window)
 destroys the corresponding UwacWindow
Parameters
windowa pointer on the UwacWindow to destroy
Returns
if the operation completed successfully
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacDisplayDispatch()

UWAC_API int UwacDisplayDispatch ( UwacDisplay *  display,
int  timeout 
)

Dispatch the display

Parameters
displayThe display to dispatch
timeoutThe maximum time to wait in milliseconds (-1 == infinite).
Returns
1 for success, 0 if display not running, -1 on failure
Here is the caller graph for this function:

◆ UwacDisplayGetFd()

UWAC_API int UwacDisplayGetFd ( UwacDisplay *  display)

Returns the file descriptor associated with the UwacDisplay, this is useful when you want to poll that file descriptor for activity.

Parameters
displayan opened UwacDisplay
Returns
the corresponding descriptor
Here is the caller graph for this function:

◆ UwacDisplayGetLastError()

UWAC_API UwacReturnCode UwacDisplayGetLastError ( const UwacDisplay *  display)

returns the last error that occurred on a display

Parameters
displaythe display
Returns
the last error that have been set for this display

◆ UwacDisplayGetNbOutputs()

UWAC_API uint32_t UwacDisplayGetNbOutputs ( const UwacDisplay *  display)
 returns the number of registered outputs
Parameters
displaythe display to query
Returns
the number of outputs
Here is the caller graph for this function:

◆ UwacDisplayGetOutput()

UWAC_API const UwacOutput* UwacDisplayGetOutput ( UwacDisplay *  display,
int  index 
)
    retrieve a particular UwacOutput object
Parameters
displaythe display to query
indexindex of the output
Returns
the given UwacOutput, NULL if something failed (so you should query UwacDisplayGetLastError() to have the reason)
Here is the caller graph for this function:

◆ UwacDisplayQueryGetNbShmFormats()

UWAC_API uint32_t UwacDisplayQueryGetNbShmFormats ( UwacDisplay *  display)
 returns the number SHM formats that have been reported by the compositor
Parameters
displaya connected UwacDisplay
Returns
the number of SHM formats supported

◆ UwacDisplayQueryInterfaceVersion()

UWAC_API UwacReturnCode UwacDisplayQueryInterfaceVersion ( const UwacDisplay *  display,
const char *  name,
uint32_t *  version 
)

retrieves the version of a given interface

Parameters
displaythe display connection
namethe name of the interface
versionthe output variable for the version
Returns
UWAC_SUCCESS if the interface was found, UWAC_NOT_FOUND otherwise

◆ UwacDisplayQueryShmFormats()

UWAC_API UwacReturnCode UwacDisplayQueryShmFormats ( const UwacDisplay *  display,
enum wl_shm_format *  formats,
int  formats_size,
int *  filled 
)
    returns the supported ShmFormats
Parameters
displaya connected UwacDisplay
formatsa pointer on an array of wl_shm_format with enough place for formats_size items
formats_sizethe size of the formats array
filledthe number of filled entries in the formats array
Returns
UWAC_SUCCESS on success, an error otherwise
Here is the call graph for this function:

◆ UwacErrorString()

UWAC_API const char* UwacErrorString ( UwacReturnCode  error)
 Returns a human readable form of a Uwac error code
Parameters
errorthe error number
Returns
the associated string

◆ UwacHasEvent()

UWAC_API bool UwacHasEvent ( UwacDisplay *  display)
 Returns if you have some pending events, and you can UwacNextEvent() without blocking
Parameters
displaythe UwacDisplay
Returns
if there's some pending events
Here is the caller graph for this function:

◆ UwacInstallErrorHandler()

UWAC_API void UwacInstallErrorHandler ( UwacErrorHandler  handler)
 install a handler that will be called when UWAC encounter internal errors. The
 handler is supposed to answer if the execution can continue. I can also be used
 to log things.
Parameters
handlerthe error handling function to install
Here is the call graph for this function:

◆ UwacNextEvent()

UWAC_API UwacReturnCode UwacNextEvent ( UwacDisplay *  display,
UwacEvent *  event 
)

Waits until an event occurs, and when it's there copy the event from the queue to event.

Parameters
displaythe Uwac display
eventthe event to fill
Returns
if the operation completed successfully
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacOpenDisplay()

UWAC_API UwacDisplay* UwacOpenDisplay ( const char *  name,
UwacReturnCode err 
)
 Opens the corresponding wayland display, using NULL you will open the default
 display.
Parameters
namethe name of the display to open
Returns
the created UwacDisplay object
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacOutputGetPosition()

UWAC_API UwacReturnCode UwacOutputGetPosition ( const UwacOutput *  output,
UwacPosition *  pos 
)

retrieve the position of a given UwacOutput

Parameters
outputthe UwacOutput
posa pointer on the target position
Returns
UWAC_SUCCESS on success
Here is the caller graph for this function:

◆ UwacOutputGetResolution()

UWAC_API UwacReturnCode UwacOutputGetResolution ( const UwacOutput *  output,
UwacSize *  resolution 
)

retrieve the resolution of a given UwacOutput

Parameters
outputthe UwacOutput
resolutiona pointer on the
Returns
UWAC_SUCCESS on success
Here is the caller graph for this function:

◆ UwacSeatGetId()

UWAC_API UwacSeatId UwacSeatGetId ( const UwacSeat *  seat)

returns the id of the given UwacSeat

Parameters
seatthe UwacSeat
Returns
the id of the seat

◆ UwacSeatGetName()

UWAC_API const char* UwacSeatGetName ( const UwacSeat *  seat)

returns the name of the given UwacSeat

Parameters
seatthe UwacSeat
Returns
the name of the seat

◆ UwacSeatInhibitShortcuts()

UWAC_API UwacReturnCode UwacSeatInhibitShortcuts ( UwacSeat *  seat,
bool  inhibit 
)

Inhibits or restores keyboard shortcuts.

Parameters
seatThe UwacSeat to inhibit the shortcuts for
inhibitInhibit or restore keyboard shortcuts
Returns
UWAC_SUCCESS or an appropriate error code.
Here is the caller graph for this function:

◆ UwacSeatSetMouseCursor()

UWAC_API UwacReturnCode UwacSeatSetMouseCursor ( UwacSeat *  seat,
const void *  data,
size_t  length,
size_t  width,
size_t  height,
size_t  hot_x,
size_t  hot_y 
)

UwacSeatSetMouseCursor Sets the specified image as the new mouse cursor. Special values: If data == NULL && lenght == 0 the cursor is hidden, if data == NULL && length != 0 the default system cursor is used.

Parameters
seatThe UwacSeat to apply the cursor image to
dataA pointer to the image data
lengthThe size of the image data
widthThe image width in pixel
heightThe image height in pixel
hot_xThe hotspot horizontal offset in pixel
hot_yThe hotspot vertical offset in pixel
Returns
UWAC_SUCCESS if successful, an appropriate error otherwise.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacWindowAddDamage()

UWAC_API UwacReturnCode UwacWindowAddDamage ( UwacWindow *  window,
uint32_t  x,
uint32_t  y,
uint32_t  width,
uint32_t  height 
)
 sets a rectangle as dirty for the next frame of a window
Parameters
windowthe UwacWindow
xleft coordinate
ytop coordinate
widththe width of the dirty rectangle
heightthe height of the dirty rectangle
Returns
UWAC_SUCCESS on success, an Uwac error otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UwacWindowGetDrawingBuffer()

UWAC_API void* UwacWindowGetDrawingBuffer ( UwacWindow *  window)
 retrieves a pointer on the current window content to draw a frame
Parameters
windowthe UwacWindow
Returns
a pointer on the current window content
Here is the caller graph for this function:

◆ UwacWindowGetDrawingBufferGeometry()

UWAC_API UwacReturnCode UwacWindowGetDrawingBufferGeometry ( UwacWindow *  window,
UwacSize *  geometry,
size_t *  stride 
)
 returns the geometry of the given UwacWindow buffer
Parameters
windowthe UwacWindow
geometrythe geometry to fill
stridethe length of a buffer line in bytes
Returns
UWAC_SUCCESS on success, an Uwac error otherwise
Here is the caller graph for this function:

◆ UwacWindowGetGeometry()

UWAC_API UwacReturnCode UwacWindowGetGeometry ( UwacWindow *  window,
UwacSize *  geometry 
)
 returns the geometry of the given UwacWindows
Parameters
windowthe UwacWindow
geometrythe geometry to fill
Returns
UWAC_SUCCESS on success, an Uwac error otherwise

◆ UwacWindowSetAppId()

UWAC_API void UwacWindowSetAppId ( UwacWindow *  window,
const char *  app_id 
)
 Sets the app id of the UwacWindow
Parameters
windowthe UwacWindow
app_idapp id
Here is the caller graph for this function:

◆ UwacWindowSetFullscreenState()

UWAC_API UwacReturnCode UwacWindowSetFullscreenState ( UwacWindow *  window,
UwacOutput *  output,
bool  isFullscreen 
)
 Sets or unset the fact that the window is set fullscreen. After this call the
 application should get prepared to receive a configure event. The output is used
 only when going fullscreen, it is optional and not used when exiting fullscreen.
Parameters
windowthe UwacWindow
outputan optional UwacOutput to put the window fullscreen on
isFullscreenset or unset fullscreen
Returns
UWAC_SUCCESS if the operation was a success
Here is the caller graph for this function:

◆ UwacWindowSetInputRegion()

UWAC_API UwacReturnCode UwacWindowSetInputRegion ( UwacWindow *  window,
uint32_t  x,
uint32_t  y,
uint32_t  width,
uint32_t  height 
)
 Sets the region of the window that can trigger input events
Parameters
windowthe UwacWindow
xThe horizontal coordinate in pixels
yThe vertical coordinate in pixels
widthThe width of the region
heightThe height of the region
Returns
UWAC_SUCCESS on success, an error otherwise

◆ UwacWindowSetOpaqueRegion()

UWAC_API UwacReturnCode UwacWindowSetOpaqueRegion ( UwacWindow *  window,
uint32_t  x,
uint32_t  y,
uint32_t  width,
uint32_t  height 
)
 Sets the region that should be considered opaque to the compositor.
Parameters
windowthe UwacWindow
xThe horizontal coordinate in pixels
yThe vertical coordinate in pixels
widthThe width of the region
heightThe height of the region
Returns
UWAC_SUCCESS on success, an error otherwise
Here is the caller graph for this function:

◆ UwacWindowSetTitle()

UWAC_API void UwacWindowSetTitle ( UwacWindow *  window,
const char *  name 
)
 When possible (depending on the shell) sets the title of the UwacWindow
Parameters
windowthe UwacWindow
nametitle
Here is the caller graph for this function:

◆ UwacWindowSubmitBuffer()

UWAC_API UwacReturnCode UwacWindowSubmitBuffer ( UwacWindow *  window,
bool  copyContentForNextFrame 
)
    Sends a frame to the compositor with the content of the drawing buffer
Parameters
windowthe UwacWindow to refresh
copyContentForNextFrameif true the content to display is copied in the next drawing buffer
Returns
UWAC_SUCCESS if the operation was successful
Here is the call graph for this function:
Here is the caller graph for this function: