/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 175 drm_intel_bo_map(cache->bo, false); 176 drm_intel_bo_subdata(new_bo, 0, cache->next_offset, cache->bo->virtual); 177 drm_intel_bo_unmap(cache->bo); 180 drm_intel_bo_unreference(cache->bo); 181 cache->bo = new_bo; 184 /* Since we have a new BO in place, we need to signal the units 218 drm_intel_bo_map(cache->bo, false); 219 ret = memcmp(cache->bo->virtual + item->offset, data, item->size); 220 drm_intel_bo_unmap(cache->bo); 238 /* Allocate space in the cache BO for our new program. * [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_state_cache.c | 175 drm_intel_bo_map(cache->bo, false); 176 drm_intel_bo_subdata(new_bo, 0, cache->next_offset, cache->bo->virtual); 177 drm_intel_bo_unmap(cache->bo); 180 drm_intel_bo_unreference(cache->bo); 181 cache->bo = new_bo; 184 /* Since we have a new BO in place, we need to signal the units 218 drm_intel_bo_map(cache->bo, false); 219 ret = memcmp(cache->bo->virtual + item->offset, data, item->size); 220 drm_intel_bo_unmap(cache->bo); 238 /* Allocate space in the cache BO for our new program. * [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 67 if (rrb && rrb->bo) { 68 radeon_bo_unref(rrb->bo); 171 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); 174 tiled_s8z24_map = rrb->bo->ptr; 185 radeon_bo_unmap(rrb->bo); 209 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); 213 tiled_z16_map = rrb->bo->ptr; 224 radeon_bo_unmap(rrb->bo); 246 if (!rrb || !rrb->bo) { 281 ok = rmesa->vtbl.blit(ctx, rrb->bo, rrb->draw_offset [all...] |
radeon_texture.c | 142 if (image->bo) { 143 radeon_bo_unref(image->bo); 144 image->bo = NULL; 171 image->base.Map = image->mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; 188 radeon_bo_map(image->mt->bo, write_enable); 203 radeon_bo_unmap(image->mt->bo); 228 struct radeon_bo *bo = !image->mt ? image->bo : image->mt->bo; local 237 if (bo && radeon_bo_is_referenced_by_cs(bo, rmesa->cmdbuf.cs)) [all...] |
radeon_tex_copy.c | 78 assert(rrb->bo); 80 assert(timg->mt->bo); 93 fprintf(stderr, "src size %d, dst size %d\n", rrb->bo->size, timg->mt->bo->size); 128 return radeon->vtbl.blit(ctx, rrb->bo, src_offset, src_mesaformat, rrb->pitch/rrb->cpp, 130 timg->mt->bo, dst_offset, dst_mesaformat,
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 67 if (rrb && rrb->bo) { 68 radeon_bo_unref(rrb->bo); 171 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); 174 tiled_s8z24_map = rrb->bo->ptr; 185 radeon_bo_unmap(rrb->bo); 209 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); 213 tiled_z16_map = rrb->bo->ptr; 224 radeon_bo_unmap(rrb->bo); 246 if (!rrb || !rrb->bo) { 281 ok = rmesa->vtbl.blit(ctx, rrb->bo, rrb->draw_offset [all...] |
radeon_texture.c | 142 if (image->bo) { 143 radeon_bo_unref(image->bo); 144 image->bo = NULL; 171 image->base.Map = image->mt->bo->ptr + lvl->faces[image->base.Base.Face].offset; 188 radeon_bo_map(image->mt->bo, write_enable); 203 radeon_bo_unmap(image->mt->bo); 228 struct radeon_bo *bo = !image->mt ? image->bo : image->mt->bo; local 237 if (bo && radeon_bo_is_referenced_by_cs(bo, rmesa->cmdbuf.cs)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nv20_state_fb.c | 64 if (!nfb->hierz.bo || nfb->hierz.bo->size != size) { 65 nouveau_bo_ref(NULL, &nfb->hierz.bo); 67 NULL, &nfb->hierz.bo); 74 nfb->hierz.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); 102 s->bo, 0, bo_flags); 115 s->bo, 0, bo_flags);
|
nouveau_array.c | 117 nouveau_bo_ref(nbo->bo, &a->bo); 121 nouveau_bo_map(a->bo, NOUVEAU_BO_RD, client); 122 a->buf = a->bo->map + a->offset; 126 nouveau_bo_ref(NULL, &a->bo); 150 nouveau_bo_ref(NULL, &a->bo);
|
nouveau_bufferobj.c | 42 } else if (nbo->bo) { 43 nouveau_bo_map(nbo->bo, flags, context_client(ctx)); 44 map = nbo->bo->map; 69 nouveau_bo_ref(NULL, &nbo->bo); 86 nouveau_bo_ref(NULL, &nbo->bo); 96 /* Get a hardware BO */ 99 size, NULL, &nbo->bo);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv20_state_fb.c | 64 if (!nfb->hierz.bo || nfb->hierz.bo->size != size) { 65 nouveau_bo_ref(NULL, &nfb->hierz.bo); 67 NULL, &nfb->hierz.bo); 74 nfb->hierz.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_RDWR); 102 s->bo, 0, bo_flags); 115 s->bo, 0, bo_flags);
|
nouveau_array.c | 117 nouveau_bo_ref(nbo->bo, &a->bo); 121 nouveau_bo_map(a->bo, NOUVEAU_BO_RD, client); 122 a->buf = a->bo->map + a->offset; 126 nouveau_bo_ref(NULL, &a->bo); 150 nouveau_bo_ref(NULL, &a->bo);
|
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 311 private void testCharBufferByteOrder(CharBuffer b, ByteOrder bo) throws Exception { 312 assertEquals(bo, b.order()); 313 assertEquals(bo, b.duplicate().order()); 314 assertEquals(bo, b.slice().order()); 316 assertEquals(bo, b.order()); 317 assertEquals(bo, b.duplicate().order()); 318 assertEquals(bo, b.slice().order()); 342 private void testDoubleBufferByteOrder(DoubleBuffer b, ByteOrder bo) throws Exception { 343 assertEquals(bo, b.order()); 344 assertEquals(bo, b.duplicate().order()) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_transfer.c | 34 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); 35 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 39 if (nouveau_bo_memtype(src->bo)) { 55 if (nouveau_bo_memtype(dst->bo)) { 75 PUSH_DATAh(push, src->bo->offset + src_ofst); 76 PUSH_DATA (push, src->bo->offset + src_ofst); 79 PUSH_DATAh(push, dst->bo->offset + dst_ofst); 80 PUSH_DATA (push, dst->bo->offset + dst_ofst); 126 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 127 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_buffer_objects.c | 206 drm_intel_bo_references(intel->batch.bo, intel_obj->buffer); 210 /* Replace the current busy bo with fresh data. */ 256 if (drm_intel_bo_references(intel->batch.bo, intel_obj->buffer)) { 278 * invalidated, then we can make a new little BO, let them write into that, 279 * and blit it into the real BO at unmap time. 328 if (drm_intel_bo_references(intel->batch.bo, intel_obj->buffer)) { 344 * BO, and we'll copy what they put in there out at unmap or 379 /* Ideally we'd use a BO to avoid taking up cache space for the temporary 491 if (!intel->upload.bo) 495 drm_intel_bo_subdata(intel->upload.bo, 729 drm_intel_bo *bo = intel_bufferobj_buffer(intel, intel_obj, INTEL_READ); local [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_transfer.c | 34 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD); 35 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 39 if (nouveau_bo_memtype(src->bo)) { 55 if (nouveau_bo_memtype(dst->bo)) { 75 PUSH_DATAh(push, src->bo->offset + src_ofst); 76 PUSH_DATA (push, src->bo->offset + src_ofst); 79 PUSH_DATAh(push, dst->bo->offset + dst_ofst); 80 PUSH_DATA (push, dst->bo->offset + dst_ofst); 126 nouveau_bufctx_refn(bctx, 0, dst->bo, dst->domain | NOUVEAU_BO_WR); 127 nouveau_bufctx_refn(bctx, 0, src->bo, src->domain | NOUVEAU_BO_RD) [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_buffer_objects.c | 206 drm_intel_bo_references(intel->batch.bo, intel_obj->buffer); 210 /* Replace the current busy bo with fresh data. */ 256 if (drm_intel_bo_references(intel->batch.bo, intel_obj->buffer)) { 278 * invalidated, then we can make a new little BO, let them write into that, 279 * and blit it into the real BO at unmap time. 328 if (drm_intel_bo_references(intel->batch.bo, intel_obj->buffer)) { 344 * BO, and we'll copy what they put in there out at unmap or 379 /* Ideally we'd use a BO to avoid taking up cache space for the temporary 491 if (!intel->upload.bo) 495 drm_intel_bo_subdata(intel->upload.bo, 729 drm_intel_bo *bo = intel_bufferobj_buffer(intel, intel_obj, INTEL_READ); local [all...] |
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
platform_drm.c | 45 struct gbm_bo *bo; local 52 bo = dri2_surf->current->bo; 56 return bo; 60 release_buffer(struct gbm_surface *_surf, struct gbm_bo *bo) 67 if (dri2_surf->color_buffers[i].bo == bo) { 163 if (dri2_surf->color_buffers[i].bo) 164 gbm_bo_destroy(dri2_surf->color_buffers[i].bo); 183 struct gbm_dri_bo *bo; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_query.c | 42 struct nouveau_bo *bo; member in struct:nv50_query 65 if (q->bo) { 66 nouveau_bo_ref(NULL, &q->bo); 76 q->mm = nouveau_mm_allocate(screen->base.mm_GART, size, &q->bo, &q->base); 77 if (!q->bo) 81 ret = nouveau_bo_map(q->bo, 0, screen->base.client); 86 q->data = (uint32_t *)((uint8_t *)q->bo->map + q->base); 133 PUSH_REFN (push, q->bo, NOUVEAU_BO_GART | NOUVEAU_BO_WR); 135 PUSH_DATAh(push, q->bo->offset + offset); 136 PUSH_DATA (push, q->bo->offset + offset) [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
platform_drm.c | 45 struct gbm_bo *bo; local 52 bo = dri2_surf->current->bo; 56 return bo; 60 release_buffer(struct gbm_surface *_surf, struct gbm_bo *bo) 67 if (dri2_surf->color_buffers[i].bo == bo) { 163 if (dri2_surf->color_buffers[i].bo) 164 gbm_bo_destroy(dri2_surf->color_buffers[i].bo); 183 struct gbm_dri_bo *bo; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_query.c | 42 struct nouveau_bo *bo; member in struct:nv50_query 65 if (q->bo) { 66 nouveau_bo_ref(NULL, &q->bo); 76 q->mm = nouveau_mm_allocate(screen->base.mm_GART, size, &q->bo, &q->base); 77 if (!q->bo) 81 ret = nouveau_bo_map(q->bo, 0, screen->base.client); 86 q->data = (uint32_t *)((uint8_t *)q->bo->map + q->base); 133 PUSH_REFN (push, q->bo, NOUVEAU_BO_GART | NOUVEAU_BO_WR); 135 PUSH_DATAh(push, q->bo->offset + offset); 136 PUSH_DATA (push, q->bo->offset + offset) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
nouveau_screen.c | 86 struct nouveau_bo *bo = 0; local 89 ret = nouveau_bo_name_ref(dev, whandle->handle, &bo); 97 return bo; 103 struct nouveau_bo *bo, 110 return nouveau_bo_name_get(bo, &whandle->handle) == 0; 112 whandle->handle = bo->handle;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600.h | 109 struct r600_resource *bo; member in struct:r600_pipe_reg 124 struct r600_resource *bo; member in struct:r600_block_reloc 215 struct r600_resource *bo, 225 struct r600_resource *bo, 228 #define r600_pipe_state_add_reg_bo(state, offset, value, bo, usage) _r600_pipe_state_add_reg_bo(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo, usage)
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_screen.c | 86 struct nouveau_bo *bo = 0; local 89 ret = nouveau_bo_name_ref(dev, whandle->handle, &bo); 97 return bo; 103 struct nouveau_bo *bo, 110 return nouveau_bo_name_get(bo, &whandle->handle) == 0; 112 whandle->handle = bo->handle;
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600.h | 109 struct r600_resource *bo; member in struct:r600_pipe_reg 124 struct r600_resource *bo; member in struct:r600_block_reloc 215 struct r600_resource *bo, 225 struct r600_resource *bo, 228 #define r600_pipe_state_add_reg_bo(state, offset, value, bo, usage) _r600_pipe_state_add_reg_bo(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo, usage)
|