|
|
|
@ -221,4 +221,40 @@ bool Buffer::unmapImplementationDSA() { |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DOXYGEN_GENERATING_OUTPUT |
|
|
|
|
|
|
|
Debug operator<<(Debug debug, Buffer::Target value) { |
|
|
|
|
|
|
|
switch(value) { |
|
|
|
|
|
|
|
#define _c(value) case Buffer::Target::value: return debug << "Buffer::Target::" #value; |
|
|
|
|
|
|
|
_c(Array) |
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
|
|
|
_c(AtomicCounter) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
|
|
|
|
_c(CopyRead) |
|
|
|
|
|
|
|
_c(CopyWrite) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
|
|
|
_c(DispatchIndirect) |
|
|
|
|
|
|
|
_c(DrawIndirect) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
_c(ElementArray) |
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
|
|
|
|
_c(PixelPack) |
|
|
|
|
|
|
|
_c(PixelUnpack) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
|
|
|
_c(ShaderStorage) |
|
|
|
|
|
|
|
_c(Texture) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_GLES2 |
|
|
|
|
|
|
|
_c(TransformFeedback) |
|
|
|
|
|
|
|
_c(Uniform) |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#undef _c |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return debug << "Buffer::Target::(invalid)"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|