Home | History | Annotate | Download | only in base

Lines Matching refs:device

71         WTRACE("vsync control on non-primary device %d", disp);
152 IDisplayDevice *device = NULL;
154 device = getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL);
155 if (device && device->isConnected()) {
161 device = getDisplayDevice(IDisplayDevice::DEVICE_VIRTUAL);
162 if (device && device->isConnected()) {
165 WTRACE("Could not use vsync from secondary device");
177 IDisplayDevice *device = getDisplayDevice(candidate);
178 if (!device) {
183 if (device->vsyncControl(true)) {
190 device = getDisplayDevice(IDisplayDevice::DEVICE_PRIMARY);
191 if (device && device->vsyncControl(true)) {
207 IDisplayDevice *device = getDisplayDevice(mVsyncSource);
208 if (device && !device->vsyncControl(false)) {
209 WTRACE("failed to disable vsync on device %d", mVsyncSource);