mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:40:02 +02:00
Starting stats branch
This commit is contained in:
parent
09f32f6839
commit
d7791982ac
1 changed files with 29 additions and 0 deletions
29
libraries/render/src/render/Stats.h
Normal file
29
libraries/render/src/render/Stats.h
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
//
|
||||||
|
// Stats.h
|
||||||
|
// render/src/render
|
||||||
|
//
|
||||||
|
// Created by Niraj Venkat on 6/29/15.
|
||||||
|
// Copyright 2015 High Fidelity, Inc.
|
||||||
|
//
|
||||||
|
// Distributed under the Apache License, Version 2.0.
|
||||||
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef hifi_render_Stats_h
|
||||||
|
#define hifi_render_Stats_h
|
||||||
|
|
||||||
|
#include "DrawTask.h"
|
||||||
|
#include "gpu/Batch.h"
|
||||||
|
#include <PerfStat.h>
|
||||||
|
|
||||||
|
|
||||||
|
namespace render {
|
||||||
|
class DrawStats {
|
||||||
|
public:
|
||||||
|
void run(const SceneContextPointer& sceneContext, const RenderContextPointer& renderContext, const ItemIDsBounds& inItems);
|
||||||
|
|
||||||
|
typedef Job::ModelI<DrawStats, ItemIDsBounds> JobModel;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // hifi_render_Stats_h
|
Loading…
Reference in a new issue