/* * Copyright 2010 Marek Olšák array_mode[level] != V_009910_ARRAY_LINEAR_GENERAL && (tex)->array_mode[level] != V_009910_ARRAY_LINEAR_ALIGNED) struct r600_surface { struct pipe_surface base; unsigned aligned_height; }; void r600_init_screen_resource_functions(struct pipe_screen *screen); /* r600_texture */ struct pipe_resource *si_texture_create(struct pipe_screen *screen, const struct pipe_resource *templ); struct pipe_resource *si_texture_from_handle(struct pipe_screen *screen, const struct pipe_resource *base, struct winsys_handle *whandle); int r600_texture_depth_flush(struct pipe_context *ctx, struct pipe_resource *texture, boolean just_create); struct r600_context; void r600_upload_const_buffer(struct r600_context *rctx, struct si_resource **rbuffer, const uint8_t *ptr, unsigned size, uint32_t *const_offset); #endif