Home
last modified time | relevance | path

Searched refs:m_priv (Results 1 – 12 of 12) sorted by relevance

/external/libkmsxx/kms++/src/
Dconnector.cpp67 m_priv = new ConnectorPriv(); in Connector()
69 m_priv->drm_connector = drmModeGetConnector(this->card().fd(), this->id()); in Connector()
70 assert(m_priv->drm_connector); in Connector()
76 const auto& name = connector_names.at(m_priv->drm_connector->connector_type); in Connector()
77 m_fullname = name + "-" + to_string(m_priv->drm_connector->connector_type_id); in Connector()
82 drmModeFreeConnector(m_priv->drm_connector); in ~Connector()
83 delete m_priv; in ~Connector()
88 drmModeFreeConnector(m_priv->drm_connector); in refresh()
90 m_priv->drm_connector = drmModeGetConnector(this->card().fd(), this->id()); in refresh()
91 assert(m_priv->drm_connector); in refresh()
[all …]
Dplane.cpp25 m_priv = new PlanePriv(); in Plane()
26 m_priv->drm_plane = drmModeGetPlane(this->card().fd(), this->id()); in Plane()
27 assert(m_priv->drm_plane); in Plane()
32 drmModeFreePlane(m_priv->drm_plane); in ~Plane()
33 delete m_priv; in ~Plane()
38 return m_priv->drm_plane->possible_crtcs & (1 << crtc->idx()); in supports_crtc()
43 auto p = m_priv->drm_plane; in supports_format()
76 for (uint32_t crtc_mask = m_priv->drm_plane->possible_crtcs; in get_possible_crtcs()
96 auto p = m_priv->drm_plane; in get_formats()
107 return m_priv->drm_plane->crtc_id; in crtc_id()
[all …]
Dcrtc.cpp23 m_priv = new CrtcPriv(); in Crtc()
24 m_priv->drm_crtc = drmModeGetCrtc(this->card().fd(), this->id()); in Crtc()
25 assert(m_priv->drm_crtc); in Crtc()
30 drmModeFreeCrtc(m_priv->drm_crtc); in ~Crtc()
31 delete m_priv; in ~Crtc()
36 drmModeFreeCrtc(m_priv->drm_crtc); in refresh()
38 m_priv->drm_crtc = drmModeGetCrtc(this->card().fd(), this->id()); in refresh()
39 assert(m_priv->drm_crtc); in refresh()
52 auto c = m_priv->drm_crtc; in restore_mode()
145 return m_priv->drm_crtc->buffer_id; in buffer_id()
[all …]
Dencoder.cpp37 m_priv = new EncoderPriv(); in Encoder()
38 m_priv->drm_encoder = drmModeGetEncoder(this->card().fd(), this->id()); in Encoder()
39 assert(m_priv->drm_encoder); in Encoder()
44 drmModeFreeEncoder(m_priv->drm_encoder); in ~Encoder()
45 delete m_priv; in ~Encoder()
50 drmModeFreeEncoder(m_priv->drm_encoder); in refresh()
52 m_priv->drm_encoder = drmModeGetEncoder(this->card().fd(), this->id()); in refresh()
53 assert(m_priv->drm_encoder); in refresh()
58 if (m_priv->drm_encoder->crtc_id) in get_crtc()
59 return card().get_crtc(m_priv->drm_encoder->crtc_id); in get_crtc()
[all …]
Dproperty.cpp19 m_priv = new PropertyPriv(); in Property()
20 m_priv->drm_prop = drmModeGetProperty(card.fd(), id); in Property()
21 m_name = m_priv->drm_prop->name; in Property()
24 drmModePropertyPtr p = m_priv->drm_prop; in Property()
45 drmModeFreeProperty(m_priv->drm_prop); in ~Property()
46 delete m_priv; in ~Property()
56 return m_priv->drm_prop->flags & DRM_MODE_PROP_IMMUTABLE; in is_immutable()
61 return m_priv->drm_prop->flags & DRM_MODE_PROP_PENDING; in is_pending()
66 drmModePropertyPtr p = m_priv->drm_prop; in get_values()
72 drmModePropertyPtr p = m_priv->drm_prop; in get_enums()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkRenderDocUtil.cpp57 : m_priv (new RenderDocPrivate) in RenderDocUtil()
62m_priv->m_library = de::MovePtr<de::DynamicLibrary>(new de::DynamicLibrary(RENDERDOC_LIBRARY_NAME… in RenderDocUtil()
69 if (m_priv->m_library) in RenderDocUtil()
71 …::pRENDERDOC_GetAPI pGetApi = (::pRENDERDOC_GetAPI)m_priv->m_library->getFunction("RENDERDOC_GetAP… in RenderDocUtil()
72 const int ret = pGetApi(eRENDERDOC_API_Version_1_1_2, (void **)&m_priv->m_api); in RenderDocUtil()
76 m_priv->m_api->TriggerCapture(); in RenderDocUtil()
78 m_priv->m_valid = true; in RenderDocUtil()
90 if (m_priv) in ~RenderDocUtil()
92 delete m_priv; in ~RenderDocUtil()
99 return m_priv != DE_NULL && m_priv->m_valid; in isValid()
[all …]
DvkRenderDocUtil.hpp46 RenderDocPrivate * m_priv; member in vk::RenderDocUtil
/external/libkmsxx/kms++/inc/kms++/
Dencoder.h25 EncoderPriv* m_priv; variable
Dplane.h40 PlanePriv* m_priv; variable
Dproperty.h41 PropertyPriv* m_priv; variable
Dconnector.h45 ConnectorPriv* m_priv; variable
Dcrtc.h50 CrtcPriv* m_priv; variable