projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b3aab0
)
Use a (much!) larger executable memory heap so that the glsl x86
author
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 10 May 2006 08:57:34 +0000
(08:57 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Wed, 10 May 2006 08:57:34 +0000
(08:57 +0000)
allocations succeed. I'm not sure this is really necessary...
src/mesa/main/execmem.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/execmem.c
b/src/mesa/main/execmem.c
index 7d498a82791f66ecbb5d96184538ad4073669296..3f4c75939d8d344e6c0234b88f563ad6ada872cd 100644
(file)
--- a/
src/mesa/main/execmem.c
+++ b/
src/mesa/main/execmem.c
@@
-47,7
+47,7
@@
#include <sys/mman.h>
#include "mm.h"
-#define EXEC_HEAP_SIZE (1
28
*1024)
+#define EXEC_HEAP_SIZE (1
0*1024
*1024)
_glthread_DECLARE_STATIC_MUTEX(exec_mutex);
@@
-85,7
+85,11
@@
_mesa_exec_malloc(GLuint size)
if (block)
addr = exec_mem + block->ofs;
-
+ else {
+ _mesa_printf("%s failed\n", __FUNCTION__);
+ exit(1);
+ }
+
_glthread_UNLOCK_MUTEX(exec_mutex);
return addr;