Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/Headers/glGenericVertexData.h

Diff revisions: vs.
  @@ -45,10 +45,24 @@
45 45 void Create(U8 numBuffers = 1, U8 numQueries = 1);
46 46 U32 GetFeedbackPrimitiveCount(U8 queryID);
47 47
48 - void SetBuffer(U32 buffer, U32 elementCount, size_t elementSize, U8 sizeFactor, void* data, bool dynamic, bool stream, bool persistentMapped = false);
49 - void UpdateBuffer(U32 buffer, U32 elementCount, U32 elementCountOffset, void* data, bool invalidateRange = false);
48 + void SetBuffer(U32 buffer,
49 + U32 elementCount,
50 + size_t elementSize,
51 + U8 sizeFactor,
52 + void* data,
53 + bool dynamic,
54 + bool stream,
55 + bool persistentMapped = false);
50 56
51 - void BindFeedbackBufferRange(U32 buffer, U32 elementCountOffset, size_t elementCount);
57 + void UpdateBuffer(U32 buffer,
58 + U32 elementCount,
59 + U32 elementCountOffset,
60 + void* data,
61 + bool invalidateRange = false);
62 +
63 + void BindFeedbackBufferRange(U32 buffer,
64 + U32 elementCountOffset,
65 + size_t elementCount);
52 66
53 67 inline void SetFeedbackBuffer(U32 buffer, U32 bindPoint) {
54 68 if (!isFeedbackBuffer(buffer)){