Lines Matching refs:BufferObj
81 if (!_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_validate_pbo_access()
86 size = pack->BufferObj->Size; in _mesa_validate_pbo_access()
153 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_pbo_source()
156 unpack->BufferObj->Size, in _mesa_map_pbo_source()
158 unpack->BufferObj, in _mesa_map_pbo_source()
190 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source()
202 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source()
207 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_validate_pbo_source()
227 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source_compressed()
233 ((const GLubyte *) 0) + unpack->BufferObj->Size) { in _mesa_validate_pbo_source_compressed()
240 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_validate_pbo_source_compressed()
286 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_unmap_pbo_source()
287 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in _mesa_unmap_pbo_source()
307 if (_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_map_pbo_dest()
310 pack->BufferObj->Size, in _mesa_map_pbo_dest()
312 pack->BufferObj, in _mesa_map_pbo_dest()
348 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_validate_pbo_dest()
359 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_validate_pbo_dest()
364 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_map_validate_pbo_dest()
383 if (_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_unmap_pbo_dest()
384 ctx->Driver.UnmapBuffer(ctx, pack->BufferObj, MAP_INTERNAL); in _mesa_unmap_pbo_dest()
404 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_teximage()
416 unpack->BufferObj->Size, in _mesa_validate_pbo_teximage()
418 unpack->BufferObj, in _mesa_validate_pbo_teximage()
452 if (!_mesa_is_bufferobj(packing->BufferObj)) { in _mesa_validate_pbo_compressed_teximage()
458 packing->BufferObj->Size, in _mesa_validate_pbo_compressed_teximage()
460 packing->BufferObj, in _mesa_validate_pbo_compressed_teximage()
480 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_unmap_teximage_pbo()
481 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in _mesa_unmap_teximage_pbo()