Try to make the inlucde sequence simpler in gpu for GLBackend

This commit is contained in:
Sam Gateau 2015-07-29 16:48:23 -07:00
parent 5baf993c24
commit 4972cb024f
4 changed files with 0 additions and 23 deletions

View file

@ -10,12 +10,6 @@
//
#include "Batch.h"
#include <GLMHelpers.h>
#include <QDebug>
#include "GPUConfig.h"
#if defined(NSIGHT_FOUND)
#include "nvToolsExt.h"
@ -288,15 +282,3 @@ void Batch::getQuery(const QueryPointer& query) {
_params.push_back(_queries.cache(query));
}
void push_back(Batch::Params& params, const vec3& v) {
params.push_back(v.x);
params.push_back(v.y);
params.push_back(v.z);
}
void push_back(Batch::Params& params, const vec4& v) {
params.push_back(v.x);
params.push_back(v.y);
params.push_back(v.z);
params.push_back(v.a);
}

View file

@ -11,7 +11,6 @@
#include "GLBackendShared.h"
#include <mutex>
#include "GPULogging.h"
#include <glm/gtc/type_ptr.hpp>
using namespace gpu;

View file

@ -18,8 +18,6 @@
#include "GPUConfig.h"
#include "Context.h"
#include "Batch.h"
namespace gpu {

View file

@ -16,8 +16,6 @@
#include "GPULogging.h"
#include "GLBackend.h"
#include "Batch.h"
static const GLenum _primitiveToGLmode[gpu::NUM_PRIMITIVES] = {
GL_POINTS,
GL_LINES,