/external/chromium_org/ui/ozone/platform/dri/ |
crtc_state.cc | 12 uint32_t crtc, 15 crtc_(crtc), 17 saved_crtc_(drm->GetCrtc(crtc)),
|
crtc_state.h | 16 // Represents the state of a CRTC. 18 // One CRTC can be paired up with one or more connectors. The simplest 19 // configuration represents one CRTC driving one monitor, while pairing up a 20 // CRTC with multiple connectors results in hardware mirroring. 23 CrtcState(DriWrapper* drm, uint32_t crtc, uint32_t connector); 26 uint32_t crtc() const { return crtc_; } function in class:ui::CrtcState 40 // Store the state of the CRTC before we took over. Used to restore the CRTC 44 // Keeps track of the CRTC state. If a surface has been bound, then the value
|
screen_manager.h | 34 void AddDisplayController(uint32_t crtc, uint32_t connector); 38 void RemoveDisplayController(uint32_t crtc); 41 // (|crtc|, |connector|) and the controller is modeset using |mode|. 42 bool ConfigureDisplayController(uint32_t crtc, 47 // Disable the display controller identified by |crtc|. Note, the controller 49 bool DisableDisplayController(uint32_t crtc); 69 // (|crtc|, |connector|). 70 HardwareDisplayControllers::iterator FindDisplayController(uint32_t crtc); 82 // Tries to set the controller identified by (|crtc|, |connector|) to mirror 87 uint32_t crtc, [all...] |
screen_manager.cc | 27 void ScreenManager::AddDisplayController(uint32_t crtc, uint32_t connector) { 28 HardwareDisplayControllers::iterator it = FindDisplayController(crtc); 34 LOG(WARNING) << "Display controller (crtc=" << crtc << ") already present."; 39 dri_, scoped_ptr<CrtcState>(new CrtcState(dri_, crtc, connector)))); 42 void ScreenManager::RemoveDisplayController(uint32_t crtc) { 43 HardwareDisplayControllers::iterator it = FindDisplayController(crtc); 46 (*it)->RemoveCrtc(crtc); 52 bool ScreenManager::ConfigureDisplayController(uint32_t crtc, 58 HardwareDisplayControllers::iterator it = FindDisplayController(crtc); [all...] |
dri_util.h | 21 ScopedDrmCrtcPtr crtc); 25 drmModeCrtc* crtc() const { return crtc_.get(); } function in class:ui::HardwareDisplayControllerInfo
|
scoped_drm_types.cc | 19 void DrmCrtcDeleter::operator()(drmModeCrtc* crtc) const { 20 drmModeFreeCrtc(crtc);
|
hardware_display_controller.cc | 133 drm_->DisableCrtc(crtc_states_[i]->crtc()); 200 crtc_states_[i]->crtc(), buffer->GetHandle(), buffer->GetSize()); 210 status &= drm_->SetCursor(crtc_states_[i]->crtc(), 0, gfx::Size()); 221 status &= drm_->MoveCursor(crtc_states_[i]->crtc(), location); 231 scoped_ptr<CrtcState> HardwareDisplayController::RemoveCrtc(uint32_t crtc) { 235 if ((*it)->crtc() == crtc) { 245 bool HardwareDisplayController::HasCrtc(uint32_t crtc) const { 247 if (crtc_states_[i]->crtc() == crtc) [all...] |
dri_util.cc | 18 bool IsCrtcInUse(uint32_t crtc, 21 if (crtc == displays[i]->crtc()->crtc_id) 46 // Check if the encoder is compatible with this CRTC 62 ScopedDrmCrtcPtr crtc) 64 crtc_(crtc.Pass()) {} 86 ScopedDrmCrtcPtr crtc(drmModeGetCrtc(fd, crtc_id)); 88 crtc.Pass()));
|
dri_wrapper.cc | 94 "crtc", 107 bool DriWrapper::SetCrtc(drmModeCrtc* crtc, std::vector<uint32_t> connectors) { 109 // If there's no buffer then the CRTC was disabled. 110 if (!crtc->buffer_id) 111 return DisableCrtc(crtc->crtc_id); 116 "crtc", crtc->crtc_id); 118 crtc->crtc_id, 119 crtc->buffer_id, 120 crtc->x [all...] |
hardware_display_controller.h | 54 // to display an image to the monitor: CRTC (cathode ray tube controller), 55 // encoder and connector. The CRTC determines which framebuffer to read, when 56 // to scanout and where to scanout. Encoders converts the stream from the CRTC 62 // multiple encoders. In addition, it is possible to use one CRTC with multiple 83 // same CRTC, so on scanout the same framebuffer will be displayed on both 103 // connectors active if some use the same CRTC to mirror the display. 112 // Performs the initial CRTC configuration. If successful, it will display the 117 // Reconfigures the CRTC with the current surface and mode. 120 // Disables the CRTC. 166 scoped_ptr<CrtcState> RemoveCrtc(uint32_t crtc); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
xorg_crtc.c | 73 crtc_dpms(xf86CrtcPtr crtc, int mode) 75 /* ScrnInfoPtr pScrn = crtc->scrn; */ 88 crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, 91 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); 92 modesettingPtr ms = modesettingPTR(crtc->scrn); 94 struct crtc_private *crtcp = crtc->driver_private; 103 if (output->crtc == crtc) 139 if (!crtc->active && crtc->version >= 3 412 xf86CrtcPtr crtc; local [all...] |
xorg_driver.c | 231 * create && bind will turn off all crtc(s) in the kernel so we need to 236 xf86CrtcPtr crtc = xf86_config->crtc[i]; local 238 if (!crtc->enabled) 241 crtc->funcs->set_mode_major(crtc, &crtc->mode, crtc->rotation, crtc->x, crtc->y) 729 xf86CrtcPtr crtc = xf86_config->crtc[c]; local 900 xf86CrtcPtr crtc = output->crtc; local 930 xf86CrtcPtr crtc = config->crtc[o]; local [all...] |
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_crtc.c | 73 crtc_dpms(xf86CrtcPtr crtc, int mode) 75 /* ScrnInfoPtr pScrn = crtc->scrn; */ 88 crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, 91 xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(crtc->scrn); 92 modesettingPtr ms = modesettingPTR(crtc->scrn); 94 struct crtc_private *crtcp = crtc->driver_private; 103 if (output->crtc == crtc) 139 if (!crtc->active && crtc->version >= 3 412 xf86CrtcPtr crtc; local [all...] |
xorg_driver.c | 231 * create && bind will turn off all crtc(s) in the kernel so we need to 236 xf86CrtcPtr crtc = xf86_config->crtc[i]; local 238 if (!crtc->enabled) 241 crtc->funcs->set_mode_major(crtc, &crtc->mode, crtc->rotation, crtc->x, crtc->y) 729 xf86CrtcPtr crtc = xf86_config->crtc[c]; local 900 xf86CrtcPtr crtc = output->crtc; local 930 xf86CrtcPtr crtc = config->crtc[o]; local [all...] |
/external/chromium_org/ui/ozone/platform/dri/chromeos/ |
display_snapshot_dri.h | 19 drmModeCrtc* crtc, 26 uint32_t crtc() const { return crtc_; } function in class:ui::DisplaySnapshotDri
|
display_snapshot_dri.cc | 63 drmModeCrtc* crtc, 67 gfx::Point(crtc->x, crtc->y), 77 crtc_(crtc->crtc_id), 102 if (crtc->mode_valid && SameMode(crtc->mode, mode)) 119 "[type=%d, connector=%" PRIu32 ", crtc=%" PRIu32 ", mode=%s, dim=%s]",
|
native_display_delegate_dri.cc | 62 snapshot_->crtc() == other->crtc()) 120 new DriConsoleBuffer(dri_, displays[0]->crtc()->buffer_id)); 164 dri_, displays[i]->connector(), displays[i]->crtc(), i); 187 VLOG(1) << "DRM configuring: crtc=" << dri_output.crtc() 194 dri_output.crtc(), 198 VLOG(1) << "Failed to configure: crtc=" << dri_output.crtc() 203 if (!screen_manager_->DisableDisplayController(dri_output.crtc())) { [all...] |
/external/chromium_org/ui/display/chromeos/x11/ |
display_snapshot_x11.cc | 25 RRCrtc crtc, 39 crtc_(crtc), 46 "[type=%d, output=%ld, crtc=%ld, mode=%ld, dim=%dx%d]",
|
display_snapshot_x11.h | 32 RRCrtc crtc, 37 RRCrtc crtc() const { return crtc_; } function in class:ui::DisplaySnapshotX11 46 // CRTC that should be used for this output. Not necessarily the CRTC
|
native_display_event_dispatcher_x11.cc | 59 << " crtc=" << output_change_event->crtc 80 if (connected && x11_output->crtc() == output_change_event->crtc &&
|
native_display_delegate_x11.cc | 209 x11_output.crtc(), mode_id, x11_output.output(), origin.x(), origin.y()); 212 bool NativeDisplayDelegateX11::ConfigureCrtc(RRCrtc crtc, 218 VLOG(1) << "ConfigureCrtc: crtc=" << crtc << " mode=" << mode 225 crtc, 233 LOG(WARNING) << "Unable to configure CRTC " << crtc << ":" 335 if (info->crtc) { 336 XRRCrtcInfo* crtc_info = XRRGetCrtcInfo(display_, screen_, info->crtc); 342 RRCrtc crtc = None local [all...] |
native_display_event_dispatcher_x11_unittest.cc | 21 DisplaySnapshotX11* CreateOutput(RROutput output, RRCrtc crtc) { 38 crtc, 105 RRCrtc crtc, 140 RRCrtc crtc, 147 event.crtc = crtc;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/drm/ |
modeset.c | 171 if (drmsurf->is_shown && drmcrtc->crtc) { 172 err = drmModePageFlip(drmdpy->fd, drmcrtc->crtc->crtc_id, 236 if (drmsurf->current_crtc.crtc) 237 drmModeFreeCrtc(drmsurf->current_crtc.crtc); 328 * Choose a CRTC that supports all given connectors. 351 /* find an encoder the CRTC supports */ 375 "failed to find a CRTC that supports the given %d connectors", 384 * Remember the original CRTC status and set the CRTC 397 if (drmcrtc->crtc) { [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
modeset.c | 171 if (drmsurf->is_shown && drmcrtc->crtc) { 172 err = drmModePageFlip(drmdpy->fd, drmcrtc->crtc->crtc_id, 236 if (drmsurf->current_crtc.crtc) 237 drmModeFreeCrtc(drmsurf->current_crtc.crtc); 328 * Choose a CRTC that supports all given connectors. 351 /* find an encoder the CRTC supports */ 375 "failed to find a CRTC that supports the given %d connectors", 384 * Remember the original CRTC status and set the CRTC 397 if (drmcrtc->crtc) { [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_screen_x11.cc | 291 if (output_info->crtc) { 292 XRRCrtcInfo *crtc = XRRGetCrtcInfo(xdisplay_, local 294 output_info->crtc); 303 gfx::Rect crtc_bounds(crtc->x, crtc->y, crtc->width, crtc->height); 311 device_scale_factor = GetDeviceScaleFactor(crtc->width, 324 switch (crtc->rotation) { 341 XRRFreeCrtcInfo(crtc); [all...] |