forked from suyu/suyu
cbfd6b6e52
Screen contents are now displayed using textured quads. This can be updated to expose an FBO once an OpenGL backend for when Pica rendering is being worked on. That FBO's texture can then be applied to the quads. Previously, FBO blitting was used in order to display screen contents, which did not work on OS X. The new textured quad approach is less of a compatibility risk.
27 lines
815 B
CMake
27 lines
815 B
CMake
set(SRCS clipper.cpp
|
|
command_processor.cpp
|
|
primitive_assembly.cpp
|
|
rasterizer.cpp
|
|
utils.cpp
|
|
vertex_shader.cpp
|
|
video_core.cpp
|
|
renderer_opengl/renderer_opengl.cpp
|
|
renderer_opengl/gl_shader_util.cpp
|
|
debug_utils/debug_utils.cpp)
|
|
|
|
set(HEADERS clipper.h
|
|
command_processor.h
|
|
math.h
|
|
primitive_assembly.h
|
|
rasterizer.h
|
|
utils.h
|
|
video_core.h
|
|
renderer_base.h
|
|
vertex_shader.h
|
|
video_core.h
|
|
renderer_opengl/renderer_opengl.h
|
|
renderer_opengl/gl_shader_util.h
|
|
renderer_opengl/gl_shaders.h
|
|
debug_utils/debug_utils.h)
|
|
|
|
add_library(video_core STATIC ${SRCS} ${HEADERS})
|