- gl_clock moved to hwrenderer.

This commit is contained in:
Christoph Oelckers 2018-04-25 18:39:54 +02:00
parent 982776d48d
commit cf8ee3130b
8 changed files with 8 additions and 9 deletions

View file

@ -806,7 +806,6 @@ set( FASTMATH_SOURCES
sound/sndfile_decoder.cpp
sound/timiditypp/fft4g.cpp
sound/timiditypp/reverb.cpp
gl/utility/gl_clock.cpp
textures/hires/hqnx/init.cpp
textures/hires/hqnx/hq2x.cpp
textures/hires/hqnx/hq3x.cpp
@ -1059,6 +1058,7 @@ set (PCH_SOURCES
hwrenderer/dynlights/hw_aabbtree.cpp
hwrenderer/textures/hw_material.cpp
hwrenderer/textures/hw_precache.cpp
hwrenderer/utility/hw_clock.cpp
menu/joystickmenu.cpp
menu/loadsavemenu.cpp

View file

@ -24,7 +24,7 @@
#define __VERTEXBUFFER_H
#include "tarray.h"
#include "gl/utility/gl_clock.h"
#include "hwrenderer/utility/hw_clock.h"
#include "gl/system/gl_interface.h"
#include "r_data/models/models.h"
#include "hwrenderer/data/flatvertices.h"

View file

@ -28,7 +28,7 @@
#include "gl/system/gl_system.h"
#include "gl/shaders/gl_shader.h"
#include "gl/dynlights/gl_lightbuffer.h"
#include "gl/utility//gl_clock.h"
#include "hwrenderer/utility/hw_clock.h"
#include "hwrenderer/dynlights/hw_dynlightdata.h"
static const int INITIAL_BUFFER_SIZE = 160000; // This means 80000 lights per frame and 160000*16 bytes == 2.56 MB.

View file

@ -39,7 +39,7 @@
#include "gl/scene/gl_drawinfo.h"
#include "gl/scene/gl_portal.h"
#include "gl/utility/gl_clock.h"
#include "hwrenderer/utility/hw_clock.h"
void FDrawInfo::AddWall(GLWall *wall)

View file

@ -36,7 +36,7 @@
#include "gl/renderer/gl_renderer.h"
#include "gl/renderer/gl_renderbuffers.h"
#include "gl/textures/gl_samplers.h"
#include "gl/utility/gl_clock.h"
#include "hwrenderer/utility/hw_clock.h"
#include "gl/data/gl_vertexbuffer.h"
#include "gl/models/gl_models.h"
#include "gl_debug.h"

View file

@ -31,7 +31,7 @@
#include "g_levellocals.h"
#include "hwrenderer/scene/hw_drawinfo.h"
#include "gl/utility/gl_clock.h"
#include "hwrenderer/utility/hw_clock.h"
sector_t * hw_FakeFlat(sector_t * sec, sector_t * dest, area_t in_area, bool back);

View file

@ -3,8 +3,7 @@
** Hardware render profiling info
**
**---------------------------------------------------------------------------
** Copyright 1998-2016 Randy Heit
** Copyright 2007-2016 Christoph Oelckers
** Copyright 2007-2018 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
@ -40,7 +39,7 @@
#include "r_utility.h"
#include "v_video.h"
#include "g_levellocals.h"
#include "gl/utility/gl_clock.h"
#include "hw_clock.h"
#include "i_time.h"
glcycle_t RenderWall,SetupWall,ClipWall;