#include <hybris_gl_sink.h>
|
| | ~HybrisGlSink () |
| |
| const core::Signal< void > & | frame_available () const override |
| | The signal is emitted whenever a new frame is available and a subsequent call to swap_buffers will not block and return true. More...
|
| |
| bool | transformation_matrix (float *matrix) const override |
| | Queries the 4x4 transformation matrix for the current frame, placing the data into 'matrix'. More...
|
| |
| bool | swap_buffers () const override |
| | Releases the current buffer, and consumes the next buffer in the queue, making it available for consumption by consumers of this API in an implementation-specific way. Clients will usually rely on a GL texture to receive the latest buffer. More...
|
| |
Definition at line 35 of file hybris_gl_sink.h.
| core::ubuntu::media::video::HybrisGlSink::~HybrisGlSink |
( |
| ) |
|
| const core::Signal<void>& core::ubuntu::media::video::HybrisGlSink::frame_available |
( |
| ) |
const |
|
overridevirtual |
The signal is emitted whenever a new frame is available and a subsequent call to swap_buffers will not block and return true.
Implements core::ubuntu::media::video::Sink.
| bool core::ubuntu::media::video::HybrisGlSink::swap_buffers |
( |
| ) |
const |
|
overridevirtual |
Releases the current buffer, and consumes the next buffer in the queue, making it available for consumption by consumers of this API in an implementation-specific way. Clients will usually rely on a GL texture to receive the latest buffer.
Implements core::ubuntu::media::video::Sink.
| bool core::ubuntu::media::video::HybrisGlSink::transformation_matrix |
( |
float * |
matrix | ) |
const |
|
overridevirtual |
Queries the 4x4 transformation matrix for the current frame, placing the data into 'matrix'.
- Parameters
-
| matrix | [out] The destination array representing the matrix in column-major format. We expect at least 4*4 float elements in the array. |
- Returns
- true iff the data has been set. Returns false and leaves 'matrix' unchanged in case of issues.
Implements core::ubuntu::media::video::Sink.
The documentation for this class was generated from the following file:
- /build/media-hub-HHz9WM/media-hub-4.1.0+16.04.20160308.2/src/core/media/video/hybris_gl_sink.h