Home
last modified time | relevance | path

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

/RvlSDK-3.2/build/demos/gxdemo/src/Culling/
Dcul-viewport.c47 u32 screen_wd; member
103 myScene.screen_wd = rmp->fbWidth; in main()
105 myViewPort.width = (s16) myScene.screen_wd; in main()
107 myScissor.width = (u16) myScene.screen_wd; 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()
267 myView[i].xorg *= (s16) (s->screen_wd / 8); in ControlInit()
269 myView[i].width *= (s16) (s->screen_wd / 8); in ControlInit()
[all …]
Dcul-faces.c42 u32 screen_wd; member
115 myGlobal.screen_wd = rmp->fbWidth; in main()
120 myViewPort[i].xorg *= myGlobal.screen_wd/2; in main()
122 myViewPort[i].width *= myGlobal.screen_wd/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-3.2/build/demos/gxdemo/src/Tev/
Dtev-outline.c90 u16 screen_wd; variable
128 screen_wd = rmp->fbWidth; 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()
183 MTXRowCol(texMtx1, 0, 3) = 1.0f / (f32)screen_wd; 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()
260 GXPosition3f32((f32) screen_wd, 0.0F, zMid); in DrawCartoonOutline()
262 GXPosition3f32((f32) screen_wd, (f32) screen_ht, zMid); in DrawCartoonOutline()
[all …]
/RvlSDK-3.2/build/demos/gxdemo/src/TexGen/
Dtg-shadow.c82 u16 screen_wd; member
205 sc->screen_wd = rmp->fbWidth; in DrawInit()
352 GXSetViewport(0, 0, sc->screen_wd, sc->screen_ht, 0.0F, 1.0F); in DrawTick()
Dtg-shadow3.c122 u16 screen_wd; member
329 sc->screen_wd = rmp->fbWidth; 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()