Lines Matching refs:df
25 demo::RenderSystemDrawing df; variable
76 df.Initialize(nn::os::GetDeviceMemoryAddress(), nn::os::GetDeviceMemorySize(), in SetupRenderSystem()
85 df.Finalize(); in ReleaseRenderSystem()
91 df.SetRenderTarget(NN_GX_DISPLAY0); in DrawText()
92 df.Clear(); in DrawText()
94 df.SetColor(0.0f, 0.0f, 0.5f); in DrawText()
95 df.FillRectangle( 0, 0, 399, 255 ); in DrawText()
96 df.SetColor(0.5f, 0.4f, 0.0f); in DrawText()
97 df.FillRectangle( 0, 0, 399, 40 ); in DrawText()
98 df.SetColor(0.5f, 0.0f, 0.4f); in DrawText()
99 df.FillRectangle( 0, 180, 399, 40 ); in DrawText()
100 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
101 df.DrawText( 100, 50, "** DEMO APPLICATION **" ); in DrawText()
103 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
104 df.DrawText( 30, 80, "[A] extra pad applet." ); in DrawText()
107 df.DrawText( 340, 50, "%d", loopCnt ); in DrawText()
108 df.DrawText( 340, 82, "%d", nngxCheckVSync(NN_GX_DISPLAY0) ); in DrawText()
110 df.SwapBuffers(); in DrawText()
113 df.SetRenderTarget(NN_GX_DISPLAY1); in DrawText()
114 df.Clear(); in DrawText()
116 df.SetColor(0.0f, 0.5f, 0.0f); in DrawText()
117 df.FillRectangle( 0, 0, 399, 255 ); in DrawText()
118 df.SetColor(1.0f, 1.0f, 1.0f); in DrawText()
119 df.DrawText( 80, 50, "** DEMO APPLICATION **" ); in DrawText()
121 df.SwapBuffers(); in DrawText()