Lines Matching defs:buffer
16 // runs the Buffer translation process.
20 #include "Buffer.h"
46 ERR("Failed to allocate the streaming vertex buffer.");
62 Buffer *buffer = attribute.mBoundBuffer;
77 ERR("Failed to map vertex buffer.");
83 if(buffer)
87 input = static_cast<const char*>(buffer->data()) + offset;
124 // Determine the required storage size per used buffer
143 Buffer *buffer = attribs[i].mBoundBuffer;
145 if(!buffer && attribs[i].mPointer == nullptr)
148 ERR("An enabled vertex array has no buffer and no pointer.");
152 sw::Resource *staticBuffer = buffer ? buffer->getResource() : nullptr;
219 ERR("Out of memory allocating a vertex buffer of size %u.", size);
312 ERR("Out of memory allocating a vertex buffer of size %u.", mBufferSize);