/hardware/intel/img/libdrm/libdrm/intel/ |
intel_bufmgr.c | 48 drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, 51 return bufmgr->bo_alloc(bufmgr, name, size, alignment); 55 drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name, 58 return bufmgr->bo_alloc_for_render(bufmgr, name, size, alignment); 64 bo->bufmgr->bo_reference(bo); 73 bo->bufmgr->bo_unreference(bo); 79 return buf->bufmgr->bo_map(buf, write_enable); 85 return buf->bufmgr->bo_unmap(buf) [all...] |
intel_bufmgr.h | 31 * Public definitions of Intel-specific bufmgr functions. 68 drm_intel_bufmgr *bufmgr; member in struct:_drm_intel_bo 76 drm_intel_bo *drm_intel_bo_alloc(drm_intel_bufmgr *bufmgr, const char *name, 78 drm_intel_bo *drm_intel_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, 93 void drm_intel_bufmgr_set_debug(drm_intel_bufmgr *bufmgr, int enable_debug); 94 void drm_intel_bufmgr_destroy(drm_intel_bufmgr *bufmgr); 116 drm_intel_bo *drm_intel_bo_gem_create_from_name(drm_intel_bufmgr *bufmgr, 119 void drm_intel_bufmgr_gem_enable_reuse(drm_intel_bufmgr *bufmgr); 124 int drm_intel_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, int crtc_id); 132 void drm_intel_bufmgr_fake_set_last_dispatch(drm_intel_bufmgr *bufmgr, [all...] |
intel_bufmgr_gem.c | 64 if (bufmgr_gem->bufmgr.debug) \ 80 drm_intel_bufmgr bufmgr; member in struct:_drm_intel_bufmgr_gem 248 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; 292 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; 305 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bo->bufmgr; 319 drm_intel_gem_bo_alloc_internal(drm_intel_bufmgr *bufmgr, const char *name, 323 drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr; 391 bo_gem->bo.bufmgr = bufmgr; 411 drm_intel_gem_bo_alloc_for_render(drm_intel_bufmgr *bufmgr, const char *name [all...] |
intel_bufmgr_fake.c | 57 if (bufmgr_fake->bufmgr.debug) \ 114 drm_intel_bufmgr bufmgr; member in struct:_bufmgr_fake 240 void drm_intel_bufmgr_fake_set_fence_callback(drm_intel_bufmgr *bufmgr, 246 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bufmgr; 414 drm_intel_bufmgr_fake *bufmgr_fake= (drm_intel_bufmgr_fake *)bo->bufmgr; 485 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; 511 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; 642 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; 727 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; 739 drm_intel_bufmgr_fake *bufmgr_fake = (drm_intel_bufmgr_fake *)bo->bufmgr; [all...] |
intel_bufmgr_priv.h | 31 * Private definitions of Intel-specific bufmgr functions and structures. 51 drm_intel_bo *(*bo_alloc)(drm_intel_bufmgr *bufmgr, const char *name, 59 drm_intel_bo *(*bo_alloc_for_render)(drm_intel_bufmgr *bufmgr, 114 void (*destroy)(drm_intel_bufmgr *bufmgr); 205 * \param bufmgr the associated buffer manager 208 int (*get_pipe_from_crtc_id)(drm_intel_bufmgr *bufmgr, int crtc_id);
|
/hardware/intel/img/libdrm/tests/modetest/ |
modetest.c | 346 create_test_buffer(drm_intel_bufmgr *bufmgr, 397 bo = drm_intel_bo_alloc(bufmgr, "frontbuffer", size, 4096); 417 create_test_buffer(drm_intel_bufmgr *bufmgr, 429 bo = drm_intel_bo_alloc(bufmgr, "frontbuffer", size, 4096); 466 drm_intel_bufmgr *bufmgr; local 482 bufmgr = drm_intel_bufmgr_gem_init(fd, 2<<20); 483 if (!bufmgr) { 484 fprintf(stderr, "failed to init bufmgr: %s\n", strerror(errno)); 488 if (create_test_buffer(bufmgr, width, height, &stride, &bo))
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_screen.h | 64 dri_bufmgr *bufmgr; member in struct:intel_screen
|
intel_regions.h | 52 * A layer on top of the bufmgr buffers that adds a few useful things:
|
intel_buffer_objects.c | 51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", 66 * bufmgr buffers. Both have an integer handle and a hashtable to 218 drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64); 353 intel_obj->range_map_bo = drm_intel_bo_alloc(intel->bufmgr, 402 temp_bo = drm_intel_bo_alloc(intel->bufmgr, "range map flush", length, 64); 513 intel->upload.bo = drm_intel_bo_alloc(intel->bufmgr, "upload", size, 0);
|
intel_context.c | 596 if (intelScreen->bufmgr == NULL) 659 intel->bufmgr = intelScreen->bufmgr; 666 intel_bufmgr_gem_enable_reuse(intel->bufmgr); 748 dri_bufmgr_set_debug(intel->bufmgr, true); 751 drm_intel_bufmgr_gem_set_aub_dump(intel->bufmgr, true);
|
intel_screen.c | 634 dri_bufmgr_destroy(intelScreen->bufmgr); 838 intelScreen->bufmgr = intel_bufmgr_gem_init(spriv->fd, BATCH_SZ); 839 if (intelScreen->bufmgr == NULL) { 851 drm_intel_bufmgr_gem_enable_fenced_relocs(intelScreen->bufmgr); 896 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "swizzle test", 1082 intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); [all...] |
intel_batchbuffer.c | 64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, 81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", 160 /* TODO: Push this whole function into bufmgr.
|
intel_regions.c | 28 /* Provide additional functionality on top of bufmgr buffers: 206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region", 263 buffer = intel_bo_gem_create_from_name(screen->bufmgr, name, handle);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_screen.h | 64 dri_bufmgr *bufmgr; member in struct:intel_screen
|
intel_regions.h | 52 * A layer on top of the bufmgr buffers that adds a few useful things:
|
intel_buffer_objects.c | 51 intel_obj->buffer = drm_intel_bo_alloc(intel->bufmgr, "bufferobj", 66 * bufmgr buffers. Both have an integer handle and a hashtable to 218 drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64); 353 intel_obj->range_map_bo = drm_intel_bo_alloc(intel->bufmgr, 402 temp_bo = drm_intel_bo_alloc(intel->bufmgr, "range map flush", length, 64); 513 intel->upload.bo = drm_intel_bo_alloc(intel->bufmgr, "upload", size, 0);
|
intel_context.c | 596 if (intelScreen->bufmgr == NULL) 659 intel->bufmgr = intelScreen->bufmgr; 666 intel_bufmgr_gem_enable_reuse(intel->bufmgr); 748 dri_bufmgr_set_debug(intel->bufmgr, true); 751 drm_intel_bufmgr_gem_set_aub_dump(intel->bufmgr, true);
|
intel_screen.c | 634 dri_bufmgr_destroy(intelScreen->bufmgr); 838 intelScreen->bufmgr = intel_bufmgr_gem_init(spriv->fd, BATCH_SZ); 839 if (intelScreen->bufmgr == NULL) { 851 drm_intel_bufmgr_gem_enable_fenced_relocs(intelScreen->bufmgr); 896 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "swizzle test", 1082 intelScreen->deviceID = drm_intel_bufmgr_gem_get_devid(intelScreen->bufmgr); [all...] |
intel_batchbuffer.c | 64 intel->batch.workaround_bo = drm_intel_bo_alloc(intel->bufmgr, 81 intel->batch.bo = drm_intel_bo_alloc(intel->bufmgr, "batchbuffer", 160 /* TODO: Push this whole function into bufmgr.
|
intel_regions.c | 28 /* Provide additional functionality on top of bufmgr buffers: 206 buffer = drm_intel_bo_alloc_tiled(screen->bufmgr, "region", 263 buffer = intel_bo_gem_create_from_name(screen->bufmgr, name, handle);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_queryobj.c | 256 query->bo = drm_intel_bo_alloc(intel->bufmgr, "timer query", 4096, 4096); 307 query->bo = drm_intel_bo_alloc(intel->bufmgr, "timer query", 403 brw->query.bo = drm_intel_bo_alloc(intel->bufmgr, "query", 4096, 1); 460 drm_intel_reg_read(intel->bufmgr, TIMESTAMP, &result);
|
brw_state_cache.c | 171 new_bo = drm_intel_bo_alloc(intel->bufmgr, "program cache", new_size, 64); 333 cache->bo = drm_intel_bo_alloc(intel->bufmgr,
|
brw_vs_surface_state.c | 76 brw->vs.const_bo = drm_intel_bo_alloc(intel->bufmgr, "vp_const_buffer",
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_queryobj.c | 256 query->bo = drm_intel_bo_alloc(intel->bufmgr, "timer query", 4096, 4096); 307 query->bo = drm_intel_bo_alloc(intel->bufmgr, "timer query", 403 brw->query.bo = drm_intel_bo_alloc(intel->bufmgr, "query", 4096, 1); 460 drm_intel_reg_read(intel->bufmgr, TIMESTAMP, &result);
|
brw_state_cache.c | 171 new_bo = drm_intel_bo_alloc(intel->bufmgr, "program cache", new_size, 64); 333 cache->bo = drm_intel_bo_alloc(intel->bufmgr,
|