Searched refs:surf (Results 1 – 2 of 2) sorted by relevance
56 std::unique_ptr<GRSurfaceAdf> surf = std::unique_ptr<GRSurfaceAdf>( in Create() local61 mmap(nullptr, surf->pitch * surf->height, PROT_WRITE, MAP_SHARED, surf->fd, surf->offset); in Create()66 surf->mmapped_buffer_ = static_cast<uint8_t*>(mmapped); in Create()67 return surf; in Create()165 void MinuiBackendAdf::Sync(GRSurfaceAdf* surf) { in Sync() argument168 if (surf == nullptr) return; in Sync()170 if (surf->fence_fd >= 0) { in Sync()171 int err = sync_wait(surf->fence_fd, kWarningTimeout); in Sync()176 close(surf->fence_fd); in Sync()177 surf->fence_fd = -1; in Sync()[all …]
67 void Sync(GRSurfaceAdf* surf);