- moved the viewpoint buffer to hwrenderer.

This commit is contained in:
Christoph Oelckers 2018-10-28 13:26:47 +01:00
parent b51cc8b115
commit c5b3b9e107
6 changed files with 5 additions and 8 deletions

View file

@ -700,7 +700,6 @@ file( GLOB HEADER_FILES
hwrenderer/textures/*.h
hwrenderer/utility/*.h
gl/*.h
gl/data/*.h
gl/dynlights/*.h
gl/models/*.h
gl/renderer/*.h
@ -1038,7 +1037,6 @@ set (PCH_SOURCES
g_statusbar/sbarinfo.cpp
g_statusbar/sbar_mugshot.cpp
g_statusbar/shared_sbar.cpp
gl/data/gl_viewpointbuffer.cpp
gl/dynlights/gl_lightbuffer.cpp
gl/dynlights/gl_shadowmap.cpp
gl/renderer/gl_renderer.cpp
@ -1057,6 +1055,7 @@ set (PCH_SOURCES
gl/textures/gl_hwtexture.cpp
gl/textures/gl_samplers.cpp
hwrenderer/data/flatvertices.cpp
hwrenderer/data/hw_viewpointbuffer.cpp
hwrenderer/dynlights/hw_aabbtree.cpp
hwrenderer/dynlights/hw_shadowmap.cpp
hwrenderer/models/hw_models.cpp

View file

@ -57,7 +57,7 @@
#include "gl/shaders/gl_postprocessshaderinstance.h"
#include "gl/textures/gl_samplers.h"
#include "gl/dynlights/gl_lightbuffer.h"
#include "gl/data/gl_viewpointbuffer.h"
#include "hwrenderer/data/hw_viewpointbuffer.h"
#include "r_videoscale.h"
#include "r_data/models/models.h"

View file

@ -41,7 +41,7 @@
#include "hwrenderer/scene/hw_clipper.h"
#include "gl/renderer/gl_renderstate.h"
#include "gl/renderer/gl_renderer.h"
#include "gl/data/gl_viewpointbuffer.h"
#include "hwrenderer/data/hw_viewpointbuffer.h"
#include "gl/dynlights/gl_lightbuffer.h"
#include "hwrenderer/models/hw_models.h"

View file

@ -51,7 +51,7 @@
#include "hwrenderer/utility/hw_cvars.h"
#include "gl/renderer/gl_renderstate.h"
#include "gl/renderer/gl_renderbuffers.h"
#include "gl/data/gl_viewpointbuffer.h"
#include "hwrenderer/data/hw_viewpointbuffer.h"
#include "hwrenderer/scene/hw_clipper.h"
#include "hwrenderer/scene/hw_portal.h"
#include "gl/scene/gl_drawinfo.h"

View file

@ -25,12 +25,10 @@
**
**/
#include "gl_load/gl_system.h"
#include "gl_load/gl_interface.h"
#include "hwrenderer/data/shaderuniforms.h"
#include "hwrenderer/scene/hw_viewpointuniforms.h"
#include "hwrenderer/scene/hw_drawinfo.h"
#include "gl_viewpointbuffer.h"
#include "hw_viewpointbuffer.h"
static const int INITIAL_BUFFER_SIZE = 100; // 100 viewpoints per frame should nearly always be enough