webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <VertexBuffer.h>
Public Member Functions | |
StreamingVertexBufferInterface (BufferFactoryD3D *factory, std::size_t initialSize) | |
~StreamingVertexBufferInterface () | |
gl::Error | storeDynamicAttribute (const gl::VertexAttribute &attrib, GLenum currentValueType, GLint start, GLsizei count, GLsizei instances, unsigned int *outStreamOffset, const uint8_t *sourceData) |
gl::Error | reserveVertexSpace (const gl::VertexAttribute &attribute, GLsizei count, GLsizei instances) |
Public Member Functions inherited from rx::VertexBufferInterface | |
VertexBufferInterface (BufferFactoryD3D *factory, bool dynamic) | |
virtual | ~VertexBufferInterface () |
unsigned int | getBufferSize () const |
bool | empty () const |
unsigned int | getSerial () const |
VertexBuffer * | getVertexBuffer () const |
Additional Inherited Members | |
Protected Member Functions inherited from rx::VertexBufferInterface | |
gl::Error | discard () |
gl::Error | setBufferSize (unsigned int size) |
gl::ErrorOrResult< unsigned int > | getSpaceRequired (const gl::VertexAttribute &attrib, GLsizei count, GLsizei instances) const |
Protected Attributes inherited from rx::VertexBufferInterface | |
BufferFactoryD3D *const | mFactory |
VertexBuffer * | mVertexBuffer |
bool | mDynamic |
rx::StreamingVertexBufferInterface::StreamingVertexBufferInterface | ( | BufferFactoryD3D * | factory, |
std::size_t | initialSize | ||
) |
rx::StreamingVertexBufferInterface::~StreamingVertexBufferInterface | ( | ) |
gl::Error rx::StreamingVertexBufferInterface::reserveVertexSpace | ( | const gl::VertexAttribute & | attribute, |
GLsizei | count, | ||
GLsizei | instances | ||
) |
gl::Error rx::StreamingVertexBufferInterface::storeDynamicAttribute | ( | const gl::VertexAttribute & | attrib, |
GLenum | currentValueType, | ||
GLint | start, | ||
GLsizei | count, | ||
GLsizei | instances, | ||
unsigned int * | outStreamOffset, | ||
const uint8_t * | sourceData | ||
) |