Home
last modified time | relevance | path

Searched refs:screen_ht (Results 1 – 5 of 5) sorted by relevance

/RvlSDK-2.1/build/demos/gxdemo/src/Culling/
Dcul-viewport.c48 u32 screen_ht; member
104 myScene.screen_ht = rmp->efbHeight; in main()
106 myViewPort.height = (s16) myScene.screen_ht; in main()
108 myScissor.height = (u16) myScene.screen_ht; in main()
161 DEMOSetupScrnSpc( (s32) s->screen_wd, (s32) s->screen_ht, 100.0f ); in SceneDraw()
206 GXSetViewport( 0, 0, (f32) s->screen_wd, (f32) s->screen_ht, in SceneDrawInfo()
208 GXSetScissor ( 0, 0, (u32) s->screen_wd, (u32) s->screen_ht ); in SceneDrawInfo()
211 DEMOInitCaption( DM_FT_XLU, (s32) s->screen_wd, (s32) s->screen_ht ); in SceneDrawInfo()
268 myView[i].yorg *= (s16) (s->screen_ht / 8); in ControlInit()
270 myView[i].height *= (s16) (s->screen_ht / 8); in ControlInit()
[all …]
Dcul-faces.c43 u32 screen_ht; member
116 myGlobal.screen_ht = rmp->efbHeight; in main()
121 myViewPort[i].yorg *= myGlobal.screen_ht/2; in main()
123 myViewPort[i].height *= myGlobal.screen_ht/2; in main()
183 GXSetViewport( 0, 0, (f32) g->screen_wd, (f32) g->screen_ht, in GlobalSceneDraw()
185 GXSetScissor( 0, 0, g->screen_wd, g->screen_ht ); in GlobalSceneDraw()
186 DEMOInitCaption( DM_FT_XLU, (s32) g->screen_wd, (s32) g->screen_ht ); in GlobalSceneDraw()
/RvlSDK-2.1/build/demos/gxdemo/src/Tev/
Dtev-outline.c91 u16 screen_ht; variable
129 screen_ht = rmp->efbHeight; in main()
175 alphaBuffer = MEMAllocFromAllocator(&DemoAllocator1, screen_wd*screen_ht*sizeof(u16)); in DrawCartoonOutline()
179 MTXOrtho(mtxProj, 0.0f, (f32) screen_ht, 0.0f, (f32) screen_wd, SCREEN_ZNEAR, SCREEN_ZFAR); in DrawCartoonOutline()
185 MTXRowCol(texMtx2, 1, 3) = 1.0f / (f32)screen_ht; in DrawCartoonOutline()
187 GXInitTexObj( &eFBTexObj, alphaBuffer, screen_wd, screen_ht, in DrawCartoonOutline()
195 GXSetTexCopySrc( 0, 0, screen_wd, screen_ht ); in DrawCartoonOutline()
196 GXSetTexCopyDst(screen_wd, screen_ht, GX_TF_A8, GX_DISABLE ); in DrawCartoonOutline()
262 GXPosition3f32((f32) screen_wd, (f32) screen_ht, zMid); in DrawCartoonOutline()
264 GXPosition3f32(0.0F, (f32) screen_ht, zMid); in DrawCartoonOutline()
[all …]
/RvlSDK-2.1/build/demos/gxdemo/src/TexGen/
Dtg-shadow.c83 u16 screen_ht; member
206 sc->screen_ht = rmp->efbHeight; in DrawInit()
352 GXSetViewport(0, 0, sc->screen_wd, sc->screen_ht, 0.0F, 1.0F); in DrawTick()
Dtg-shadow3.c123 u16 screen_ht; member
330 sc->screen_ht = rmp->efbHeight; in DrawInit()
470 GXSetViewport(0, 0, sc->screen_wd, sc->screen_ht, 0.0F, 1.0F); in DrawTick()
471 GXSetScissor(0, 0, (u32)sc->screen_wd, (u32)sc->screen_ht); in DrawTick()