mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
lay base
HARK HARK HARK HARK
This commit is contained in:
@ -128,6 +128,8 @@
|
|||||||
<Unit filename="src/GPU3D_OpenGL.cpp" />
|
<Unit filename="src/GPU3D_OpenGL.cpp" />
|
||||||
<Unit filename="src/GPU3D_OpenGL_shaders.h" />
|
<Unit filename="src/GPU3D_OpenGL_shaders.h" />
|
||||||
<Unit filename="src/GPU3D_Soft.cpp" />
|
<Unit filename="src/GPU3D_Soft.cpp" />
|
||||||
|
<Unit filename="src/GPU_OpenGL.cpp" />
|
||||||
|
<Unit filename="src/GPU_OpenGL_shaders.h" />
|
||||||
<Unit filename="src/NDS.cpp" />
|
<Unit filename="src/NDS.cpp" />
|
||||||
<Unit filename="src/NDS.h" />
|
<Unit filename="src/NDS.h" />
|
||||||
<Unit filename="src/NDSCart.cpp" />
|
<Unit filename="src/NDSCart.cpp" />
|
||||||
|
@ -11,6 +11,7 @@ add_library(core STATIC
|
|||||||
CRC32.cpp
|
CRC32.cpp
|
||||||
DMA.cpp
|
DMA.cpp
|
||||||
GPU.cpp
|
GPU.cpp
|
||||||
|
GPU_OpenGL.cpp
|
||||||
GPU2D.cpp
|
GPU2D.cpp
|
||||||
GPU3D.cpp
|
GPU3D.cpp
|
||||||
GPU3D_OpenGL.cpp
|
GPU3D_OpenGL.cpp
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "NDS.h"
|
#include "NDS.h"
|
||||||
#include "GPU.h"
|
#include "GPU.h"
|
||||||
u64 vbltime;
|
|
||||||
|
|
||||||
namespace GPU
|
namespace GPU
|
||||||
{
|
{
|
||||||
|
32
src/GPU_OpenGL.cpp
Normal file
32
src/GPU_OpenGL.cpp
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2016-2019 Arisotura
|
||||||
|
|
||||||
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
melonDS is free software: you can redistribute it and/or modify it under
|
||||||
|
the terms of the GNU General Public License as published by the Free
|
||||||
|
Software Foundation, either version 3 of the License, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with melonDS. If not, see http://www.gnu.org/licenses/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include "NDS.h"
|
||||||
|
#include "GPU.h"
|
||||||
|
#include "Config.h"
|
||||||
|
#include "OpenGLSupport.h"
|
||||||
|
#include "GPU_OpenGL_shaders.h"
|
||||||
|
|
||||||
|
namespace GPU
|
||||||
|
{
|
||||||
|
|
||||||
|
// shit goes here
|
||||||
|
|
||||||
|
}
|
27
src/GPU_OpenGL_shaders.h
Normal file
27
src/GPU_OpenGL_shaders.h
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
Copyright 2016-2019 Arisotura
|
||||||
|
|
||||||
|
This file is part of melonDS.
|
||||||
|
|
||||||
|
melonDS is free software: you can redistribute it and/or modify it under
|
||||||
|
the terms of the GNU General Public License as published by the Free
|
||||||
|
Software Foundation, either version 3 of the License, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
melonDS is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along
|
||||||
|
with melonDS. If not, see http://www.gnu.org/licenses/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef GPU_OPENGL_SHADERS_H
|
||||||
|
#define GPU_OPENGL_SHADERS_H
|
||||||
|
|
||||||
|
#define kShaderHeader "#version 140"
|
||||||
|
|
||||||
|
|
||||||
|
// shader shit goes here
|
||||||
|
|
||||||
|
#endif // GPU_OPENGL_SHADERS_H
|
Reference in New Issue
Block a user