1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef U_TRANSFER_H
#define U_TRANSFER_H
#include "pipe/p_state.h"
struct pipe_context;
struct winsys_handle;
#ifdef __cplusplus
extern "C" {
#endif
void u_default_buffer_subdata(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned usage, unsigned offset,
unsigned size, const void *data);
void u_default_clear_buffer(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned offset, unsigned size,
const void *clear_value,
int clear_value_size);
void u_default_texture_subdata(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned level,
unsigned usage,
const struct pipe_box *box,
const void *data,
unsigned stride,
unsigned layer_stride);
void u_default_transfer_flush_region( struct pipe_context *pipe,
struct pipe_transfer *transfer,
const struct pipe_box *box);
#ifdef __cplusplus
} // extern "C" {
#endif
#endif
|