Searched refs:screen_view (Results 1 – 6 of 6) sorted by relevance
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/ |
D | framebuffer.cpp | 84 auto screen_view = ScreenRegionView::GetInstance(); in fb_post() local 86 void* frame_buffer = screen_view->GetBuffer(frame_buffer_idx); in fb_post() 99 memcpy(frame_buffer, buffer, screen_view->buffer_size()); in fb_post() 100 screen_view->BroadcastNewFrame(frame_buffer_idx); in fb_post() 102 frame_buffer_idx = (frame_buffer_idx + 1) % screen_view->number_of_buffers(); in fb_post() 136 auto screen_view = ScreenRegionView::GetInstance(); in fb_device_open() local 139 screen_view->line_length() / screen_view->bytes_per_pixel(); in fb_device_open() 142 const_cast<uint32_t&>(dev->device.width) = screen_view->x_res(); in fb_device_open() 143 const_cast<uint32_t&>(dev->device.height) = screen_view->y_res(); in fb_device_open() 146 const_cast<float&>(dev->device.xdpi) = screen_view->dpi(); in fb_device_open() [all …]
|
/device/google/cuttlefish_common/guest/commands/vsoc_input_service/ |
D | vsoc_input_service.cpp | 67 auto screen_view = ScreenRegionView::GetInstance(); in SetUpDevices() local 68 if (!screen_view) { in SetUpDevices() 74 new VirtualTouchScreen(screen_view->x_res(), screen_view->y_res())); in SetUpDevices()
|
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc/ |
D | base_composer.cpp | 69 auto screen_view = ScreenRegionView::GetInstance(); in PostFrameBufferTarget() local 70 void* frame_buffer = screen_view->GetBuffer(fb_index); in PostFrameBufferTarget() 81 memcpy(frame_buffer, buffer, screen_view->buffer_size()); in PostFrameBufferTarget()
|
D | hwcomposer.cpp | 372 auto screen_view = ScreenRegionView::GetInstance(); local 377 return screen_view->x_res(); 379 return screen_view->y_res(); 381 ALOGI("Reporting DPI_X of %d", screen_view->dpi()); 383 return screen_view->dpi() * 1000; 385 ALOGI("Reporting DPI_Y of %d", screen_view->dpi()); 387 return screen_view->dpi() * 1000;
|
D | vsoc_composer.cpp | 347 auto screen_view = ScreenRegionView::GetInstance(); in CompositeLayer() local 348 BufferSpec dst_layer_spec(dst_buffer, screen_view->buffer_size(), in CompositeLayer() 349 screen_view->x_res(), screen_view->y_res(), in CompositeLayer() 350 screen_view->line_length()); in CompositeLayer() 379 ScreenRegionView::align(y_res * screen_view->bytes_per_pixel(), 16); in CompositeLayer() 384 x_res * screen_view->bytes_per_pixel(), 16)); in CompositeLayer() 406 src_width * screen_view->bytes_per_pixel(), 16); in CompositeLayer() 446 dst_buffer_spec.width * screen_view->bytes_per_pixel(); in CompositeLayer()
|
/device/google/cuttlefish_common/guest/hals/hwcomposer/vsoc-future/ |
D | hwcomposer.cpp | 252 auto screen_view = ScreenRegionView::GetInstance(); in vsoc_hwc_attribute() local 255 return 1000000000 / screen_view->refresh_rate_hz(); in vsoc_hwc_attribute() 257 return screen_view->x_res(); in vsoc_hwc_attribute() 259 return screen_view->y_res(); in vsoc_hwc_attribute() 263 return screen_view->dpi() * 1000; in vsoc_hwc_attribute()
|