Home
last modified time | relevance | path

Searched refs:demoApp (Results 1 – 16 of 16) sorted by relevance

/NW4C-2.0.3/demos/lyt/locationAdjust/sources/
Dmain.cpp171 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
172 demoApp.Initialize(); in nnMain()
174 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
178 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
210 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
260 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
262 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
266 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
277 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
279 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/archiveFont/sources/
Dmain.cpp185 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
186 demoApp.Initialize(); in nnMain()
188 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
192 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
208 … ReadArchiveFont(pArchiveFont , NW_DEMO_FILE_PATH(L"sample.bcfna"), demoApp.GetDeviceAllocator()); in nnMain()
231 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
256 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
258 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
260 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
271 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/multiArc/sources/
Dmain.cpp161 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
162 demoApp.Initialize(); in nnMain()
164 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
167 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout1.arc"), 128); in nnMain()
171 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout2.arc"), 128); in nnMain()
175 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout3.arc"), 128); in nnMain()
217 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
242 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
245 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
247 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/simple/sources/
Dmain.cpp242 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
243 demoApp.Initialize(); in nnMain()
246 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
252 if (!fileLayout.Read(NW_DEMO_FILE_PATH(L"layout.arc"), demoApp.GetDeviceAllocator())) in nnMain()
293 if (!file.Read(resourcePath, demoApp.GetAllocator())) in nnMain()
314 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
316 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
320 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
329 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
331 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/texVram/sources/
Dmain.cpp209 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
210 demoApp.Initialize(); in nnMain()
212 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
218 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
251 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
276 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
278 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
280 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
291 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
293 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/extUserData/sources/
Dmain.cpp216 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
217 demoApp.Initialize(); in nnMain()
219 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
225 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
263 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
288 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
290 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
292 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
303 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
305 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/perspective/sources/
Dmain.cpp222 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
223 demoApp.Initialize(); in nnMain()
225 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
229 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
273 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
308 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
310 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
312 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
333 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
335 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/group/sources/
Dmain.cpp156 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
157 demoApp.Initialize(); in nnMain()
159 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
163 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
195 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
271 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
273 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
275 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
286 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
288 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/simple2/sources/
Dmain.cpp155 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
156 demoApp.Initialize(); in nnMain()
158 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
162 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
256 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
284 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
286 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
288 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
299 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
301 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/font/ResFont/sources/
Dmain.cpp453 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
455 demoApp.Initialize(); in nnMain()
481 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
483 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
485 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
487 … DrawAscii(&drawer, pDrawStringBuf0, &font, demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
490 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
492 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
494 InitDraw(demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
496 … DrawCounter(&drawer, pDrawStringBuf1, &font, demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
[all …]
/NW4C-2.0.3/demos/font/OldResFont/sources/
Dmain.cpp325 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
327 demoApp.Initialize(); in nnMain()
349 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
351 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
355 demoApp.DISPLAY0_WIDTH, in nnMain()
356 demoApp.DISPLAY0_HEIGHT); in nnMain()
360 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
362 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
366 demoApp.DISPLAY1_WIDTH, in nnMain()
367 demoApp.DISPLAY1_HEIGHT); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/bounding/sources/
Dmain.cpp201 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
202 demoApp.Initialize(); in nnMain()
204 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
210 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
277 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
310 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
312 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
314 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
361 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
363 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/font/ArchiveFont/sources/
Dmain.cpp532 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
534 demoApp.Initialize(); in nnMain()
567 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
569 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
571 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
577 demoApp.DISPLAY0_WIDTH, in nnMain()
578 demoApp.DISPLAY0_HEIGHT, in nnMain()
582 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
584 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
586 InitDraw(demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
[all …]
/NW4C-2.0.3/demos/font/PackedFont/sources/
Dmain.cpp487 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
489 demoApp.Initialize(); in nnMain()
519 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
521 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
522 SetupTextCamera(textWriterResource, demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
526 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
528 glBindFramebuffer(GL_FRAMEBUFFER, demoApp.GetFrameBufferObject()); in nnMain()
529 SetupTextCamera(textWriterResource, demoApp.DISPLAY1_WIDTH, demoApp.DISPLAY1_HEIGHT); in nnMain()
533 demoApp.SwapBuffer(demoApp.DISPLAY_BOTH); in nnMain()
/NW4C-2.0.3/demos/lyt/animShare/sources/
Dmain.cpp388 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
389 demoApp.Initialize(); in nnMain()
391 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
397 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
450 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
478 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
480 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
482 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
511 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
513 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]
/NW4C-2.0.3/demos/lyt/tagGroupBind/sources/
Dmain.cpp334 nw::demo::SimpleApp& demoApp = nw::demo::SimpleApp::GetInstance(); in nnMain() local
335 demoApp.Initialize(); in nnMain()
337 nw::lyt::Initialize(&demoApp.GetAllocator(), &demoApp.GetDeviceAllocator()); in nnMain()
343 &demoApp.GetDeviceAllocator(), NW_DEMO_FILE_PATH(L"layout.arc"), 128); in nnMain()
421 File file = nw::demo::Utility::LoadFile(&demoApp.GetAllocator(), resourcePath); in nnMain()
449 demoApp.SetRenderingTarget(demoApp.DISPLAY0); in nnMain()
451 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
453 InitDraw(demoApp.DISPLAY0_WIDTH, demoApp.DISPLAY0_HEIGHT); in nnMain()
501 demoApp.SetRenderingTarget(demoApp.DISPLAY1); in nnMain()
503 demoApp.GetFrameBufferObject().ClearBuffer(clearColor, clearDepth); in nnMain()
[all …]