projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
android: gallium/radeon: attempt to fix the android build
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
r300_defines.h
diff --git
a/src/gallium/drivers/r300/r300_defines.h
b/src/gallium/drivers/r300/r300_defines.h
index 8237c999aac4092559ca2230c790a14d41adb5c5..a2a1b791e67b6220e0f25bc5002d1d650c70c47d 100644
(file)
--- a/
src/gallium/drivers/r300/r300_defines.h
+++ b/
src/gallium/drivers/r300/r300_defines.h
@@
-28,13
+28,9
@@
#define R300_MAX_TEXTURE_LEVELS 13
#define R300_MAX_DRAW_VBO_SIZE (1024 * 1024)
#define R300_MAX_TEXTURE_LEVELS 13
#define R300_MAX_DRAW_VBO_SIZE (1024 * 1024)
-#define R300_RESOURCE_FLAG_TRANSFER PIPE_RESOURCE_FLAG_DRV_PRIV
+#define R300_RESOURCE_FLAG_TRANSFER (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
+#define R300_RESOURCE_FORCE_MICROTILING (PIPE_RESOURCE_FLAG_DRV_PRIV << 1)
-/* Tiling flags. */
-enum r300_buffer_tiling {
- R300_BUFFER_LINEAR = 0,
- R300_BUFFER_TILED,
- R300_BUFFER_SQUARETILED
-};
+#define R300_INVALID_FORMAT 0xffff
#endif
#endif