Mir
|
#include <mir_toolkit/mir_native_buffer.h>
#include <mir_toolkit/client_types.h>
#include <mir_toolkit/deprecations.h>
Go to the source code of this file.
Functions | |
bool | mir_buffer_stream_is_valid (MirBufferStream *buffer_stream) |
Test for a valid buffer stream. More... | |
char const * | mir_buffer_stream_get_error_message (MirBufferStream *buffer_stream) |
Retrieve a text description of the error. More... | |
MirBufferStream * | mir_connection_create_buffer_stream_sync (MirConnection *connection, int width, int height, MirPixelFormat format, MirBufferUsage buffer_usage) MIR_FOR_REMOVAL_IN_VERSION_1("Use mir_render_surface_get_buffer_stream instead") |
Create a new buffer stream unattached to a surface and wait for the result. More... | |
MirWaitHandle * | mir_buffer_stream_release (MirBufferStream *buffer_stream, MirBufferStreamCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("A stream obtained through mir_render_surface_get_buffer_stream() does not need to be released.") |
Release the supplied stream and any associated buffer. More... | |
void | mir_buffer_stream_release_sync (MirBufferStream *buffer_stream) MIR_FOR_REMOVAL_IN_VERSION_1("A stream obtained through mir_render_surface_get_buffer_stream() does not need to be released.") |
Release the specified buffer stream like in mir,_buffer_stream_release(), but also wait for the operation to complete. More... | |
void | mir_buffer_stream_get_current_buffer (MirBufferStream *buffer_stream, MirNativeBuffer **buffer_package) MIR_FOR_REMOVAL_IN_VERSION_1("Use platform specific buffer extensions instead") |
Retrieve the current buffer in "raw" representation. More... | |
MirWaitHandle * | mir_buffer_stream_swap_buffers (MirBufferStream *buffer_stream, MirBufferStreamCallback callback, void *context) MIR_FOR_REMOVAL_IN_VERSION_1("For non-blocking swaps use mir_buffer_stream_swap_buffers_sync with an interval of zero." " And a client API for manual vsync will soon be available.") |
Advance a buffer stream's buffer. More... | |
void | mir_buffer_stream_swap_buffers_sync (MirBufferStream *buffer_stream) |
Advance a buffer stream's buffer as in mir_buffer stream_swap_buffers(), but also wait for the operation to complete. More... | |
bool | mir_buffer_stream_get_graphics_region (MirBufferStream *buffer_stream, MirGraphicsRegion *graphics_region) |
Retrieve a buffer stream's graphics region. More... | |
MirEGLNativeWindowType | mir_buffer_stream_get_egl_native_window (MirBufferStream *buffer_stream) MIR_FOR_REMOVAL_IN_VERSION_1("Use MirRenderSurface *as the window type") |
Retrieve a window type which may be used by EGL. More... | |
MirWaitHandle * | mir_buffer_stream_set_scale (MirBufferStream *buffer_stream, float scale) MIR_FOR_REMOVAL_IN_VERSION_1("Functionality replaced by the introduction of MirRenderSurface") |
Set the scale associated with all buffers in the stream. More... | |
MirWaitHandle * | mir_buffer_stream_set_swapinterval (MirBufferStream *stream, int interval) |
Set the swapinterval for the stream. More... | |
int | mir_buffer_stream_get_swapinterval (MirBufferStream *stream) |
Query the swapinterval that the stream is operating with. More... | |
unsigned long | mir_buffer_stream_get_microseconds_till_vblank (MirBufferStream const *stream) |
Query the approximate time interval in microseconds until the next vblank for a given buffer stream (actually the next vblank for the monitor deemed most relevant to the window using the buffer stream). More... | |
void | mir_buffer_stream_set_size (MirBufferStream *stream, int width, int height) |
Set the physical size of the buffers provided by the buffer stream. More... | |
void | mir_buffer_stream_get_size (MirBufferStream *stream, int *width, int *height) |
Get the physical size of the next buffer that will be provided by the stream. More... | |
Copyright © 2012-2021
Canonical Ltd.
Generated on Wed Mar 31 15:54:02 UTC 2021
This documentation is licensed under the GPL version 2 or 3.