Mir
|
#include <egl_output.h>
Public Member Functions | |
EGLOutput (int drm_fd, EGLDisplay dpy, EGLOutputPortEXT connector) | |
~EGLOutput () noexcept(false) | |
void | reset () |
void | configure (size_t kms_mode_index) |
geometry::Size | size () const |
int | max_refresh_rate () const |
EGLOutputLayerEXT | output_layer () const |
void | clear_crtc () |
void | set_power_mode (MirPowerMode mode) |
![]() | |
geometry::Rectangle | extents () const |
The logical rectangle occupied by the output, based on its position, current mode and orientation (rotation) More... | |
bool | valid () const |
Additional Inherited Members | |
![]() | |
DisplayConfigurationOutputId | id |
The output's id. More... | |
DisplayConfigurationCardId | card_id |
The id of the card the output is connected to. More... | |
DisplayConfigurationOutputType | type |
The type of the output. More... | |
std::vector< MirPixelFormat > | pixel_formats |
The pixel formats supported by the output. More... | |
std::vector< DisplayConfigurationMode > | modes |
The modes supported by the output. More... | |
uint32_t | preferred_mode_index |
The index in the 'modes' vector of the preferred output mode. More... | |
geometry::Size | physical_size_mm |
The physical size of the output. More... | |
bool | connected |
Whether the output is connected. More... | |
bool | used |
Whether the output is used in the configuration. More... | |
geometry::Point | top_left |
The top left point of this output in the virtual coordinate space. More... | |
uint32_t | current_mode_index |
The index in the 'modes' vector of the current output mode. More... | |
MirPixelFormat | current_format |
The current output pixel format. More... | |
MirPowerMode | power_mode |
Current power mode. More... | |
MirOrientation | orientation |
float | scale |
Requested scale factor for this output, for HiDPI support. More... | |
MirFormFactor | form_factor |
Form factor of this output; phone display, tablet, monitor, TV, projector... More... | |
mir::graphics::eglstream::kms::EGLOutput::EGLOutput | ( | int | drm_fd, |
EGLDisplay | dpy, | ||
EGLOutputPortEXT | connector | ||
) |
|
noexcept |
void mir::graphics::eglstream::kms::EGLOutput::clear_crtc | ( | ) |
void mir::graphics::eglstream::kms::EGLOutput::configure | ( | size_t | kms_mode_index | ) |
int mir::graphics::eglstream::kms::EGLOutput::max_refresh_rate | ( | ) | const |
EGLOutputLayerEXT mir::graphics::eglstream::kms::EGLOutput::output_layer | ( | ) | const |
void mir::graphics::eglstream::kms::EGLOutput::reset | ( | ) |
void mir::graphics::eglstream::kms::EGLOutput::set_power_mode | ( | MirPowerMode | mode | ) |
geometry::Size mir::graphics::eglstream::kms::EGLOutput::size | ( | ) | const |
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016