1 /* 2 * Copyright 2008 Corbin Simpson <[email protected]> 3 * Copyright 2010 Marek Olšák <[email protected]> 4 * SPDX-License-Identifier: MIT 5 */ 6 7 #ifndef R300_TRANSFER 8 #define R300_TRANSFER 9 10 #include "pipe/p_context.h" 11 12 struct r300_context; 13 14 void * 15 r300_texture_transfer_map(struct pipe_context *ctx, 16 struct pipe_resource *texture, 17 unsigned level, 18 unsigned usage, 19 const struct pipe_box *box, 20 struct pipe_transfer **transfer); 21 22 void 23 r300_texture_transfer_unmap(struct pipe_context *ctx, 24 struct pipe_transfer *transfer); 25 26 27 #endif 28