move ProgramObject to libraries

This commit is contained in:
ZappoMan 2014-12-15 14:21:22 -08:00
parent 49cacd85bd
commit df7e115556
15 changed files with 19 additions and 17 deletions

View file

@ -66,6 +66,7 @@
#include <OctreeSceneStats.h> #include <OctreeSceneStats.h>
#include <PacketHeaders.h> #include <PacketHeaders.h>
#include <PerfStat.h> #include <PerfStat.h>
#include <ProgramObject.h>
#include <ResourceCache.h> #include <ResourceCache.h>
#include <SoundCache.h> #include <SoundCache.h>
#include <UserActivityLogger.h> #include <UserActivityLogger.h>
@ -85,7 +86,6 @@
#include "devices/TV3DManager.h" #include "devices/TV3DManager.h"
#include "devices/Visage.h" #include "devices/Visage.h"
#include "renderer/ProgramObject.h"
#include "gpu/Batch.h" #include "gpu/Batch.h"
#include "gpu/GLBackend.h" #include "gpu/GLBackend.h"

View file

@ -17,11 +17,11 @@
#include <GeometryUtil.h> #include <GeometryUtil.h>
#include <PacketHeaders.h> #include <PacketHeaders.h>
#include <ProgramObject.h>
#include <SharedUtil.h> #include <SharedUtil.h>
#include "Application.h" #include "Application.h"
#include "Camera.h" #include "Camera.h"
#include "renderer/ProgramObject.h"
#include "world.h" #include "world.h"
#include "Environment.h" #include "Environment.h"

View file

@ -20,10 +20,9 @@
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <MetavoxelClientManager.h> #include <MetavoxelClientManager.h>
#include <ProgramObject.h>
#include <TextureCache.h> #include <TextureCache.h>
#include "renderer/ProgramObject.h"
class HeightfieldBaseLayerBatch; class HeightfieldBaseLayerBatch;
class HeightfieldSplatBatch; class HeightfieldSplatBatch;
class HermiteBatch; class HermiteBatch;

View file

@ -13,13 +13,13 @@
#include <NodeList.h> #include <NodeList.h>
#include <GeometryUtil.h> #include <GeometryUtil.h>
#include <ProgramObject.h>
#include "Application.h" #include "Application.h"
#include "Avatar.h" #include "Avatar.h"
#include "Hand.h" #include "Hand.h"
#include "Menu.h" #include "Menu.h"
#include "Util.h" #include "Util.h"
#include "renderer/ProgramObject.h"
using namespace std; using namespace std;

View file

@ -17,7 +17,8 @@
#include <OVR.h> #include <OVR.h>
#endif #endif
#include "renderer/ProgramObject.h" #include <ProgramObject.h>
#include "ui/overlays/Text3DOverlay.h" #include "ui/overlays/Text3DOverlay.h"
const float DEFAULT_OCULUS_UI_ANGULAR_SIZE = 72.0f; const float DEFAULT_OCULUS_UI_ANGULAR_SIZE = 72.0f;

View file

@ -16,10 +16,10 @@
#include <glm/gtc/random.hpp> #include <glm/gtc/random.hpp>
#include <ProgramObject.h>
#include <SharedUtil.h> #include <SharedUtil.h>
#include "Application.h" #include "Application.h"
#include "ProgramObject.h"
#include "RenderUtil.h" #include "RenderUtil.h"
#include "AmbientOcclusionEffect.h" #include "AmbientOcclusionEffect.h"

View file

@ -14,10 +14,9 @@
#include <QVector> #include <QVector>
#include <ProgramObject.h>
#include <SharedUtil.h> #include <SharedUtil.h>
#include "ProgramObject.h"
class PostLightingRenderable; class PostLightingRenderable;
/// Handles deferred lighting for the bits that require it (voxels, metavoxels...) /// Handles deferred lighting for the bits that require it (voxels, metavoxels...)

View file

@ -15,10 +15,10 @@
#include <QOpenGLFramebufferObject> #include <QOpenGLFramebufferObject>
#include <PerfStat.h> #include <PerfStat.h>
#include <ProgramObject.h>
#include "Application.h" #include "Application.h"
#include "GlowEffect.h" #include "GlowEffect.h"
#include "ProgramObject.h"
#include "RenderUtil.h" #include "RenderUtil.h"
GlowEffect::GlowEffect() GlowEffect::GlowEffect()

View file

@ -22,13 +22,13 @@
#include <GeometryCache.h> #include <GeometryCache.h>
#include <GeometryUtil.h> #include <GeometryUtil.h>
#include <PhysicsEntity.h> #include <PhysicsEntity.h>
#include <ProgramObject.h>
#include <TextureCache.h> #include <TextureCache.h>
#include <Transform.h> #include <Transform.h>
#include "AnimationHandle.h" #include "AnimationHandle.h"
#include "InterfaceConfig.h" #include "InterfaceConfig.h"
#include "JointState.h" #include "JointState.h"
#include "ProgramObject.h"
class QScriptEngine; class QScriptEngine;

View file

@ -13,7 +13,6 @@
#define hifi_Config_h #define hifi_Config_h
#include "InterfaceConfig.h" #include "InterfaceConfig.h"
#include "renderer/ProgramObject.h"
#include <cstddef> #include <cstddef>
#include <cfloat> #include <cfloat>
@ -35,6 +34,8 @@
#include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/matrix_access.hpp> #include <glm/gtc/matrix_access.hpp>
#include <ProgramObject.h>
#include "AngleUtil.h" #include "AngleUtil.h"
#include "Radix2InplaceSort.h" #include "Radix2InplaceSort.h"
#include "Radix2IntegerScanner.h" #include "Radix2IntegerScanner.h"

View file

@ -15,8 +15,9 @@
#include <QList> #include <QList>
#include <QWidget> #include <QWidget>
#include <ProgramObject.h>
#include "MetavoxelSystem.h" #include "MetavoxelSystem.h"
#include "renderer/ProgramObject.h"
class QColorEditor; class QColorEditor;
class QComboBox; class QComboBox;

View file

@ -18,12 +18,12 @@
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <QGLWidget> #include <QGLWidget>
#include <ProgramObject.h>
#include <SharedUtil.h> #include <SharedUtil.h>
#include "Base3DOverlay.h" #include "Base3DOverlay.h"
#include "renderer/ProgramObject.h"
class Grid3DOverlay : public Base3DOverlay { class Grid3DOverlay : public Base3DOverlay {
Q_OBJECT Q_OBJECT

View file

@ -19,6 +19,7 @@
#include <OctalCode.h> #include <OctalCode.h>
#include <PacketHeaders.h> #include <PacketHeaders.h>
#include <PerfStat.h> #include <PerfStat.h>
#include <ProgramObject.h>
#include <SharedUtil.h> #include <SharedUtil.h>
#include <NodeList.h> #include <NodeList.h>
@ -26,7 +27,6 @@
#include "Application.h" #include "Application.h"
#include "Menu.h" #include "Menu.h"
#include "renderer/ProgramObject.h"
#include "VoxelConstants.h" #include "VoxelConstants.h"
#include "VoxelSystem.h" #include "VoxelSystem.h"

View file

@ -9,9 +9,10 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
// //
#include "ProgramObject.h"
#include <glm/gtc/type_ptr.hpp> #include <glm/gtc/type_ptr.hpp>
#include "ProgramObject.h"
ProgramObject::ProgramObject(QObject* parent) : QGLShaderProgram(parent) { ProgramObject::ProgramObject(QObject* parent) : QGLShaderProgram(parent) {
} }