Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
const struct ac_surf_info *surf_info,
struct radeon_surf *surf);
- int (*surface_best)(struct radeon_winsys *ws,
- struct radeon_surf *surf);
-
struct radeon_winsys_fence *(*create_fence)();
void (*destroy_fence)(struct radeon_winsys_fence *fence);
bool (*fence_wait)(struct radeon_winsys *ws,
return ac_compute_surface(ws->addrlib, &ws->info, &config, mode, surf);
}
-static int radv_amdgpu_winsys_surface_best(struct radeon_winsys *rws,
- struct radeon_surf *surf)
-{
- return 0;
-}
-
void radv_amdgpu_surface_init_functions(struct radv_amdgpu_winsys *ws)
{
ws->base.surface_init = radv_amdgpu_winsys_surface_init;
- ws->base.surface_best = radv_amdgpu_winsys_surface_best;
}