projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
st/va: add huffman table handling for MJPEG
[mesa.git]
/
src
/
gallium
/
state_trackers
/
dri
/
dri2_buffer.h
1
#ifndef DRI2_BUFFER_H
2
#define DRI2_BUFFER_H
3
4
#include
"dri_util.h"
5
6
struct
pipe_surface
;
7
8
struct
dri2_buffer
9
{
10
__DRIbuffer base
;
11
struct
pipe_resource
*
resource
;
12
};
13
14
static
inline
struct
dri2_buffer
*
15
dri2_buffer
(
__DRIbuffer
*
driBufferPriv
)
16
{
17
return
(
struct
dri2_buffer
*)
driBufferPriv
;
18
}
19
20
#endif
21
22
/* vim: set sw=3 ts=8 sts=3 expandtab: */