Lines Matching refs:surface
43 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) {
44 surface->OnSetAttributes(message,
47 SurfaceUpdated(surface->surface_type(),
53 // that are independent of the display surface (metrics, creation) and routes
54 // surface-specific messages to the per-instance handlers.
78 // Direct the surface specific messages to the surface instance.
109 // A surface may only be created once per channel.
116 // Use the channel id as the unique surface id.
128 ALOGE("DisplayService::OnCreateSurface: Failed to create surface: %s",
171 auto surface = std::static_pointer_cast<DisplaySurface>(message.GetChannel());
172 ALOGW_IF(!surface,
173 "DisplayService::HandleSurfaceMessage: surface is nullptr!");
175 if (surface)
176 return surface->HandleMessage(message);
197 [&](const std::shared_ptr<DisplaySurface>& surface) mutable {
198 if (surface->visible()) {
200 std::static_pointer_cast<DirectDisplaySurface>(surface));
201 surface->ClearUpdate();
256 [&visible](const std::shared_ptr<DisplaySurface>& surface) {
257 if (surface->visible())