Home
last modified time | relevance | path

Searched refs:DemoAllocator1 (Results 1 – 25 of 37) sorted by relevance

12

/RvlSDK-3.2.2/build/demos/cntdemo/src/
Dcntdemo.c69 rv = CNTInitHandle(TARGET_CONTENT, &Cnt, &DemoAllocator1); in main()
111 buffer1 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize1)); in main()
112 buffer2 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize2)); in main()
113 buffer3 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize3)); in main()
193 MEMFreeToAllocator(&DemoAllocator1, buffer1); in main()
194 MEMFreeToAllocator(&DemoAllocator1, buffer2); in main()
195 MEMFreeToAllocator(&DemoAllocator1, buffer3); in main()
Ddatatitledemo.c71 rv = CNTInitHandleTitle(DATA_TITLE_TITLEID, TARGET_CONTENT_DATA_TITLE, &Cnt, &DemoAllocator1); in main()
113 buffer1 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize1)); in main()
114 buffer2 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize2)); in main()
115 buffer3 = (u8*)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(fileSize3)); in main()
195 MEMFreeToAllocator(&DemoAllocator1, buffer1); in main()
196 MEMFreeToAllocator(&DemoAllocator1, buffer2); in main()
197 MEMFreeToAllocator(&DemoAllocator1, buffer3); in main()
Dstrapcntdemo.c179 CNTInitHandle( TARGET_CONTENT, &Cnt, &DemoAllocator1 ); in main()
207 MEMFreeToAllocator( &DemoAllocator1, MyTplObj ); in main()
252 *buffer = (TPLPalettePtr)MEMAllocFromAllocator( &DemoAllocator1, OSRoundUp32B( fileSize ) ); in LoadSIContentData()
283 uncompData = (u8*)MEMAllocFromAllocator( &DemoAllocator1, uncompSize ); in LoadTexDataLZ()
290 MEMFreeToAllocator( &DemoAllocator1, buf ); in LoadTexDataLZ()
494 MEMFreeToAllocator( &DemoAllocator1, *buffer ); in AnimTick()
/RvlSDK-3.2.2/include/
Ddemo.h71 extern MEMAllocator DemoAllocator1; // For MEM1
126 (*pal) = (TPLPalettePtr)MEMAllocFromAllocator(&DemoAllocator1, OSRoundUp32B(dfi.length)); in TPLGetPalette()
138 MEMFreeToAllocator(&DemoAllocator1, *pal); in TPLReleasePalette()
/RvlSDK-3.2.2/build/demos/gxdemo/src/DisplayList/
DDL-tf-mtx.c186 PosMtxArrayBuf[0] = (Mtx*) MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx) * NUM_CONTOUR); in DrawInit()
187 PosMtxArrayBuf[1] = (Mtx*) MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx) * NUM_CONTOUR); in DrawInit()
188 NrmMtxArrayBuf[0] = (Mtx33*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx33) * NUM_CONTOUR); in DrawInit()
189 NrmMtxArrayBuf[1] = (Mtx33*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx33) * NUM_CONTOUR); in DrawInit()
190 TexMtxArrayBuf[0] = (Mtx24*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx24) * NUM_CONTOUR); in DrawInit()
191 TexMtxArrayBuf[1] = (Mtx24*)MEMAllocFromAllocator(&DemoAllocator1, sizeof(Mtx24) * NUM_CONTOUR); in DrawInit()
383 ModelDLBuffer = MEMAllocFromAllocator(&DemoAllocator1, DL_BUFSIZE); in BuildModelDL()
DDL-geom.c214 tmpDL = MEMAllocFromAllocator(&DemoAllocator1, TMP_SIZE); in DrawInit()
221 cubeDL = MEMAllocFromAllocator(&DemoAllocator1, cubeSize); in DrawInit()
253 sphereDL = MEMAllocFromAllocator(&DemoAllocator1, sphereSize); in DrawInit()
289 listDL[i] = MEMAllocFromAllocator(&DemoAllocator1, listSize[i]); in DrawInit()
/RvlSDK-3.2.2/build/libraries/demo/src/
DDEMOInit.c85 MEMAllocator DemoAllocator1; variable
284 MEMInitAllocatorForExpHeap(&DemoAllocator1, heapHandle, 32); in DEMOConfigureMem()
334 MEMInitAllocatorForOSHeap(&DemoAllocator1, heapHandle); in DEMOConfigureMem()
DDEMOPuts.c170 extern MEMAllocator DemoAllocator1;
449 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_SJIS); in DEMOInitROMFont()
459 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_ANSI); in DEMOInitROMFont()
469 FontData = MEMAllocFromAllocator(&DemoAllocator1, OS_FONT_SIZE_UTF); in DEMOInitROMFont()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Tev/
Dtev-complex.c384 …sc->mtConfig->texMapArray = (GXTexObj*)MEMAllocFromAllocator(&DemoAllocator1, nt * sizeof(GXTexObj… in DrawInit()
505 MEMFreeToAllocator(&DemoAllocator1, mo->posArray); in CreateModel()
507 MEMFreeToAllocator(&DemoAllocator1, mo->nrmArray); in CreateModel()
509 MEMFreeToAllocator(&DemoAllocator1, mo->tcdArray); in CreateModel()
515 mo->posArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_p * sizeof(s16)); in CreateModel()
516 mo->nrmArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_n * sizeof(s16)); in CreateModel()
517 mo->tcdArray = (s16*)MEMAllocFromAllocator(&DemoAllocator1, size_t * sizeof(s16)); in CreateModel()
Dtev-outline.c175 alphaBuffer = MEMAllocFromAllocator(&DemoAllocator1, screen_wd*screen_ht*sizeof(u16)); in DrawCartoonOutline()
500 myDisplayList = MEMAllocFromAllocator(&DemoAllocator1, MYDLBUFSIZE); in myCreateModel()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Texture/
Dtex-tlut.c553 MEMFreeToAllocator(&DemoAllocator1, to->data); in CreateColorMapTexture()
561 to->data = MEMAllocFromAllocator(&DemoAllocator1, bufferSize); in CreateColorMapTexture()
634 MEMFreeToAllocator(&DemoAllocator1, to->data); in CreateSampleImgTexture()
642 to->data = MEMAllocFromAllocator(&DemoAllocator1, bufferSize); in CreateSampleImgTexture()
849 MEMFreeToAllocator(&DemoAllocator1, cmo->tlutBuffer); in LoadColorMap()
851 cmo->tlutBuffer = (u16*)MEMAllocFromAllocator(&DemoAllocator1, ciSize * sizeof(u16)); in LoadColorMap()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Indirect/
Dind-bump-st.c318 …lightMap = MEMAllocFromAllocator(&DemoAllocator1, GXGetTexBufferSize(TW, TH, LIT_TEX_FMT, FALSE, 0… in bumpMapSetup()
358 donutData = MEMAllocFromAllocator(&DemoAllocator1, size); in bumpMapSetup()
366 MEMFreeToAllocator(&DemoAllocator1, lightMap); in bumpMapSetdown()
367 MEMFreeToAllocator(&DemoAllocator1, donutData); in bumpMapSetdown()
Dind-pseudo-3d.c304 …indMap = MEMAllocFromAllocator(&DemoAllocator1, GXGetTexBufferSize(IMW, IMH, GX_TF_IA4, FALSE, 0)); in textureMapSetup()
350 MEMFreeToAllocator(&DemoAllocator1, indMap); in textureMapSetdown()
/RvlSDK-3.2.2/build/demos/cxdemo/src/
Dcx_uncompress.c126 return MEMAllocFromAllocator( &DemoAllocator1, size ); in DEMOAlloc()
135 MEMFreeToAllocator( &DemoAllocator1, mem ); in DEMOFree()
Dcx_uncompress_stream.c120 return MEMAllocFromAllocator( &DemoAllocator1, size ); in DEMOAlloc()
129 MEMFreeToAllocator( &DemoAllocator1, mem ); in DEMOFree()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Management/
Dmgt-fifo-brkpt.c293 GXInitFifoBase( fifo, MEMAllocFromAllocator(&DemoAllocator1, BIG_FIFO_SIZE), BIG_FIFO_SIZE ); in FifoInit()
Dmgt-fifo-dual.c203 GXInitFifoBase( &Fifo[1], MEMAllocFromAllocator(&DemoAllocator1, FIFO_SIZE), FIFO_SIZE ); in FifoInit()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Framebuffer/
Dfrb-zcopy.c233 sc->cTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit()
241 sc->zTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit()
/RvlSDK-3.2.2/build/demos/gxdemo/src/Lighting/
Dlit-tx-alpha.c219 sc->panel.posArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit()
221 sc->panel.normArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit()
Dlit-spot.c273 sc->panel.posArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit()
275 sc->panel.normArray = MEMAllocFromAllocator(&DemoAllocator1, PANEL_ARRAY_SIZE * sizeof(f32)); in DrawInit()
/RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/
Dtg-parabolicmap.c131 tex_buffer = (void*)MEMAllocFromAllocator(&DemoAllocator1, in DrawInit()
Dtg-spheremap.c137 tex_buffer = (void*)MEMAllocFromAllocator(&DemoAllocator1, in DrawInit()
Dtg-shadow3.c378 sc->shadowTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit()
1419 data = (u8*)MEMAllocFromAllocator(&DemoAllocator1, size); in CreateRampTex8()
1466 data = (u16*)MEMAllocFromAllocator(&DemoAllocator1, size); in CreateRampTex16()
Dspheremap.c101 *display_list = (void *)MEMAllocFromAllocator(&DemoAllocator1, dl_sz); in genMapSphere()
/RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/
Dpix-sub.c261 sc->shadowTexData = MEMAllocFromAllocator(&DemoAllocator1, size); in DrawInit()
290 MEMFreeToAllocator(&DemoAllocator1, sc->shadowTexData); in DrawShutDown()

12