Lines Matching refs:df
30 demo::RenderSystemDrawing df; variable
81 df.Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), in SetupRenderSystem()
90 df.Finalize(); in ReleaseRenderSystem()
96 df.SetRenderTarget(NN_GX_DISPLAY0); in DrawText()
97 df.Clear(); in DrawText()
99 df.SetColor(0.0f, 0.0f, 0.5f); in DrawText()
100 df.FillRectangle( 0, 0, 399, 255 ); in DrawText()
101 df.SetColor(0.5f, 0.4f, 0.0f); in DrawText()
102 df.FillRectangle( 0, 0, 399, 40 ); in DrawText()
103 df.SetColor(0.5f, 0.0f, 0.4f); in DrawText()
104 df.FillRectangle( 0, 180, 399, 40 ); in DrawText()
105 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
106 df.DrawText( 100, 50, "** DEMO APPLICATION **" ); in DrawText()
108 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
109 df.DrawText( 30, 80, "[A] Launch library applet." ); in DrawText()
112 df.DrawText( 340, 50, "%d", loopCnt ); in DrawText()
113 df.DrawText( 340, 82, "%d", nngxCheckVSync(NN_GX_DISPLAY0) ); in DrawText()
115 df.SwapBuffers(); in DrawText()
118 df.SetRenderTarget(NN_GX_DISPLAY1); in DrawText()
119 df.Clear(); in DrawText()
121 df.SetColor(0.0f, 0.5f, 0.0f); in DrawText()
122 df.FillRectangle( 0, 0, 399, 255 ); in DrawText()
123 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
124 df.DrawText( 80, 50, "** DEMO APPLICATION **" ); in DrawText()
126 df.SwapBuffers(); in DrawText()