Lines Matching defs:surf
552 struct lima_surface *surf = CALLOC_STRUCT(lima_surface);
554 if (!surf)
559 struct pipe_surface *psurf = &surf->base;
574 surf->tiled_w = align(psurf->width, 16) >> 4;
575 surf->tiled_h = align(psurf->height, 16) >> 4;
577 surf->reload = 0;
579 surf->reload |= PIPE_CLEAR_STENCIL;
581 surf->reload |= PIPE_CLEAR_DEPTH;
583 surf->reload |= PIPE_CLEAR_COLOR0;
585 return &surf->base;
591 struct lima_surface *surf = lima_surface(psurf);
594 FREE(surf);