| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Utility/ |
| D | demo_MemoryManager.cpp | 68 m_CurrentAddrVramA = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMA); in Initialize() 69 m_CurrentAddrVramB = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMB); in Initialize() 92 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA) - m_CurrentAddrVramA, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 94 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB) - m_CurrentAddrVramB, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 152 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 164 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Cmd/TriangleSimpleCmd/ |
| D | MemoryManager.cpp | 69 m_CurrentAddrVramA = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMA); in Initialize() 70 m_CurrentAddrVramB = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMB); in Initialize() 93 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA) - m_CurrentAddrVramA, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 95 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB) - m_CurrentAddrVramB, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 153 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 165 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
|
| D | gx_TriangleSimpleCmd.cpp | 119 nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT); in InitializeGraphics() 124 nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT); in InitializeGraphics() 132 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics() 135 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics() 141 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics() 144 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Cmd/FragmentLightingSimpleCmd/ |
| D | MemoryManager.cpp | 72 m_CurrentAddrVramA = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMA); in Initialize() 73 m_CurrentAddrVramB = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMB); in Initialize() 96 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA) - m_CurrentAddrVramA, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 98 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB) - m_CurrentAddrVramB, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 156 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 168 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
|
| D | gx_FragmentLightingSimpleCmd.cpp | 243 nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT); in InitializeGraphics() 248 nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT); in InitializeGraphics() 256 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics() 259 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics() 265 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics() 268 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in InitializeGraphics()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/EarlyDepthTestSample/ |
| D | MemoryManager.cpp | 72 m_CurrentAddrVramA = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMA); in Initialize() 73 m_CurrentAddrVramB = nn::gx::GetVramStartAddr(nn::gx::MEM_VRAMB); in Initialize() 96 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA) - m_CurrentAddrVramA, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 98 …nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB) - m_CurrentAddrVramB, nn::gx::GetVramSize(nn::gx::MEM_VR… in PrintFreeMemorySize() 156 … if (MathRoundup(m_CurrentAddrVramA, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMA)) in Allocate() 168 … if (MathRoundup(m_CurrentAddrVramB, addrAlign) + size > nn::gx::GetVramEndAddr(nn::gx::MEM_VRAMB)) in Allocate()
|
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Render/ |
| D | demo_DisplayBuffers.cpp | 29 m_Width(nn::gx::DISPLAY0_WIDTH), m_Height(nn::gx::DISPLAY0_HEIGHT), in DisplayBuffersDescription() 44 displayBuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in GetDefaultDisplay0Description() 45 displayBuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in GetDefaultDisplay0Description() 57 displayBuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in GetDefaultDisplay1Description() 58 displayBuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in GetDefaultDisplay1Description() 69 displayBuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in GetDefaultDisplay0ExtDescription() 70 displayBuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in GetDefaultDisplay0ExtDescription() 86 m_Width(nn::gx::DISPLAY0_WIDTH), m_Height(nn::gx::DISPLAY0_HEIGHT) in DisplayBuffers()
|
| D | demo_FrameBuffer.cpp | 27 m_Width(nn::gx::DISPLAY0_WIDTH), m_Height(nn::gx::DISPLAY0_HEIGHT), in RenderBufferDescription() 40 renderBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in GetDefaultDisplay0ColorDescription() 41 renderBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in GetDefaultDisplay0ColorDescription() 52 renderBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in GetDefaultDisplay0DepthStencilDescription() 53 renderBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in GetDefaultDisplay0DepthStencilDescription() 64 renderBufferDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in GetDefaultDisplay1ColorDescription() 65 renderBufferDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in GetDefaultDisplay1ColorDescription() 76 renderBufferDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in GetDefaultDisplay1DepthStencilDescription() 77 renderBufferDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in GetDefaultDisplay1DepthStencilDescription() 155 m_Width(nn::gx::DISPLAY0_WIDTH), m_Height(nn::gx::DISPLAY0_HEIGHT) in FrameBuffer()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Demo/ScreenCapture/ |
| D | TriangleSimple.cpp | 89 …nn::math::MTX44Frustum(&proj, -0.02f, 0.02f, -0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, in DrawDisplay0() 90 0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, 0.2f, 10.f); in DrawDisplay0() 129 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in DrawDisplay0AndSave() 132 …nngxDisplaybufferStorage(GL_RGB8_OES, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, NN_GX_MEM_F… in DrawDisplay0AndSave() 152 void* buf = s_AppHeap.Allocate(nn::gx::DISPLAY0_HEIGHT * nn::gx::DISPLAY0_WIDTH *3 + 54); in DrawDisplay0AndSave() 166 … nn::math::MTX44Frustum(&tmp, -0.02f, 0.02f, -0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, in DrawDisplay0AndSave() 167 0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, 0.2f, 10.f); in DrawDisplay0AndSave() 191 nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT, in DrawDisplay0AndSave()
|
| /CTR-SDK-4.2.7-SampleDemos/applet/extrapad/ |
| D | extrapad_demo.cpp | 34 colorBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 35 colorBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 42 depthStencilBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 43 depthStencilBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 59 display0BuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 60 display0BuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 70 display1BuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in SetupRenderSystem() 71 display1BuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in SetupRenderSystem()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/ |
| D | LineSimple.cpp | 95 …nn::math::MTX44Frustum(&proj, -0.02f, 0.02f, -0.02f * nn::gx::DISPLAY0_HEIGHT / nn::gx::DISPLAY0_W… in DrawFrame() 96 0.02f * nn::gx::DISPLAY0_HEIGHT / nn::gx::DISPLAY0_WIDTH, 0.1f, 100.f); in DrawFrame() 180 v[0] = (GLfloat)nn::gx::DISPLAY0_WIDTH / lwidth; in Initialize() 181 v[1] = (GLfloat)nn::gx::DISPLAY0_HEIGHT / lwidth; in Initialize() 182 v[2] = (GLfloat)nn::gx::DISPLAY0_WIDTH * nn::gx::DISPLAY0_HEIGHT; in Initialize()
|
| /CTR-SDK-4.2.7-SampleDemos/cfg/coppacs/ |
| D | coppacs_demo.cpp | 53 colorBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 54 colorBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 61 depthStencilBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 62 depthStencilBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 78 display0BuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 79 display0BuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 89 display1BuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in SetupRenderSystem() 90 display1BuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in SetupRenderSystem()
|
| /CTR-SDK-4.2.7-SampleDemos/common/include/demo/Utility/ |
| D | demo_Utility.h | 49 …const f32 DISPLAY0_ASPECT = static_cast<f32>(nn::gx::CTR::DISPLAY0_HEIGHT) / static_cast<f32>(nn::… 50 …const f32 DISPLAY1_ASPECT = static_cast<f32>(nn::gx::CTR::DISPLAY1_HEIGHT) / static_cast<f32>(nn::…
|
| /CTR-SDK-4.2.7-SampleDemos/applet/swkbd/ |
| D | swkbd_demo.cpp | 39 colorBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 40 colorBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 47 depthStencilBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 48 depthStencilBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 64 display0BuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 65 display0BuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 75 display1BuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in SetupRenderSystem() 76 display1BuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in SetupRenderSystem()
|
| /CTR-SDK-4.2.7-SampleDemos/applet/erreula/ |
| D | erreula_demo.cpp | 38 colorBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 39 colorBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 46 depthStencilBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 47 depthStencilBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 63 display0BuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 64 display0BuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 74 display1BuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in SetupRenderSystem() 75 display1BuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in SetupRenderSystem()
|
| /CTR-SDK-4.2.7-SampleDemos/applet/voicesel/ |
| D | voicesel_demo.cpp | 62 colorBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 63 colorBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 70 depthStencilBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 71 depthStencilBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 87 display0BuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 88 display0BuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 98 display1BuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in SetupRenderSystem() 99 display1BuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in SetupRenderSystem()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Fog/ |
| D | Fog.cpp | 292 glViewport(0, 0, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT); in DrawScene() 297 glScissor(0, 0, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT / 2); in DrawScene() 308 glScissor(0, nn::gx::DISPLAY0_HEIGHT / 2, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT / 2); in DrawScene() 375 glViewport(0, 0, nn::gx::DISPLAY0_WIDTH, nn::gx::DISPLAY0_HEIGHT); in Initialize() 419 …::MTX44Perspective(&proj, 65.0f, static_cast<f32>(nn::gx::DISPLAY0_WIDTH) / static_cast<f32>(nn::g… in Initialize()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/ |
| D | Gas.h | 37 #define DISPLAY_WIDTH (nn::gx::DISPLAY0_WIDTH) 38 #define DISPLAY_HEIGHT (nn::gx::DISPLAY0_HEIGHT)
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/ |
| D | Gas.h | 37 #define DISPLAY_WIDTH (nn::gx::DISPLAY0_WIDTH) 38 #define DISPLAY_HEIGHT (nn::gx::DISPLAY0_HEIGHT)
|
| /CTR-SDK-4.2.7-SampleDemos/demo1/ |
| D | OMakefile | 34 gx.cpp 60 SHADER_INCLUDES += ../gx/DMPGL/Common
|
| D | gx.cpp | 141 …nn::math::MTX44Frustum(&proj, -0.02f, 0.02f, -0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, in DrawFrame() 142 0.02f*nn::gx::DISPLAY0_HEIGHT/nn::gx::DISPLAY0_WIDTH, 0.2f, 10.f); in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/demo1/DemoVersion/ |
| D | OMakefile | 32 ../gx.cpp 53 SHADER_INCLUDES += ../../gx/DMPGL/Common
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/ |
| D | Gas.h | 22 #define GAS_ACC_WIDTH (nn::gx::DISPLAY0_WIDTH) 23 #define GAS_ACC_HEIGHT (nn::gx::DISPLAY0_HEIGHT)
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysGas/ |
| D | Gas.h | 23 #define GAS_ACC_WIDTH (nn::gx::DISPLAY0_WIDTH) 24 #define GAS_ACC_HEIGHT (nn::gx::DISPLAY0_HEIGHT)
|
| /CTR-SDK-4.2.7-SampleDemos/applet/phtsel/ |
| D | phtsel_demo.cpp | 231 colorBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 232 colorBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 239 depthStencilBufferDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 240 depthStencilBufferDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 256 display0BuffersDesc.m_Width = nn::gx::DISPLAY0_WIDTH; in SetupRenderSystem() 257 display0BuffersDesc.m_Height = nn::gx::DISPLAY0_HEIGHT; in SetupRenderSystem() 267 display1BuffersDesc.m_Width = nn::gx::DISPLAY1_WIDTH; in SetupRenderSystem() 268 display1BuffersDesc.m_Height = nn::gx::DISPLAY1_HEIGHT; in SetupRenderSystem()
|