screen_create_window_buffers()

Send a request to the composition manager to add new buffers to a window.

Synopsis:

#include <screen/screen.h>
 
int screen_create_window_buffers(screen_window_t win,
                                 int count)

Since:

BlackBerry 10.0.0

Arguments:

win

The handle of the window for which the new buffers must be allocated.

count

The number of buffers to be created for this window.

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

Function Type: Flushing Execution

This function adds buffers to a window. Windows need at least one buffer in order to be visible. Buffers are created with the size of SCREEN_PROPERTY_BUFFER_SIZE as set for the window.

Returns:

0 if new buffers were created for the specified window, or -1 if an error occurred (errno is set).

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus