changeset 1137:068c1af8c7a9 draft

merge
author Yutaka_Kinjyo
date Thu, 17 Feb 2011 10:55:53 +0900
parents f326494ffdc7 (current diff) 8142e652ea4c (diff)
children 8e494f602e45
files Renderer/Engine/Makefile.def
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/Makefile.def	Thu Feb 17 10:50:40 2011 +0900
+++ b/Renderer/Engine/Makefile.def	Thu Feb 17 10:55:53 2011 +0900
@@ -5,7 +5,8 @@
 ABIBIT = 64 
 ABI = -m$(ABIBIT)
 CC      = g++
-OPT	=  -g #-O9 
+OPT	=  -g 
+
 CFLAGS  = -Wall $(ABI) $(OPT)  #  -DDEBUG
 
 INCLUDE = -I$(CERIUM)/include/TaskManager -I.
--- a/Renderer/Engine/TextureHash.cc	Thu Feb 17 10:50:40 2011 +0900
+++ b/Renderer/Engine/TextureHash.cc	Thu Feb 17 10:55:53 2011 +0900
@@ -2,12 +2,10 @@
 #include <stdlib.h>
 #include "TextureHash.h"
 
-static int id_count;
-
 TextureHash::TextureHash(void)
 {
+	id_count = 0;
     int size = sizeof(hashtable)*TABLE_SIZE;
-
 #if defined(__SPU__) || ! defined(HAS_POSIX_MEMALIGN)
         table =  (hashtable*)malloc(size);
 #else
--- a/Renderer/Engine/TextureHash.h	Thu Feb 17 10:50:40 2011 +0900
+++ b/Renderer/Engine/TextureHash.h	Thu Feb 17 10:55:53 2011 +0900
@@ -10,6 +10,7 @@
 
 class TextureHash {
 public:
+	int id_count;
     hashtable *table;
 
     TextureHash(void);
--- a/TaskManager/kernel/schedule/Scheduler.h	Thu Feb 17 10:50:40 2011 +0900
+++ b/TaskManager/kernel/schedule/Scheduler.h	Thu Feb 17 10:55:53 2011 +0900
@@ -12,7 +12,7 @@
 #include "MemHash.h"
 
 
-#define MAX_USER_TASK 32
+#define MAX_USER_TASK 100
 #define MAX_SYSTEM_TASK 2
 #define MAX_TASK_OBJECT MAX_USER_TASK + MAX_SYSTEM_TASK
 #define MAX_GLOBAL_AREA 32