Home
last modified time | relevance | path

Searched refs:MyColors (Results 1 – 18 of 18) sorted by relevance

/RvlSDK-3.2.2/build/demos/gxdemo/src/Transform/
Dtf-stitch.c34 #define Black MyColors[0]
35 #define White MyColors[5]
36 #define Red MyColors[1]
37 #define Green MyColors[2]
38 #define Blue MyColors[3]
39 #define Gray MyColors[4]
42 u32 MyColors[] ATTRIBUTE_ALIGN(32) = { variable
365 GXColor1u32(MyColors[k]); in DrawTick()
370 GXColor1u32(MyColors[k]); in DrawTick()
376 GXColor1u32(MyColors[k]); in DrawTick()
[all …]
/RvlSDK-3.2.2/build/demos/gxdemo/src/Lighting/
Dlit-basic.c48 #define Black MyColors[0]
49 #define White MyColors[1]
50 #define Red MyColors[2]
51 #define Green MyColors[3]
52 #define Blue MyColors[4]
53 #define Gray MyColors[5]
56 GXColor MyColors[] = { variable
269 GXSetChanAmbColor(GX_COLOR0, MyColors[MyAmbClr]); in DrawTick()
272 GXSetChanMatColor(GX_COLOR0A0, MyColors[MyMatClr]); in DrawTick()
Dlit-specular.c102 #define REG_AMBIENT0 MyColors[0]
103 #define REG_MATERIAL0 MyColors[1]
104 #define REG_AMBIENT1 MyColors[2]
105 #define REG_MATERIAL1 MyColors[3]
106 #define LIGHT_COLOR0 MyColors[4]
108 static GXColor MyColors[] = variable
Dlit-prelit.c107 #define REG_MATERIAL MyColors[12]
108 #define REG_AMBIENT MyColors[13]
110 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
473 MyColors[sc->lightCtrl[i].color] ); in SetLight()
537 r += bri * MyColors[col].r; in PreLighting()
538 g += bri * MyColors[col].g; in PreLighting()
539 b += bri * MyColors[col].b; in PreLighting()
Dlit-alpha.c97 #define REG_AMBIENT0 MyColors[4]
98 #define REG_MATERIAL0 MyColors[5]
99 #define REG_AMBIENT1 MyColors[6]
100 #define REG_MATERIAL1 MyColors[7]
102 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
542 GXInitLightColor(&lightCtrl[i].lobj, MyColors[lightCtrl[i].color]); in SetLight()
Dlit-dist-atn.c88 #define BLACK MyColors[2]
89 #define WHITE MyColors[3]
91 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
243 GXSetChanAmbColor(GX_COLOR0A0, MyColors[iz%2]); in DrawTick()
Dlit-multi.c100 #define REG_AMBIENT MyColors[NUM_COLORS-1]
102 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
291 GXSetArray(GX_VA_CLR0, MyColors, 4*sizeof(u8)); in DrawInit()
657 MyColors[sc->lightCtrl[i].color] ); in SetLight()
688 GXSetChanMatColor(GX_COLOR0A0, MyColors[sc->materialType + MAT_OFFSET]); in SetLight()
Dlit-atn-func.c86 #define LIGHT_COLOR MyColors[0]
87 #define REG_MATERIAL MyColors[1]
88 #define REG_AMBIENT MyColors[2]
90 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
Dlit-spot.c121 #define BLACK MyColors[4]
122 #define REG_MATERIAL MyColors[5]
123 #define REG_AMBIENT MyColors[6]
125 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
655 GXSetArray(GX_VA_CLR0, MyColors, 4 * sizeof(u8)); in DrawLightMark()
748 GXInitLightColor(&le->light[i].lobj, MyColors[le->light[i].colorIdx]); in SetLight()
Dlit-tx-alpha.c98 #define REG_MATERIAL MyColors[2]
99 #define REG_AMBIENT MyColors[3]
101 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
625 MyColors[lightCtrl[i].color] ); in SetLight()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Performance/
Dperf-sync.c35 #define Black MyColors[0]
36 #define White MyColors[1]
37 #define Red MyColors[2]
38 #define Green MyColors[3]
39 #define Blue MyColors[4]
40 #define Gray MyColors[5]
42 GXColor MyColors[] = { variable
Dperf-geo.c88 u32 MyColors[] ATTRIBUTE_ALIGN(32) = variable
526 GXSetArray(GX_VA_CLR0, MyColors, sizeof(u32)); in DrawInit()
Dperf-fill.c175 u32 MyColors[] ATTRIBUTE_ALIGN(32) = variable
579 GXSetArray(GX_VA_CLR0, MyColors, sizeof(u32)); in InitDrawState()
/RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/
Dtg-shadow2.c146 #define COL_WHITE MyColors[0]
147 #define COL_BLACK MyColors[1]
148 #define COL_AMBIENT MyColors[2]
149 #define COL_LIGHT MyColors[3]
150 #define COL_MAT0 MyColors[4]
151 #define COL_SHADOW0 MyColors[5]
152 #define COL_MAT1 MyColors[6]
153 #define COL_SHADOW1 MyColors[7]
154 #define COL_MAT2 MyColors[8]
155 #define COL_SHADOW2 MyColors[9]
[all …]
Dtg-shadow.c103 #define COL_WHITE MyColors[0]
104 #define COL_BG MyColors[1]
105 #define COL_AMBIENT MyColors[2]
106 #define COL_LIGHT MyColors[3]
107 #define COL_SHADOW MyColors[4]
108 #define COL_TORUS MyColors[5]
109 #define COL_FLOOR MyColors[6]
111 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable
Dtg-shadow3.c156 #define COL_BLACK MyColors[0]
157 #define COL_GREEN MyColors[1]
158 #define COL_RED MyColors[2]
159 #define COL_YELLOW MyColors[3]
160 #define COL_AMBIENT MyColors[4]
161 #define COL_LIGHT MyColors[5]
162 #define COL_MAT0 MyColors[6]
163 #define COL_SHADOW0 MyColors[7]
164 #define COL_MAT1 MyColors[8]
165 #define COL_SHADOW1 MyColors[9]
[all …]
Dtg-light-fx.c103 MyColorEnvObj MyColors[] ATTRIBUTE_ALIGN(32) = variable
362 sc->light.colorEnv = MyColors[sc->mode]; in DrawTick()
/RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/
Dpix-sub.c108 #define COL_WHITE MyColors[0]
109 #define COL_BG MyColors[1]
110 #define COL_AMBIENT MyColors[2]
111 #define COL_LIGHT MyColors[3]
112 #define COL_SHADOW MyColors[4]
113 #define COL_BALLS MyColors[5]
114 #define COL_FLOOR MyColors[6]
116 static GXColor MyColors[] ATTRIBUTE_ALIGN(32) = variable