Lines Matching +defs:error +defs:range

208  * \param error  the GL error to record if target is illegal.
214 GLenum error)
224 _mesa_error(ctx, error, "%s(no buffer bound)", func);
272 * Test if the buffer is mapped, and if so, if the mapped range overlaps the
273 * given range.
279 * \param offset Offset of the first byte of the subdata range.
280 * \param size Size, in bytes, of the subdata range.
302 * Tests the subdata range parameters and sets the GL error code for
308 * \param offset Offset of the first byte of the subdata range.
309 * \param size Size, in bytes, of the subdata range.
310 * \param mappedRange If true, checks if an overlapping range is mapped.
313 * \return false if error, true otherwise
348 "%s(range is mapped without persistent bit)",
367 * Test the format and type parameters and set the GL error code for
624 * Note that all GL error checking will have been done already.
668 * Replace data in a subrange of buffer object. If the data range
673 * Note that all GL error checking will have been done already.
677 * \param size Size, in bytes, of the data range.
700 * Retrieve data from a subrange of buffer object. If the data range
705 * Note that all GL error checking will have been done already.
710 * \param size Size, in bytes, of the data range.
734 * Note that all GL error checking will have been done already.
738 * \param size Size, in bytes, of the to be cleared range.
1213 * of generating an error if the buffer ID is not zero or the name
1229 bool *error)
1233 *error = false;
1246 * "An INVALID_OPERATION error is generated if any value
1254 *error = true;
1404 bool range,
1412 bool error;
1414 &error);
1415 if (error)
1420 set_buffer_binding(ctx, binding, bufObj, -1, -1, !range, usage);
1422 set_buffer_binding(ctx, binding, bufObj, offset, size, !range, usage);
1958 /* Unmap the existing buffer. We'll replace it now. Not an error. */
2012 * "An INVALID_VALUE error is generated by BufferStorageMemEXT and
2026 * "An INVALID_OPERATION error is generated if <memory> names a
2206 /* Unmap the existing buffer. We'll replace it now. Not an error. */
2354 /* error already recorded */
2386 * \param offset Offset of the first byte of the subdata range.
2387 * \param size Size, in bytes, of the subdata range.
3355 goto done; /* the error is already set */
3389 * "An INVALID_OPERATION error is generated for any of the following
3416 /* generate an error if any bits other than those allowed are set */
4062 * "An INVALID_VALUE error is generated by BindBuffersRange if any
4074 * "An INVALID_VALUE error is generated by BindBuffersRange if any
4099 * "An INVALID_OPERATION error is generated if <first> + <count> is
4128 * "An INVALID_OPERATION error is generated if <first> + <count> is
4145 * Unbind all uniform buffers in the range
4157 * Unbind all shader storage buffers in the range
4172 bool range,
4196 /* Note that the error semantics for multi-bind commands differ from
4201 * "(11) Typically, OpenGL specifies that if an error is generated by a
4206 * Should we have different error semantics?
4210 * is not updated and an error will be generated. However, other
4212 * parameters are valid and no other error occurs."
4224 if (range) {
4230 * "An INVALID_VALUE error is generated by BindBuffersRange if any
4263 binding, offset, size, range,
4274 bool range,
4299 /* Note that the error semantics for multi-bind commands differ from
4304 * "(11) Typically, OpenGL specifies that if an error is generated by a
4309 * Should we have different error semantics?
4313 * is not updated and an error will be generated. However, other
4315 * parameters are valid and no other error occurs."
4327 if (range) {
4333 * "An INVALID_VALUE error is generated by BindBuffersRange if any
4366 binding, offset, size, range,
4387 * "An INVALID_OPERATION error is generated :
4405 * "An INVALID_OPERATION error is generated if <first> + <count> is
4422 * Unbind all transform feedback buffers in the range
4439 bool range,
4467 /* Note that the error semantics for multi-bind commands differ from
4472 * "(11) Typically, OpenGL specifies that if an error is generated by a
4477 * Should we have different error semantics?
4481 * is not updated and an error will be generated. However, other
4483 * parameters are valid and no other error occurs."
4496 if (range) {
4502 * "An INVALID_VALUE error is generated by BindBuffersRange if any
4543 bool error;
4545 &error);
4546 if (error)
4571 * "An INVALID_OPERATION error is generated if <first> + <count> is
4587 * Unbind all atomic counter buffers in the range
4603 bool range,
4628 /* Note that the error semantics for multi-bind commands differ from
4633 * "(11) Typically, OpenGL specifies that if an error is generated by a
4638 * Should we have different error semantics?
4642 * is not updated and an error will be generated. However, other
4644 * parameters are valid and no other error occurs."
4656 if (range) {
4662 * "An INVALID_VALUE error is generated by BindBuffersRange if any
4692 binding, offset, size, range,
4975 * "An INVALID_VALUE error is generated if buffer is zero or is not the
4988 * "An INVALID_VALUE error is generated if <offset> or <length> is
5000 * "An INVALID_OPERATION error is generated if buffer is currently
5001 * mapped by MapBuffer or if the invalidate range intersects the range
5009 "range)");
5034 * "An INVALID_VALUE error is generated if buffer is zero or is not the
5047 * "An INVALID_OPERATION error is generated if buffer is currently
5048 * mapped by MapBuffer or if the invalidate range intersects the range
5055 "range)");
5129 /* Note: the extension spec is not clear about the excpected error value. */
5157 * generate the INVALID_OPERATION error if the buffer parameter is