projects
/
profile
/
ivi
/
osmesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tizen 2.0 Release
[profile/ivi/osmesa.git]
/
src
/
gallium
/
state_trackers
/
dri
/
drm
/
dri2_buffer.h
1
#ifndef DRI2_BUFFER_H
2
#define DRI2_BUFFER_H
3
4
#include "dri_wrapper.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: */