Common: Move GL classes to subdirectory
This commit is contained in:
parent
47849465d8
commit
d68f7085d6
|
@ -8,12 +8,12 @@ set(SRCS
|
|||
cd_image_cue.cpp
|
||||
cd_xa.cpp
|
||||
cd_xa.h
|
||||
gl_program.cpp
|
||||
gl_program.h
|
||||
gl_stream_buffer.cpp
|
||||
gl_stream_buffer.h
|
||||
gl_texture.cpp
|
||||
gl_texture.h
|
||||
gl/program.cpp
|
||||
gl/program.h
|
||||
gl/stream_buffer.cpp
|
||||
gl/stream_buffer.h
|
||||
gl/texture.cpp
|
||||
gl/texture.h
|
||||
jit_code_buffer.cpp
|
||||
jit_code_buffer.h
|
||||
state_wrapper.cpp
|
||||
|
|
|
@ -39,9 +39,9 @@
|
|||
<ClInclude Include="bitfield.h" />
|
||||
<ClInclude Include="cd_image.h" />
|
||||
<ClInclude Include="fifo_queue.h" />
|
||||
<ClInclude Include="gl_program.h" />
|
||||
<ClInclude Include="gl_stream_buffer.h" />
|
||||
<ClInclude Include="gl_texture.h" />
|
||||
<ClInclude Include="gl\program.h" />
|
||||
<ClInclude Include="gl\stream_buffer.h" />
|
||||
<ClInclude Include="gl\texture.h" />
|
||||
<ClInclude Include="heap_array.h" />
|
||||
<ClInclude Include="jit_code_buffer.h" />
|
||||
<ClInclude Include="state_wrapper.h" />
|
||||
|
@ -53,9 +53,9 @@
|
|||
<ClCompile Include="cd_image.cpp" />
|
||||
<ClCompile Include="cd_image_bin.cpp" />
|
||||
<ClCompile Include="cd_image_cue.cpp" />
|
||||
<ClCompile Include="gl_program.cpp" />
|
||||
<ClCompile Include="gl_stream_buffer.cpp" />
|
||||
<ClCompile Include="gl_texture.cpp" />
|
||||
<ClCompile Include="gl\program.cpp" />
|
||||
<ClCompile Include="gl\stream_buffer.cpp" />
|
||||
<ClCompile Include="gl\texture.cpp" />
|
||||
<ClCompile Include="jit_code_buffer.cpp" />
|
||||
<ClCompile Include="state_wrapper.cpp" />
|
||||
<ClCompile Include="cd_xa.cpp" />
|
||||
|
|
|
@ -5,28 +5,45 @@
|
|||
<ClInclude Include="types.h" />
|
||||
<ClInclude Include="jit_code_buffer.h" />
|
||||
<ClInclude Include="state_wrapper.h" />
|
||||
<ClInclude Include="gl_program.h" />
|
||||
<ClInclude Include="gl_texture.h" />
|
||||
<ClInclude Include="fifo_queue.h" />
|
||||
<ClInclude Include="cd_image.h" />
|
||||
<ClInclude Include="audio_stream.h" />
|
||||
<ClInclude Include="cd_xa.h" />
|
||||
<ClInclude Include="heap_array.h" />
|
||||
<ClInclude Include="gl_stream_buffer.h" />
|
||||
<ClInclude Include="gl\program.h">
|
||||
<Filter>gl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="gl\stream_buffer.h">
|
||||
<Filter>gl</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="gl\texture.h">
|
||||
<Filter>gl</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="jit_code_buffer.cpp" />
|
||||
<ClCompile Include="state_wrapper.cpp" />
|
||||
<ClCompile Include="gl_program.cpp" />
|
||||
<ClCompile Include="gl_texture.cpp" />
|
||||
<ClCompile Include="cd_image.cpp" />
|
||||
<ClCompile Include="audio_stream.cpp" />
|
||||
<ClCompile Include="cd_xa.cpp" />
|
||||
<ClCompile Include="cd_image_cue.cpp" />
|
||||
<ClCompile Include="cd_image_bin.cpp" />
|
||||
<ClCompile Include="gl_stream_buffer.cpp" />
|
||||
<ClCompile Include="gl\program.cpp">
|
||||
<Filter>gl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="gl\stream_buffer.cpp">
|
||||
<Filter>gl</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="gl\texture.cpp">
|
||||
<Filter>gl</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Natvis Include="bitfield.natvis" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Filter Include="gl">
|
||||
<UniqueIdentifier>{52487c57-753d-4888-ba26-ed63ab51a234}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
#include "gl_program.h"
|
||||
#include "program.h"
|
||||
#include "YBaseLib/Log.h"
|
||||
#include "YBaseLib/String.h"
|
||||
#include <array>
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include "glad.h"
|
||||
#include "types.h"
|
||||
#include "../types.h"
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#include "gl_stream_buffer.h"
|
||||
#include "stream_buffer.h"
|
||||
|
||||
namespace GL {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include "types.h"
|
||||
#include "../types.h"
|
||||
#include <glad.h>
|
||||
#include <memory>
|
||||
#include <tuple>
|
|
@ -1,4 +1,4 @@
|
|||
#include "gl_texture.h"
|
||||
#include "texture.h"
|
||||
#include "YBaseLib/Assert.h"
|
||||
#include "YBaseLib/Log.h"
|
||||
Log_SetChannel(GL);
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
#include "glad.h"
|
||||
#include "types.h"
|
||||
#include <glad.h>
|
||||
#include "../types.h"
|
||||
|
||||
namespace GL {
|
||||
class Texture
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
#include "common/gl_program.h"
|
||||
#include "common/gl_stream_buffer.h"
|
||||
#include "common/gl_texture.h"
|
||||
#include "common/gl/program.h"
|
||||
#include "common/gl/stream_buffer.h"
|
||||
#include "common/gl/texture.h"
|
||||
#include "glad.h"
|
||||
#include "gpu_hw.h"
|
||||
#include <array>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "gpu_sw.h"
|
||||
#include "YBaseLib/Log.h"
|
||||
#include "YBaseLib/Timer.h"
|
||||
#include "common/gl_texture.h"
|
||||
#include "common/gl/texture.h"
|
||||
#include "host_interface.h"
|
||||
#include "system.h"
|
||||
#include <algorithm>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include "common/gl_texture.h"
|
||||
#include "common/gl/texture.h"
|
||||
#include "gpu.h"
|
||||
#include <array>
|
||||
#include <memory>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#pragma once
|
||||
#include "YBaseLib/String.h"
|
||||
#include "YBaseLib/Timer.h"
|
||||
#include "common/gl_program.h"
|
||||
#include "common/gl_texture.h"
|
||||
#include "common/gl/program.h"
|
||||
#include "common/gl/texture.h"
|
||||
#include "core/host_interface.h"
|
||||
#include <SDL.h>
|
||||
#include <array>
|
||||
|
|
Loading…
Reference in New Issue