Lines Matching refs:_mesa_error

200       _mesa_error(ctx, GL_INVALID_ENUM, "%s(target)", func);  in get_buffer()
205 _mesa_error(ctx, error, "%s(no buffer bound)", func); in get_buffer()
305 _mesa_error(ctx, GL_INVALID_VALUE, "%s(size < 0)", caller); in buffer_object_subdata_range_good()
310 _mesa_error(ctx, GL_INVALID_VALUE, "%s(offset < 0)", caller); in buffer_object_subdata_range_good()
315 _mesa_error(ctx, GL_INVALID_VALUE, in buffer_object_subdata_range_good()
328 _mesa_error(ctx, GL_INVALID_OPERATION, in buffer_object_subdata_range_good()
336 _mesa_error(ctx, GL_INVALID_OPERATION, in buffer_object_subdata_range_good()
372 _mesa_error(ctx, GL_INVALID_ENUM, in validate_clear_buffer_format()
383 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_clear_buffer_format()
389 _mesa_error(ctx, GL_INVALID_ENUM, in validate_clear_buffer_format()
396 _mesa_error(ctx, GL_INVALID_ENUM, in validate_clear_buffer_format()
433 _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s", caller); in convert_clear_buffer_data()
736 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glClearBuffer[Sub]Data"); in _mesa_ClearBufferSubData_sw()
984 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(non-gen name)", caller); in _mesa_handle_bind_buffer_gen()
994 _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s", caller); in _mesa_handle_bind_buffer_gen()
1106 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_lookup_bufferobj_err()
1156 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_multi_bind_lookup_bufferobj()
1252 _mesa_error(ctx, GL_INVALID_ENUM, "glBindBufferARB(target %s)", in _mesa_BindBuffer()
1405 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferBase(index=%d)", index); in bind_buffer_base_uniform_buffer()
1427 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferBase(index=%d)", index); in bind_buffer_base_shader_storage_buffer()
1449 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferBase(index=%d)", index); in bind_buffer_base_atomic_buffer()
1625 _mesa_error(ctx, GL_INVALID_VALUE, "glDeleteBuffersARB(n)"); in _mesa_DeleteBuffers()
1664 _mesa_error(ctx, GL_OUT_OF_MEMORY, "glCreateBuffers"); in create_buffers()
1688 _mesa_error(ctx, GL_INVALID_VALUE, "%s(n %d < 0)", func, n); in create_buffers_err()
1764 _mesa_error(ctx, GL_INVALID_VALUE, "%s(size <= 0)", func); in validate_buffer_storage()
1779 _mesa_error(ctx, GL_INVALID_VALUE, "%s(invalid flag bits set)", func); in validate_buffer_storage()
1791 _mesa_error(ctx, GL_INVALID_VALUE, "%s(SPARSE_STORAGE and READ/WRITE)", func); in validate_buffer_storage()
1797 _mesa_error(ctx, GL_INVALID_VALUE, in validate_buffer_storage()
1803 _mesa_error(ctx, GL_INVALID_VALUE, in validate_buffer_storage()
1809 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(immutable)", func); in validate_buffer_storage()
1851 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", func); in buffer_storage()
1854 _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s", func); in buffer_storage()
1873 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(unsupported)", func); in inlined_buffer_storage()
1883 _mesa_error(ctx, GL_INVALID_VALUE, "%s(memory == 0)", func); in inlined_buffer_storage()
1897 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(no associated memory)", in inlined_buffer_storage()
2021 _mesa_error(ctx, GL_INVALID_VALUE, "%s(size < 0)", func); in buffer_data()
2047 _mesa_error(ctx, GL_INVALID_ENUM, "%s(invalid usage: %s)", func, in buffer_data()
2053 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(immutable)", func); in buffer_data()
2089 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", func); in buffer_data()
2092 _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s", func); in buffer_data()
2191 _mesa_error(ctx, GL_INVALID_OPERATION, "%s", func); in validate_buffer_sub_data()
2380 _mesa_error(ctx, GL_INVALID_VALUE, in clear_buffer_sub_data()
2581 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_and_unmap_buffer()
2722 _mesa_error(ctx, GL_INVALID_ENUM, "%s(invalid pname: %s)", func, in get_buffer_parameter()
2812 _mesa_error(ctx, GL_INVALID_ENUM, "glGetBufferPointerv(pname != " in _mesa_GetBufferPointerv()
2832 _mesa_error(ctx, GL_INVALID_ENUM, "glGetNamedBufferPointerv(pname != " in _mesa_GetNamedBufferPointerv()
2852 _mesa_error(ctx, GL_INVALID_OPERATION, in copy_buffer_sub_data()
2858 _mesa_error(ctx, GL_INVALID_OPERATION, in copy_buffer_sub_data()
2864 _mesa_error(ctx, GL_INVALID_VALUE, in copy_buffer_sub_data()
2870 _mesa_error(ctx, GL_INVALID_VALUE, in copy_buffer_sub_data()
2876 _mesa_error(ctx, GL_INVALID_VALUE, in copy_buffer_sub_data()
2882 _mesa_error(ctx, GL_INVALID_VALUE, in copy_buffer_sub_data()
2889 _mesa_error(ctx, GL_INVALID_VALUE, in copy_buffer_sub_data()
2904 _mesa_error(ctx, GL_INVALID_VALUE, in copy_buffer_sub_data()
3003 _mesa_error(ctx, GL_INVALID_VALUE, in validate_map_buffer_range()
3009 _mesa_error(ctx, GL_INVALID_VALUE, in validate_map_buffer_range()
3026 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(length = 0)", func); in validate_map_buffer_range()
3044 _mesa_error(ctx, GL_INVALID_VALUE, in validate_map_buffer_range()
3050 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3059 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3066 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3073 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3080 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3087 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3094 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3100 _mesa_error(ctx, GL_INVALID_VALUE, in validate_map_buffer_range()
3108 _mesa_error(ctx, GL_INVALID_OPERATION, in validate_map_buffer_range()
3135 _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s(buffer size = 0)", func); in map_buffer_range()
3143 _mesa_error(ctx, GL_OUT_OF_MEMORY, "%s(map failed)", func); in map_buffer_range()
3210 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_MapBufferRange()
3246 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_MapNamedBufferRange()
3313 _mesa_error(ctx, GL_INVALID_ENUM, "glMapBuffer(invalid access)"); in _mesa_MapBuffer()
3351 _mesa_error(ctx, GL_INVALID_ENUM, "glMapNamedBuffer(invalid access)"); in _mesa_MapNamedBuffer()
3375 _mesa_error(ctx, GL_INVALID_OPERATION, in flush_mapped_buffer_range()
3381 _mesa_error(ctx, GL_INVALID_VALUE, in flush_mapped_buffer_range()
3387 _mesa_error(ctx, GL_INVALID_VALUE, in flush_mapped_buffer_range()
3394 _mesa_error(ctx, GL_INVALID_OPERATION, in flush_mapped_buffer_range()
3401 _mesa_error(ctx, GL_INVALID_OPERATION, in flush_mapped_buffer_range()
3407 _mesa_error(ctx, GL_INVALID_VALUE, in flush_mapped_buffer_range()
3505 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(index=%d)", index); in bind_buffer_range_uniform_buffer_err()
3510 _mesa_error(ctx, GL_INVALID_VALUE, in bind_buffer_range_uniform_buffer_err()
3549 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(index=%d)", index); in bind_buffer_range_shader_storage_buffer_err()
3554 _mesa_error(ctx, GL_INVALID_VALUE, in bind_buffer_range_shader_storage_buffer_err()
3591 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(index=%d)", index); in bind_buffer_range_atomic_buffer_err()
3596 _mesa_error(ctx, GL_INVALID_VALUE, in bind_buffer_range_atomic_buffer_err()
3617 _mesa_error(ctx, GL_INVALID_VALUE, in bind_buffers_check_offset_and_size()
3629 _mesa_error(ctx, GL_INVALID_VALUE, in bind_buffers_check_offset_and_size()
3644 _mesa_error(ctx, GL_INVALID_ENUM, in error_check_bind_uniform_buffers()
3656 _mesa_error(ctx, GL_INVALID_OPERATION, in error_check_bind_uniform_buffers()
3673 _mesa_error(ctx, GL_INVALID_ENUM, in error_check_bind_shader_storage_buffers()
3685 _mesa_error(ctx, GL_INVALID_OPERATION, in error_check_bind_shader_storage_buffers()
3803 _mesa_error(ctx, GL_INVALID_VALUE, in bind_uniform_buffers()
3904 _mesa_error(ctx, GL_INVALID_VALUE, in bind_shader_storage_buffers()
3932 _mesa_error(ctx, GL_INVALID_ENUM, in error_check_bind_xfb_buffers()
3949 _mesa_error(ctx, GL_INVALID_OPERATION, in error_check_bind_xfb_buffers()
3962 _mesa_error(ctx, GL_INVALID_OPERATION, in error_check_bind_xfb_buffers()
4072 _mesa_error(ctx, GL_INVALID_VALUE, in bind_xfb_buffers()
4081 _mesa_error(ctx, GL_INVALID_VALUE, in bind_xfb_buffers()
4112 _mesa_error(ctx, GL_INVALID_ENUM, in error_check_bind_atomic_buffers()
4124 _mesa_error(ctx, GL_INVALID_OPERATION, in error_check_bind_atomic_buffers()
4228 _mesa_error(ctx, GL_INVALID_VALUE, in bind_atomic_buffers()
4270 _mesa_error(ctx, GL_INVALID_OPERATION, in bind_buffer_range()
4298 _mesa_error(ctx, GL_INVALID_VALUE, "glBindBufferRange(size=%d)", in bind_buffer_range()
4328 _mesa_error(ctx, GL_INVALID_ENUM, "glBindBufferRange(target)"); in bind_buffer_range()
4368 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_BindBufferBase()
4416 _mesa_error(ctx, GL_INVALID_ENUM, "glBindBufferBase(target)"); in _mesa_BindBufferBase()
4452 _mesa_error(ctx, GL_INVALID_ENUM, "glBindBuffersRange(target=%s)", in _mesa_BindBuffersRange()
4487 _mesa_error(ctx, GL_INVALID_ENUM, "glBindBuffersBase(target=%s)", in _mesa_BindBuffersBase()
4528 _mesa_error(ctx, GL_INVALID_VALUE, in _mesa_InvalidateBufferSubData()
4541 _mesa_error(ctx, GL_INVALID_VALUE, in _mesa_InvalidateBufferSubData()
4555 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_InvalidateBufferSubData()
4587 _mesa_error(ctx, GL_INVALID_VALUE, in _mesa_InvalidateBufferData()
4601 _mesa_error(ctx, GL_INVALID_OPERATION, in _mesa_InvalidateBufferData()
4617 _mesa_error(ctx, GL_INVALID_OPERATION, "%s(not a sparse buffer object)", in buffer_page_commitment()
4624 _mesa_error(ctx, GL_INVALID_VALUE, "%s(out of bounds)", in buffer_page_commitment()
4637 _mesa_error(ctx, GL_INVALID_VALUE, "%s(offset not aligned to page size)", in buffer_page_commitment()
4644 _mesa_error(ctx, GL_INVALID_VALUE, "%s(size not aligned to page size)", in buffer_page_commitment()
4678 _mesa_error(ctx, GL_INVALID_VALUE, in _mesa_NamedBufferPageCommitmentARB()