/external/deqp/modules/gles3/functional/ |
D | es3fBufferObjectQueryTests.cpp | 345 GL_MAP_WRITE_BIT, in testBuffer() 346 GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_RANGE_BIT, in testBuffer() 347 GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT, in testBuffer() 348 GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_RANGE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT, in testBuffer() 350 GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT, in testBuffer() 351 GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT | GL_MAP_INVALIDATE_RANGE_BIT, in testBuffer() 352 GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT | GL_MAP_INVALIDATE_BUFFER_BIT, in testBuffer() 353 …GL_MAP_WRITE_BIT | GL_MAP_FLUSH_EXPLICIT_BIT | GL_MAP_INVALIDATE_RANGE_BIT | GL_MAP_INVAL… in testBuffer() 355 GL_MAP_WRITE_BIT | GL_MAP_UNSYNCHRONIZED_BIT, in testBuffer() 356 GL_MAP_WRITE_BIT | GL_MAP_UNSYNCHRONIZED_BIT | GL_MAP_INVALIDATE_RANGE_BIT, in testBuffer() [all …]
|
D | es3fBufferMapTests.cpp | 133 void* ptr = glMapBufferRange(m_bufferTarget, 0, m_size, GL_MAP_WRITE_BIT); in iterate() 187 void* ptr = glMapBufferRange(m_bufferTarget, m_mapOffset, m_mapSize, GL_MAP_WRITE_BIT); in iterate() 248 …void* ptr = glMapBufferRange(m_bufferTarget, mapOffset, mapSize, GL_MAP_WRITE_BIT|GL_MAP_INVALIDAT… in iterate() 307 …void* ptr = glMapBufferRange(m_bufferTarget, mapOffset, mapSize, GL_MAP_WRITE_BIT|GL_MAP_INVALIDAT… in iterate() 368 …void* ptr = glMapBufferRange(m_bufferTarget, mapOffset, mapSize, GL_MAP_WRITE_BIT|GL_MAP_FLUSH_EXP… in iterate() 443 void* ptr = glMapBufferRange(m_bufferTarget, 0, size, GL_MAP_WRITE_BIT|GL_MAP_UNSYNCHRONIZED_BIT); in iterate() 507 …* ptr = glMapBufferRange(m_bufferTarget, m_mapOffset, m_mapSize, GL_MAP_READ_BIT|GL_MAP_WRITE_BIT); in iterate()
|
/external/mesa3d/src/mesa/main/ |
D | bufferobj.c | 161 ? GL_MAP_WRITE_BIT : (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in default_access_mode() 172 const GLbitfield rwFlags = GL_MAP_READ_BIT | GL_MAP_WRITE_BIT; in simplified_access_mode() 177 if ((access & GL_MAP_WRITE_BIT) == GL_MAP_WRITE_BIT) in simplified_access_mode() 580 GL_MAP_WRITE_BIT, src); in _mesa_copy_buffer_subdata() 591 (GL_MAP_WRITE_BIT | in _mesa_copy_buffer_subdata() 1156 accessFlags = GL_MAP_WRITE_BIT; in _mesa_MapBufferARB() 1160 accessFlags = GL_MAP_READ_BIT | GL_MAP_WRITE_BIT; in _mesa_MapBufferARB() 1268 if (bufObj->AccessFlags & GL_MAP_WRITE_BIT) { in _mesa_UnmapBufferARB() 1535 GL_MAP_WRITE_BIT | in _mesa_MapBufferRange() 1545 if ((access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == 0) { in _mesa_MapBufferRange() [all …]
|
D | accum.c | 147 GL_MAP_WRITE_BIT, &accMap, &accRowStride); in _mesa_clear_accum_buffer() 201 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in accum_scale_or_bias() 265 mappingFlags = GL_MAP_WRITE_BIT; in accum_or_load() 366 GLbitfield mappingFlags = GL_MAP_WRITE_BIT; in accum_return()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_span.c | 122 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in intel_span_map_buffers() 193 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in intel_map_vertex_shader_textures()
|
D | intel_buffer_objects.c | 300 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range() 360 (access & GL_MAP_WRITE_BIT) != 0); in intel_bufferobj_map_range() 372 drm_intel_bo_map(intel_obj->buffer, (access & GL_MAP_WRITE_BIT) != 0); in intel_bufferobj_map_range() 659 GL_MAP_WRITE_BIT, in intel_bufferobj_copy_subdata() 670 GL_MAP_WRITE_BIT, dst); in intel_bufferobj_copy_subdata()
|
D | intel_mipmap_tree.c | 717 void *dst = intel_region_map(intel, dst_mt->region, GL_MAP_WRITE_BIT); in intel_miptree_copy_slice() 1159 ret = drm_intel_bo_map(map->bo, (map->mode & GL_MAP_WRITE_BIT) != 0); in intel_miptree_map_blit() 1187 assert(!(map->mode & GL_MAP_WRITE_BIT)); in intel_miptree_unmap_blit() 1246 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_unmap_s8() 1290 assert(map->mode & GL_MAP_WRITE_BIT); in intel_miptree_map_etc1() 1415 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_unmap_depthstencil() 1533 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_map_singlesample() 1544 !(mode & GL_MAP_WRITE_BIT) && in intel_miptree_map_singlesample() 1665 if (map->mode & GL_MAP_WRITE_BIT) in intel_miptree_unmap_multisample()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_span.c | 122 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in intel_span_map_buffers() 193 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in intel_map_vertex_shader_textures()
|
D | intel_buffer_objects.c | 300 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range() 360 (access & GL_MAP_WRITE_BIT) != 0); in intel_bufferobj_map_range() 372 drm_intel_bo_map(intel_obj->buffer, (access & GL_MAP_WRITE_BIT) != 0); in intel_bufferobj_map_range() 659 GL_MAP_WRITE_BIT, in intel_bufferobj_copy_subdata() 670 GL_MAP_WRITE_BIT, dst); in intel_bufferobj_copy_subdata()
|
D | intel_mipmap_tree.c | 717 void *dst = intel_region_map(intel, dst_mt->region, GL_MAP_WRITE_BIT); in intel_miptree_copy_slice() 1159 ret = drm_intel_bo_map(map->bo, (map->mode & GL_MAP_WRITE_BIT) != 0); in intel_miptree_map_blit() 1187 assert(!(map->mode & GL_MAP_WRITE_BIT)); in intel_miptree_unmap_blit() 1246 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_unmap_s8() 1290 assert(map->mode & GL_MAP_WRITE_BIT); in intel_miptree_map_etc1() 1415 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_unmap_depthstencil() 1533 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_map_singlesample() 1544 !(mode & GL_MAP_WRITE_BIT) && in intel_miptree_map_singlesample() 1665 if (map->mode & GL_MAP_WRITE_BIT) in intel_miptree_unmap_multisample()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_span.c | 122 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in intel_span_map_buffers() 193 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT); in intel_map_vertex_shader_textures()
|
D | intel_buffer_objects.c | 300 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range() 360 (access & GL_MAP_WRITE_BIT) != 0); in intel_bufferobj_map_range() 372 drm_intel_bo_map(intel_obj->buffer, (access & GL_MAP_WRITE_BIT) != 0); in intel_bufferobj_map_range() 659 GL_MAP_WRITE_BIT, in intel_bufferobj_copy_subdata() 670 GL_MAP_WRITE_BIT, dst); in intel_bufferobj_copy_subdata()
|
D | intel_mipmap_tree.c | 717 void *dst = intel_region_map(intel, dst_mt->region, GL_MAP_WRITE_BIT); in intel_miptree_copy_slice() 1159 ret = drm_intel_bo_map(map->bo, (map->mode & GL_MAP_WRITE_BIT) != 0); in intel_miptree_map_blit() 1187 assert(!(map->mode & GL_MAP_WRITE_BIT)); in intel_miptree_unmap_blit() 1246 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_unmap_s8() 1290 assert(map->mode & GL_MAP_WRITE_BIT); in intel_miptree_map_etc1() 1415 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_unmap_depthstencil() 1533 if (map->mode & GL_MAP_WRITE_BIT) { in intel_miptree_map_singlesample() 1544 !(mode & GL_MAP_WRITE_BIT) && in intel_miptree_map_singlesample() 1665 if (map->mode & GL_MAP_WRITE_BIT) in intel_miptree_unmap_multisample()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_buffer_objects.c | 181 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_WRITE_BIT; in radeonMapBufferRange()
|
D | radeon_fbo.c | 171 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer_s8z24() 209 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer_z16() 293 ret = radeon_bo_map(rrb->map_bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer() 326 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer() 356 if (rrb->map_mode & GL_MAP_WRITE_BIT) { in radeon_unmap_renderbuffer_s8z24() 389 if (rrb->map_mode & GL_MAP_WRITE_BIT) { in radeon_unmap_renderbuffer_z16() 441 if (rrb->map_mode & GL_MAP_WRITE_BIT) { in radeon_unmap_renderbuffer()
|
D | radeon_span.c | 65 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in radeon_renderbuffer_map()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_buffer_objects.c | 181 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_WRITE_BIT; in radeonMapBufferRange()
|
D | radeon_fbo.c | 171 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer_s8z24() 209 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer_z16() 293 ret = radeon_bo_map(rrb->map_bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer() 326 ret = radeon_bo_map(rrb->bo, !!(mode & GL_MAP_WRITE_BIT)); in radeon_map_renderbuffer() 356 if (rrb->map_mode & GL_MAP_WRITE_BIT) { in radeon_unmap_renderbuffer_s8z24() 389 if (rrb->map_mode & GL_MAP_WRITE_BIT) { in radeon_unmap_renderbuffer_z16() 441 if (rrb->map_mode & GL_MAP_WRITE_BIT) { in radeon_unmap_renderbuffer()
|
D | radeon_span.c | 65 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in radeon_renderbuffer_map()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2116 ptr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, randomSize, GL_MAP_WRITE_BIT); in iterate() 2742 << ((m_mapFlags & GL_MAP_WRITE_BIT) ? ("\tGL_MAP_WRITE_BIT\n") : ("")) in init() 2960 << ((m_mapFlags & GL_MAP_WRITE_BIT) ? ("\tGL_MAP_WRITE_BIT\n") : ("")) in init() 3620 << ((m_mapFlags & GL_MAP_WRITE_BIT) ? ("\tGL_MAP_WRITE_BIT\n") : ("")) in init() 3737 << ((m_mapFlags & GL_MAP_WRITE_BIT) ? ("\tGL_MAP_WRITE_BIT\n") : ("")) in init() 4540 …mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, unrelatedUploadSize, GL_MAP_WRITE_BIT | GL_MAP_INVA… in runSample() 4972 …mapPtr = gl.mapBufferRange(target, offset, size, GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_RANGE_BIT | … in runSample() 5300 …const int mapFlags = (m_mapFlags == MAPFLAG_INVALIDATE_BUFFER) ? (GL_MAP_WRITE_BIT | GL_MAP_INVAL… in runSample() 5301 … (m_mapFlags == MAPFLAG_INVALIDATE_RANGE) ? (GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_RANGE_BIT) : in runSample() 5771 …mapPtr = gl.mapBufferRange(target, 0, size, GL_MAP_WRITE_BIT | GL_MAP_INVALIDATE_BUFFER_BIT | GL_M… in uploadBuffer() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 117 if (access & GL_MAP_WRITE_BIT) in nouveau_teximage_map() 194 if (mode & GL_MAP_WRITE_BIT) in nouveau_map_texture_image() 513 nouveau_teximage_map(ctx, ti, GL_MAP_WRITE_BIT, in nouveau_teximage() 587 nouveau_teximage_map(ctx, ti, GL_MAP_WRITE_BIT, in nouveau_texsubimage()
|
D | nouveau_bufferobj.c | 138 if (access & GL_MAP_WRITE_BIT) in nouveau_bufferobj_map_range()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_blit.c | 222 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in blit_nearest() 259 GL_MAP_WRITE_BIT, &dstMap, &dstRowStride); in blit_nearest() 566 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in blit_linear() 596 GL_MAP_WRITE_BIT, &dstMap, &dstRowStride); in blit_linear()
|
D | s_drawpix.c | 68 GL_MAP_WRITE_BIT, &dst, &dstRowStride); in fast_draw_rgb_ubyte_pixels() 115 GL_MAP_WRITE_BIT, &dst, &dstRowStride); in fast_draw_rgba_ubyte_pixels() 165 GL_MAP_WRITE_BIT, &dst, &dstRowStride); in fast_draw_generic_pixels()
|
/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 180 const BufferMemMap bufMap(gl, GL_UNIFORM_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_BIT); in iterate() 302 …st BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_BIT); in iterate() 419 const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockSize, GL_MAP_WRITE_BIT); in iterate() 752 const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_WRITE_BIT); in iterate() 1147 …st BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_BIT); in iterate() 1274 …st BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_BIT); in iterate() 1398 const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_WRITE_BIT); in iterate() 1500 const BufferMemMap memMap(gl, GL_ATOMIC_COUNTER_BUFFER, 0, bufferSize, GL_MAP_WRITE_BIT); in iterate()
|