/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_bo.c | 52 static inline struct radeon_bo *radeon_bo(struct pb_buffer *bo) 54 return (struct radeon_bo *)bo; 63 static bool radeon_real_bo_is_busy(struct radeon_bo *bo) 67 args.handle = bo->handle; 68 return drmCommandWriteRead(bo->rws->fd, DRM_RADEON_GEM_BUSY, 72 static bool radeon_bo_is_busy(struct radeon_bo *bo) 77 if (bo->handle) 78 return radeon_real_bo_is_busy(bo); 80 pipe_mutex_lock(bo->rws->bo_fence_lock); 81 for (num_idle = 0; num_idle < bo->u.slab.num_fences; ++num_idle) 135 struct radeon_bo *bo = radeon_bo(_buf); local 179 struct radeon_bo *bo = (struct radeon_bo*)buf; local 331 struct radeon_bo *bo = radeon_bo(_buf); local 397 struct radeon_bo *bo = radeon_bo(_buf); local 475 struct radeon_bo *bo = (struct radeon_bo*)buf; local 551 struct radeon_bo *bo = (struct radeon_bo*)_buf; local 606 struct radeon_bo *bo; local 707 struct radeon_bo *bo = radeon_bo(_buf); local 717 struct radeon_bo *bo = NULL; \/* fix container_of *\/ local 725 struct radeon_bo *bo = radeon_bo(_buf); local 787 struct radeon_bo *bo = &slab->entries[i]; local 818 struct radeon_bo *bo = &slab->entries[i]; local 861 struct radeon_bo *bo = radeon_bo(_buf); local 896 struct radeon_bo *bo = radeon_bo(_buf); local 945 struct radeon_bo *bo; local 1059 struct radeon_bo *bo; local 1144 struct radeon_bo *bo; local 1296 struct radeon_bo *bo = radeon_bo(buffer); local 1349 struct radeon_bo *bo = radeon_bo(buf); local [all...] |
/external/mesa3d/src/gbm/backends/dri/ |
gbm_dri.c | 573 struct gbm_dri_bo *bo = gbm_dri_bo(_bo); local 575 if (bo->image != NULL) { 580 memcpy(bo->map, buf, count); 589 struct gbm_dri_bo *bo = gbm_dri_bo(_bo); local 592 if (bo->image == NULL) 595 if (!dri->image->queryImage(bo->image, __DRI_IMAGE_ATTRIB_FD, &fd)) 605 struct gbm_dri_bo *bo = gbm_dri_bo(_bo); local 608 if (bo->image != NULL) { 609 dri->image->destroyImage(bo->image); 611 gbm_dri_bo_unmap_dumb(bo); 654 struct gbm_dri_bo *bo; local 800 struct gbm_dri_bo *bo; local 857 struct gbm_dri_bo *bo; local 945 struct gbm_dri_bo *bo = gbm_dri_bo(_bo); local 976 struct gbm_dri_bo *bo = gbm_dri_bo(_bo); local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_mipmap_tree.c | 206 if (y_or_x && mt->region->bo->size >= intel->max_gtt_map_object_size) { 231 drm_intel_bo *bo, 245 /* Nothing will be able to use this miptree with the BO if the offset isn't 269 drm_intel_bo_reference(bo); 270 region->bo = bo; 305 region->bo, 342 region->bo, 699 drm_intel_bo *bo = mt->region->bo; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
intel_tex_image.c | 131 bool tex_busy = intelImage->mt && drm_intel_bo_busy(intelImage->mt->bo); 224 intel_miptree_create_for_bo(brw, image->bo, format, 246 * Binds a BO to a texture image, as if it was uploaded by glTexImage2D(). 262 mt = intel_miptree_create_for_bo(brw, image->bo, image->format, 319 * to get the BO for the drawable from the window system. 339 mt = intel_miptree_create_for_bo(brw, rb->mt->bo, texFormat, 0, 470 drm_intel_bo *bo; local 528 bo = image->mt->bo; 530 if (drm_intel_bo_references(brw->batch.bo, bo)) [all...] |
brw_context.c | 173 intel_disable_rb_aux_buffer(struct brw_context *brw, const drm_intel_bo *bo) 182 if (irb && irb->mt->bo == bo) { 219 if (intel_disable_rb_aux_buffer(brw, intel_tex->mt->bo)) 267 brw_render_cache_set_check_flush(brw, tex_obj->mt->bo); 298 intel_disable_rb_aux_buffer(brw, tex_obj->mt->bo)) { 303 brw_render_cache_set_check_flush(brw, tex_obj->mt->bo); 323 brw_render_cache_set_check_flush(brw, irb->mt->bo); 354 brw_render_cache_set_check_flush(brw, mt->bo); 1605 drm_intel_bo *bo; local [all...] |
brw_draw_upload.c | 497 &buffer->bo, &buffer->offset); 508 &buffer->bo, &buffer->offset); 698 if (buffer->bo) 704 buffer->bo = intel_bufferobj_buffer(brw, enabled_buffer[i], start, range); 705 drm_intel_bo_reference(buffer->bo); 795 drm_intel_bo *bo, 837 OUT_RELOC64(bo, I915_GEM_DOMAIN_VERTEX, 0, start_offset); 848 OUT_RELOC(bo, I915_GEM_DOMAIN_VERTEX, 0, start_offset); 857 OUT_RELOC(bo, I915_GEM_DOMAIN_VERTEX, 0, end_offset - 1); 860 OUT_RELOC(bo, I915_GEM_DOMAIN_VERTEX, 0, start_offset) 1213 drm_intel_bo *bo = local [all...] |
intel_mipmap_tree.h | 28 * This file defines the structure that wraps a BO and describes how the 282 drm_intel_bo *bo; member in struct:intel_miptree_aux_buffer 285 * Offset into bo where the surface starts. 287 * @see intel_mipmap_aux_buffer::bo 300 * will be Y-tiled). It is possible that it will not be the same as bo->size 355 drm_intel_bo *bo; member in struct:intel_mipmap_tree 545 * Offset into bo where the surface starts. 547 * @see intel_mipmap_tree::bo 648 * buffer. This is useful for sharing the miptree bo with an external client 714 drm_intel_bo *bo, [all...] |
/external/mesa3d/src/mesa/main/ |
texparam.c | 1500 const struct gl_buffer_object *bo = texObj->BufferObject; local [all...] |
/external/autotest/client/site_tests/graphics_Gbm/src/ |
gbmtest.c | 193 static int check_bo(struct gbm_bo *bo) 200 CHECK(bo); 201 CHECK(gbm_bo_get_width(bo) >= 0); 202 CHECK(gbm_bo_get_height(bo) >= 0); 203 CHECK(gbm_bo_get_stride(bo) >= gbm_bo_get_width(bo)); 205 format = gbm_bo_get_format(bo); 211 num_planes = gbm_bo_get_num_planes(bo); 219 CHECK(gbm_bo_get_plane_handle(bo, 0).u32 == gbm_bo_get_handle(bo).u32) 395 struct gbm_bo *bo; local 410 struct gbm_bo *bo; local 425 struct gbm_bo *bo; local 432 struct gbm_bo *bo; local 439 struct gbm_bo *bo; local 458 struct gbm_bo *bo; local 481 struct gbm_bo *bo; local 563 struct gbm_bo *bo; local 586 struct gbm_bo *bo; local 715 struct gbm_bo *bo; local 764 struct gbm_bo *bo; local 860 struct gbm_bo *bo; local 921 struct gbm_bo *bo; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
CollectionUtilities.java | 275 Comparable bo = (Comparable) bi.next(); local 277 int rel = ao.compareTo(bo); 283 bo = (Comparable) bi.next(); 292 Object bo = bi.next(); local 294 int rel = aac.compare(ao, bo); 300 bo = bi.next(); 328 Comparable bo = (Comparable) bi.next(); local 330 int rel = ao.compareTo(bo); 334 bo = (Comparable) bi.next(); 347 Object bo = bi.next() local [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
CollectionUtilities.java | 272 Comparable bo = (Comparable) bi.next(); local 274 int rel = ao.compareTo(bo); 280 bo = (Comparable) bi.next(); 289 Object bo = bi.next(); local 291 int rel = aac.compare(ao, bo); 297 bo = bi.next(); 325 Comparable bo = (Comparable) bi.next(); local 327 int rel = ao.compareTo(bo); 331 bo = (Comparable) bi.next(); 344 Object bo = bi.next() local [all...] |
/external/libdrm/include/drm/ |
vc4_drm.h | 75 * BO. 83 * to the tile allocation BO. 93 * and an attribute count), so those BO indices into bo_handles are 105 * the program. Following the texture BO handle indices is the actual 129 /* Number of BO handles passed in (size is that times 4). */ 174 * completion of the last DRM_VC4_SUBMIT_CL on a BO. 177 * rendering to a BO and you want to wait for all rendering to be 195 /** Returned GEM handle for the BO. */ 236 /** Returned GEM handle for the BO. */ 255 __u64 bo; member in struct:drm_vc4_get_hang_state [all...] |
/external/libdrm/nouveau/ |
nouveau.h | 161 struct nouveau_bo *bo; member in struct:nouveau_bufref 205 struct nouveau_bo *bo; member in struct:nouveau_pushbuf_refn
|
/external/libjpeg-turbo/simd/ |
jdmrgext-altivec.c | 51 rl, rh, gl, gh, bl, bh, re, ro, ge, go, be, bo; local 157 bo = vec_add(b_yl, yo); 164 bo = vec_add(b_yh, yo); 175 bl = vec_mergeh(be, bo); 176 bh = vec_mergel(be, bo);
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
ir3_shader.h | 109 struct fd_bo *bo; member in struct:ir3_shader_variant
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_render_gen.h | 55 struct intel_bo *bo; member in struct:ilo_render::ilo_render_scratch_space 65 * batch bo changed. This is because we do not pin the resources and 368 struct intel_bo *bo = (write_mask) ? r->workaround_bo : NULL; local 386 gen6_PIPE_CONTROL(r->builder, dw1, bo, 0, 0);
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_screen.h | 99 struct nouveau_bo *bo; member in struct:nv50_screen::__anon29652 150 if (likely(res->bo)) {
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_screen.h | 99 struct nouveau_bo *bo; member in struct:nvc0_screen::__anon29664 157 if (likely(res->bo)) {
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state_draw.c | 993 struct pipe_resource *bo = &state->bo[0]->b.b; local [all...] |
/external/mesa3d/src/gallium/drivers/vc4/kernel/ |
vc4_validate.c | 100 struct drm_vc4_bo *bo; local 103 DRM_ERROR("BO index %d greater than BO count %d\n", 107 obj = exec->bo[hindex]; 108 bo = to_vc4_bo(&obj->base); 110 if (bo->validated_shader) { 111 DRM_ERROR("Trying to use shader BO as something other than " 368 * the start of a BO containing both it and the tile alloc. 677 * sure there is actually space in the BO. 744 struct drm_gem_cma_object *bo[shader_reloc_count + 8] local [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_resource.c | 44 struct vc4_bo *bo; local 56 bo = vc4_bo_alloc(vc4_screen(pscreen), 61 if (bo) { 62 vc4_bo_unreference(&rsc->bo); 63 rsc->bo = bo; 89 vc4_store_tiled_image(rsc->bo->map + slice->offset + 265 buf = vc4_bo_map_unsynchronized(rsc->bo); 267 buf = vc4_bo_map(rsc->bo); 269 fprintf(stderr, "Failed to map bo\n") [all...] |
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
amdgpu_cs.c | 271 int amdgpu_lookup_buffer(struct amdgpu_cs_context *cs, struct amdgpu_winsys_bo *bo) 273 unsigned hash = bo->unique_id & (ARRAY_SIZE(cs->buffer_indices_hashlist)-1); 278 if (bo->bo) { 287 if (i < 0 || (i < num_buffers && buffers[i].bo == bo)) 290 /* Hash collision, look for the BO in the list of buffers linearly. */ 292 if (buffers[i].bo == bo) { 310 amdgpu_lookup_or_add_real_buffer(struct amdgpu_cs *acs, struct amdgpu_winsys_bo *bo) 435 struct amdgpu_winsys_bo *bo = (struct amdgpu_winsys_bo*)buf; local 890 struct amdgpu_winsys_bo *bo = buffer->bo; local 996 struct amdgpu_winsys_bo *bo; local 1171 struct amdgpu_winsys_bo *bo = cur->real_buffers[i].bo; local 1178 struct amdgpu_winsys_bo *bo = cur->slab_buffers[i].bo; local 1242 struct amdgpu_winsys_bo *bo = (struct amdgpu_winsys_bo*)_buf; local [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_allocator.c | 64 * - All allocations within one bo so we can point one of the 68 * block (8k) allocator, which operates out of a bo. Allocation is done by 70 * bo. Growing the range may run out of space in the bo which we then need to 71 * grow. Growing the bo is tricky in a multi-threaded, lockless environment: 74 * to grow it as necessary. We mmap the new size and then create a gem bo for 258 anv_bo_init(&pool->bo, 0, 0); 288 /* Immediately grow the pool so we'll have a backing bo. */ 370 size_t old_size = pool->bo.size; 478 anv_bo_init(&pool->bo, gem_handle, size) 801 struct anv_bo bo; member in struct:bo_pool_bo_link 878 struct anv_bo bo = *bo_in; local 906 struct anv_scratch_bo *bo = &pool->bos[i][s]; local 923 struct anv_scratch_bo *bo = &pool->bos[scratch_size_log2][stage]; local [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_array.c | 58 struct gl_buffer_object *bo = binding->BufferObj; local 60 if (_mesa_is_bufferobj(bo)) { 61 if (!bo->Mappings[MAP_INTERNAL].Pointer) { 63 bo->Mappings[MAP_INTERNAL].Pointer = 64 ctx->Driver.MapBufferRange(ctx, 0, bo->Size, 65 GL_MAP_READ_BIT, bo, MAP_INTERNAL); 68 bo->Mappings[MAP_INTERNAL].Pointer); 83 array->Ptr, bo->Name); 108 struct gl_buffer_object *bo = binding->BufferObj; local 109 if (_mesa_is_bufferobj(bo) && _mesa_bufferobj_mapped(bo, MAP_INTERNAL)) [all...] |
/hardware/intel/img/psb_video/src/ |
psb_surface_ext.h | 85 struct _WsbmBufferObject *bo; member in struct:_PsbVASurface
|