Searched refs:GetUserData (Results 1 – 2 of 2) sorted by relevance
49 Surface::Region* region = GetUserData<Surface::Region>(region_resource); in region_add()92 GetUserData<Surface>(surface)->Attach(buffer); in surface_attach()120 Surface* surface = GetUserData<Surface>(surface_resource); in surface_set_opaque_region()121 Surface::Region* region = GetUserData<Surface::Region>(region_resource); in surface_set_opaque_region()138 GetUserData<Surface>(surface_resource)->Commit(); in surface_commit()193 Surface* surface = GetUserData<Surface>(compositor); in compositor_create_surface()
29 T* GetUserData(wl_resource* resource) { in GetUserData() function38 std::unique_ptr<T> data(GetUserData<T>(resource)); in DestroyUserData()