/external/libdrm/freedreno/ |
D | freedreno_priv.h | 105 int bo_size; member 232 VALGRIND_DISABLE_ADDR_ERROR_REPORTING_IN_RANGE(bo, bo->dev->bo_size); in VG_BO_RELEASE() 233 VALGRIND_MAKE_MEM_NOACCESS(bo, bo->dev->bo_size); in VG_BO_RELEASE() 240 VALGRIND_MAKE_MEM_DEFINED(bo, bo->dev->bo_size); in VG_BO_OBTAIN() 241 VALGRIND_ENABLE_ADDR_ERROR_REPORTING_IN_RANGE(bo, bo->dev->bo_size); in VG_BO_OBTAIN()
|
/external/mesa3d/src/gallium/drivers/vc5/ |
D | vc5_screen.h | 71 uint32_t bo_size; member 80 uint32_t bo_size; member
|
D | vc5_bufmgr.c | 57 fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 1024); in vc5_bo_dump_stats() 59 fprintf(stderr, " BOs cached size: %dkb\n", cache->bo_size / 1024); in vc5_bo_dump_stats() 87 cache->bo_size -= bo->size; in vc5_bo_remove_from_cache() 176 screen->bo_size += bo->size; in vc5_bo_alloc() 220 screen->bo_size -= bo->size; in vc5_bo_free() 315 cache->bo_size += bo->size; in vc5_bo_last_unreference_locked_timed()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_screen.h | 86 uint32_t bo_size; member 93 uint32_t bo_size; member
|
D | vc4_bufmgr.c | 83 fprintf(stderr, " BOs size: %dkb\n", screen->bo_size / 1024); in vc4_bo_dump_stats() 85 fprintf(stderr, " BOs cached size: %dkb\n", cache->bo_size / 1024); in vc4_bo_dump_stats() 113 cache->bo_size -= bo->size; in vc4_bo_remove_from_cache() 166 screen->bo_size -= bo->size; in vc4_bo_free() 270 screen->bo_size += bo->size; in vc4_bo_alloc() 367 cache->bo_size += bo->size; in vc4_bo_last_unreference_locked_timed() 506 screen->bo_size += bo->size; in vc4_bo_alloc_shader()
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderTessellation.cpp | 1238 unsigned int bo_size = in initRun() local 1244 run.n_restart_indices = (bo_size / interleave_rate); in initRun() 1245 bo_size += 1 /* restart index */ * run.n_restart_indices; in initRun() 1249 bo_contents = new unsigned char[bo_size]; in initRun() 1261 memset(bo_contents, 0, bo_size); in initRun() 1265 for (unsigned int n_index = interleave_rate; n_index < bo_size; n_index += interleave_rate) in initRun() 1278 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, bo_size, bo_contents, GL_STATIC_DRAW); in initRun() 1361 glw::GLint bo_size = static_cast<glw::GLint>(run.n_result_vertices * 5 /* ints */ * sizeof(int)); in iterate() local 1363 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL, GL_STATIC_DRAW); in iterate() 1410 bo_size, GL_MAP_READ_BIT); in iterate() [all …]
|
D | esextcTessellationShaderInvariance.cpp | 545 unsigned int bo_size = 0; in iterate() local 553 &vertex_ordering, &bo_size); in iterate() 555 DE_ASSERT(bo_size != 0); in iterate() 563 char* zero_bo_data = new char[bo_size]; in iterate() 565 memset(zero_bo_data, 0, bo_size); in iterate() 567 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, zero_bo_data, GL_STATIC_DRAW); in iterate() 575 iteration_data[n_iteration] = new char[bo_size]; in iterate() 633 if (used_tf_bo_size != bo_size) in iterate() 635 m_testCtx.getLog() << tcu::TestLog::Message << "Expected " << bo_size in iterate() 647 bo_size, GL_MAP_READ_BIT); in iterate() [all …]
|
D | esextcTessellationShaderVertexOrdering.cpp | 408 …glw::GLuint bo_size = static_cast<glw::GLuint>(test_iteration.n_vertices * 3 /* components */ * si… in initTestIteration() local 410 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL, /* data */ in initTestIteration() 415 test_iteration.data = new char[bo_size]; in initTestIteration() 445 bo_size, GL_MAP_READ_BIT); in initTestIteration() 449 memcpy(test_iteration.data, xfb_data, bo_size); in initTestIteration()
|
D | esextcTessellationShaderUtils.cpp | 130 …glw::GLint bo_size = static_cast<glw::GLint>(sizeof(float) * 3 /* components */ * program.n_data_v… in captureTessellationData() local 138 m_gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL, /* data */ in captureTessellationData() 158 bo_size, GL_MAP_READ_BIT); in captureTessellationData() 161 program.m_data.resize(bo_size); in captureTessellationData() 163 memcpy(&program.m_data[0], xfb_data, bo_size); in captureTessellationData()
|
D | esextcTessellationShaderBarrier.cpp | 285 int bo_size = getXFBBufferSize(); in iterate() local 288 …xfb_data = gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* offset */, bo_size, GL_MAP_READ_BI… in iterate()
|
/external/libdrm/radeon/ |
D | radeon_surface.c | 194 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in surf_minify() 292 offset = surf->bo_size; in r6_surface_init_linear() 320 offset = surf->bo_size; in r6_surface_init_linear_aligned() 353 offset = surf->bo_size; in r6_surface_init_1d() 396 offset = surf->bo_size; in r6_surface_init_2d() 608 surf->bo_size = offset + surflevel->slice_size * surflevel->nblk_z * surf->array_size; in eg_surf_minify() 644 offset = surf->bo_size; in eg_surface_init_1d() 697 offset = surf->bo_size; in eg_surface_init_2d() 804 surf->bo_size, 0); in eg_surface_init_1d_miptrees() 827 surf->stencil_tile_split, surf->bo_size, 0); in eg_surface_init_2d_miptrees() [all …]
|
D | radeon_surface.h | 127 uint64_t bo_size; member
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 278 uint64_t bo_size; in bo_alloc_internal() local 300 bo_size = size; in bo_alloc_internal() 301 if (bo_size < page_size) in bo_alloc_internal() 302 bo_size = page_size; in bo_alloc_internal() 304 bo_size = bucket->size; in bo_alloc_internal() 357 memset(map, 0, bo_size); in bo_alloc_internal() 367 bo->size = bo_size; in bo_alloc_internal() 370 struct drm_i915_gem_create create = { .size = bo_size }; in bo_alloc_internal()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 398 uint64_t bo_size = 0, bo_count = 0, range_count = 0; in radv_CreateDescriptorPool() local 416 bo_size += 32 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool() 421 bo_size += 64 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool() 424 bo_size += 96 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool() 454 if (bo_size) { in radv_CreateDescriptorPool() 455 pool->bo = device->ws->buffer_create(device->ws, bo_size, 32, in radv_CreateDescriptorPool() 461 pool->size = bo_size; in radv_CreateDescriptorPool()
|
/external/libdrm/freedreno/kgsl/ |
D | kgsl_device.c | 60 dev->bo_size = sizeof(struct kgsl_bo); in kgsl_device_new()
|
/external/libdrm/freedreno/msm/ |
D | msm_device.c | 63 dev->bo_size = sizeof(struct msm_bo); in msm_device_new()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_buffer_common.c | 108 res->bo_size = size; in si_init_resource_fields() 204 new_buf = sscreen->ws->buffer_create(sscreen->ws, res->bo_size, in si_alloc_resource() 296 assert(rdst->bo_size == rsrc->bo_size); in si_replace_buffer_storage()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer_common.c | 110 res->bo_size = size; in r600_init_resource_fields() 201 new_buf = rscreen->ws->buffer_create(rscreen->ws, res->bo_size, in r600_alloc_resource() 291 assert(rdst->bo_size == rsrc->bo_size); in r600_replace_buffer_storage()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_surface.c | 148 surf_drm->bo_size = surf_ws->surf_size; in surf_winsys_to_drm() 190 surf_ws->surf_size = surf_drm->bo_size; in surf_drm_to_winsys()
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_context.h | 50 unsigned bo_size; member
|
D | nouveau_buffer.c | 954 if ((size > nv->scratch.bo_size) || (i == nv->scratch.wrap)) in nouveau_scratch_next() 960 ret = nouveau_scratch_bo_alloc(nv, &bo, nv->scratch.bo_size); in nouveau_scratch_next() 967 nv->scratch.end = nv->scratch.bo_size; in nouveau_scratch_next()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video.c | 613 unsigned bo_size; in nv84_video_buffer_create() local 676 bo_size = mt0->total_size + mt1->total_size; in nv84_video_buffer_create() 678 bo_size, &cfg, &buffer->interlaced)) in nv84_video_buffer_create() 683 bo_size, &cfg, &buffer->full)) in nv84_video_buffer_create()
|
/external/minigbm/ |
D | amdgpu.c | 155 gem_create.in.bo_size = bo->total_size; in amdgpu_create_bo()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cPipelineStatisticsQueryTests.cpp | 155 const unsigned int PipelineStatisticsQueryTestFunctional2::bo_size = 32; member in glcts::PipelineStatisticsQueryTestFunctional2 2547 const unsigned int test_data_size = (PipelineStatisticsQueryTestFunctional2::bo_size / 2); in executeBufferSubDataTest() 2650 data_ptr->bo_size, GL_RED, GL_UNSIGNED_BYTE, &value); in executeClearBufferSubDataTest() 2798 const unsigned int test_data_size = PipelineStatisticsQueryTestFunctional2::bo_size / 2; in executeTexSubImageTest() 2897 gl.bufferData(GL_ARRAY_BUFFER, bo_size, DE_NULL, /* data */ in initObjects() 4326 …const unsigned int bo_size = sizeof(unsigned int) * (1 /* counter value */ + 3 /* draw call arg… in initObjects() local 4345 gl.bufferData(GL_ARRAY_BUFFER, bo_size, DE_NULL, GL_STATIC_DRAW); in initObjects()
|
/external/libdrm/amdgpu/ |
D | amdgpu_bo.c | 74 args.in.bo_size = alloc_buffer->alloc_size; in amdgpu_bo_alloc() 156 info->alloc_size = bo_info.bo_size; in amdgpu_bo_query_info()
|