summaryrefslogtreecommitdiffstats
path: root/src/render/io/uniformbuffer_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-09-18 12:59:13 +0100
committerPaul Lemire <paul.lemire@kdab.com>2015-10-13 12:12:49 +0000
commitb1810f91ee5eaa3ae9e79efde6b4a0335738c3e8 (patch)
tree5a5d8b2894110b76840521a1e1be8669e165038b /src/render/io/uniformbuffer_p.h
parentba3d49872eb5f7fdb3eca10ae923dda7b7a218d8 (diff)
Remove Q prefix from graphics helpers
Change-Id: I79066df0df1fbac4f49e47c91c552fca0d4093bf Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/io/uniformbuffer_p.h')
-rw-r--r--src/render/io/uniformbuffer_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/io/uniformbuffer_p.h b/src/render/io/uniformbuffer_p.h
index 6d489c248..77f09e579 100644
--- a/src/render/io/uniformbuffer_p.h
+++ b/src/render/io/uniformbuffer_p.h
@@ -46,7 +46,7 @@ namespace Qt3DRender {
namespace Render {
-class QGraphicsContext;
+class GraphicsContext;
typedef QPair<Qt3D::QNodeId, Qt3D::QNodeId> ShaderDataShaderUboKey;
@@ -55,12 +55,12 @@ class UniformBuffer
public:
UniformBuffer();
- void bind(QGraphicsContext *ctx);
- void create(QGraphicsContext *ctx);
- void destroy(QGraphicsContext *ctx);
- void allocate(QGraphicsContext *ctx, uint size, bool dynamic = true);
- void update(QGraphicsContext *ctx, const void *data, uint size, int offset = 0);
- void bindToUniformBlock(QGraphicsContext *ctx, int bindingPoint);
+ void bind(GraphicsContext *ctx);
+ void create(GraphicsContext *ctx);
+ void destroy(GraphicsContext *ctx);
+ void allocate(GraphicsContext *ctx, uint size, bool dynamic = true);
+ void update(GraphicsContext *ctx, const void *data, uint size, int offset = 0);
+ void bindToUniformBlock(GraphicsContext *ctx, int bindingPoint);
inline GLuint bufferId() const { return m_bufferId; }
inline bool isCreated() const { return m_isCreated; }