Method
WPEPlatformViewrender_buffer
Declaration [src]
gboolean
wpe_view_render_buffer (
  WPEView* view,
  WPEBuffer* buffer,
  const WPERectangle* damage_rects,
  guint n_damage_rects,
  GError** error
)
Description [src]
Render the given buffer into view.
If this function returns TRUE you must call wpe_view_buffer_rendered() when the buffer
is rendered and wpe_view_buffer_released() when it’s no longer used by the view.
Parameters
- buffer
- 
            Type: WPEBufferA WPEBufferto render.The data is owned by the caller of the function. 
- damage_rects
- 
            Type: An array of WPERectangleDamage rectangles. The argument can be NULL.The length of the array is specified in the n_damage_rectsargument.The data is owned by the caller of the function. 
- n_damage_rects
- 
            Type: guintNumber of rectangles in damage_rects.
- error
- 
            Type: GError **The return location for a recoverable error. The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will left initialized to NULLby the method if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.