projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8924201
)
r300g: enum r300_blitter_op is a bitmask
author
Marek Olšák
<maraeo@gmail.com>
Sat, 26 Jun 2010 15:35:56 +0000
(17:35 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 26 Jun 2010 15:35:56 +0000
(17:35 +0200)
src/gallium/drivers/r300/r300_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_blit.c
b/src/gallium/drivers/r300/r300_blit.c
index 389354c4e4a44b742d01aec1cd1c004c701494f4..c88f44bf2e65fffd0fd65de0bad0fb274fcd3875 100644
(file)
--- a/
src/gallium/drivers/r300/r300_blit.c
+++ b/
src/gallium/drivers/r300/r300_blit.c
@@
-25,11
+25,11
@@
#include "util/u_format.h"
-enum r300_blitter_op
+enum r300_blitter_op
/* bitmask */
{
- R300_CLEAR,
- R300_CLEAR_SURFACE,
- R300_COPY
+ R300_CLEAR
= 1
,
+ R300_CLEAR_SURFACE
= 2
,
+ R300_COPY
= 4
};
static void r300_blitter_begin(struct r300_context* r300, enum r300_blitter_op op)