Home
last modified time | relevance | path

Searched refs:GL_MAP_READ_BIT (Results 1 – 25 of 84) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dreadpix.c234 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in readpixels_memcpy()
280 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in read_uint_depth_pixels()
338 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in read_depth_pixels()
386 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in read_stencil_pixels()
457 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in read_rgba_pixels()
647 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in fast_read_depth_stencil_pixels()
688 GL_MAP_READ_BIT, &depthMap, &depthStride); in fast_read_depth_stencil_pixels_separate()
695 GL_MAP_READ_BIT, &stencilMap, &stencilStride); in fast_read_depth_stencil_pixels_separate()
752 GL_MAP_READ_BIT, &depthMap, &depthStride); in slow_read_depth_stencil_pixels_separate()
760 GL_MAP_READ_BIT, &stencilMap, in slow_read_depth_stencil_pixels_separate()
Daccum.c188 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in accum_scale_or_bias()
254 mappingFlags |= GL_MAP_READ_BIT; in accum_or_load()
266 GL_MAP_READ_BIT, in accum_or_load()
339 GL_MAP_READ_BIT, in accum_return()
356 mappingFlags |= GL_MAP_READ_BIT; in accum_return()
Dpbo.c157 GL_MAP_READ_BIT, in _mesa_map_pbo_source()
417 GL_MAP_READ_BIT, in _mesa_validate_pbo_teximage()
459 GL_MAP_READ_BIT, in _mesa_validate_pbo_compressed_teximage()
Dbufferobj.c219 const GLbitfield rwFlags = GL_MAP_READ_BIT | GL_MAP_WRITE_BIT; in simplified_access_mode()
222 if ((access & GL_MAP_READ_BIT) == GL_MAP_READ_BIT) in simplified_access_mode()
838 GL_MAP_READ_BIT | in copy_buffer_sub_data_fallback()
849 GL_MAP_READ_BIT, src, in copy_buffer_sub_data_fallback()
1539 if (flags & ~(GL_MAP_READ_BIT | in _mesa_buffer_storage()
1550 !(flags & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT))) { in _mesa_buffer_storage()
1701 GL_MAP_READ_BIT | in _mesa_buffer_data()
2425 allowed_access = GL_MAP_READ_BIT | in _mesa_map_buffer_range()
2444 if ((access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == 0) { in _mesa_map_buffer_range()
2450 if ((access & GL_MAP_READ_BIT) && in _mesa_map_buffer_range()
[all …]
Dtexgetimage.c98 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in get_tex_depth()
145 GL_MAP_READ_BIT, &srcMap, &rowstride); in get_tex_depth_stencil()
192 GL_MAP_READ_BIT, in get_tex_stencil()
236 GL_MAP_READ_BIT, &srcMap, &rowstride); in get_tex_ycbcr()
341 GL_MAP_READ_BIT, in get_tex_rgba_compressed()
470 GL_MAP_READ_BIT, in get_tex_rgba_uncompressed()
653 GL_MAP_READ_BIT, &src, &srcRowStride); in get_tex_memcpy()
811 GL_MAP_READ_BIT, &src, &srcRowStride); in _mesa_GetCompressedTexSubImage_sw()
/external/deqp/modules/gles3/functional/
Des3fNegativeBufferApiTests.cpp125 glMapBufferRange(GL_ARRAY_BUFFER, 0, 5, GL_MAP_READ_BIT); in init()
623 glMapBufferRange (GL_COPY_READ_BUFFER, 0, 4, GL_MAP_READ_BIT); in init()
628 glMapBufferRange (GL_COPY_WRITE_BUFFER, 0, 4, GL_MAP_READ_BIT); in init()
745 glMapBufferRange (GL_ARRAY_BUFFER, -1, 1, GL_MAP_READ_BIT); in init()
748 glMapBufferRange (GL_ARRAY_BUFFER, 1, -1, GL_MAP_READ_BIT); in init()
753 glMapBufferRange (GL_ARRAY_BUFFER, 0, 33, GL_MAP_READ_BIT); in init()
756 glMapBufferRange (GL_ARRAY_BUFFER, 32, 1, GL_MAP_READ_BIT); in init()
759 glMapBufferRange (GL_ARRAY_BUFFER, 16, 17, GL_MAP_READ_BIT); in init()
764 glMapBufferRange (GL_ARRAY_BUFFER, 0, 16, GL_MAP_READ_BIT | 0x1000); in init()
774 glMapBufferRange (GL_ARRAY_BUFFER, 16, 8, GL_MAP_READ_BIT); in init()
[all …]
Des3fBufferObjectQueryTests.cpp343 GL_MAP_READ_BIT, in testBuffer()
469 GLvoid* mapPointer = glMapBufferRange(GL_ARRAY_BUFFER, 0, 8, GL_MAP_READ_BIT); in test()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffer_objects.c294 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range()
361 if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
375 else if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
617 GL_MAP_READ_BIT | in intel_bufferobj_copy_subdata()
627 GL_MAP_READ_BIT, src, in intel_bufferobj_copy_subdata()
/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp212 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
333 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
435 const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
549 const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, block0Size, GL_MAP_READ_BIT); in iterate()
562 const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, block1Size, GL_MAP_READ_BIT); in iterate()
655 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
775 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
865 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
957 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
1063 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
[all …]
Des31fNegativeBufferApiTests.cpp119 ctx.glMapBufferRange(GL_ARRAY_BUFFER, 0, 5, GL_MAP_READ_BIT); in buffer_sub_data()
740 ctx.glMapBufferRange (GL_COPY_READ_BUFFER, 0, 4, GL_MAP_READ_BIT); in copy_buffer_sub_data()
745 ctx.glMapBufferRange (GL_COPY_WRITE_BUFFER, 0, 4, GL_MAP_READ_BIT); in copy_buffer_sub_data()
888 ctx.glMapBufferRange (GL_ARRAY_BUFFER, -1, 1, GL_MAP_READ_BIT); in map_buffer_range()
891 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 1, -1, GL_MAP_READ_BIT); in map_buffer_range()
896 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 0, 33, GL_MAP_READ_BIT); in map_buffer_range()
899 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 32, 1, GL_MAP_READ_BIT); in map_buffer_range()
902 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 16, 17, GL_MAP_READ_BIT); in map_buffer_range()
907 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 0, 16, GL_MAP_READ_BIT | 0x1000); in map_buffer_range()
917 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 16, 8, GL_MAP_READ_BIT); in map_buffer_range()
[all …]
/external/mesa3d/src/mesa/vbo/
Dvbo_primitive_restart.c188 if (!ctx->Driver.MapBufferRange(ctx, 0, indirect->Size, GL_MAP_READ_BIT, in vbo_sw_primitive_restart()
223 ctx->Driver.MapBufferRange(ctx, 0, ib->obj->Size, GL_MAP_READ_BIT, in vbo_sw_primitive_restart()
Dvbo_rebase.c176 ctx->Driver.MapBufferRange(ctx, 0, ib->obj->Size, GL_MAP_READ_BIT, in vbo_rebase_prims()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c77 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in copy_image_with_memcpy()
90 GL_MAP_READ_BIT, &src_mapped, &src_stride); in copy_image_with_memcpy()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_span.c65 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in radeon_renderbuffer_map()
Dradeon_buffer_objects.c185 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_WRITE_BIT; in radeonMapBufferRange()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_span.c65 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in radeon_renderbuffer_map()
Dradeon_buffer_objects.c185 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_WRITE_BIT; in radeonMapBufferRange()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c255 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in blit_nearest()
283 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_nearest()
596 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in blit_linear()
612 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_linear()
Ds_copypix.c505 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in swrast_fast_copy_pixels()
533 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in swrast_fast_copy_pixels()
600 GL_MAP_READ_BIT, in map_readbuffer()
Ds_clear.c64 mapMode |= GL_MAP_READ_BIT; in clear_rgba_buffer()
Ds_renderbuffer.c572 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in map_attachment()
580 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in map_attachment()
Ds_stencil.c575 mapMode |= GL_MAP_READ_BIT; in _swrast_clear_stencil_buffer()
579 mapMode |= GL_MAP_READ_BIT; in _swrast_clear_stencil_buffer()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c252 if (storageFlags & GL_MAP_READ_BIT) in st_bufferobj_data()
395 if (access & GL_MAP_READ_BIT) in st_bufferobj_map_range()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_bufferobj.c140 if (access & GL_MAP_READ_BIT) in nouveau_bufferobj_map_range()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c289 GL_MAP_READ_BIT, in bind_inputs()
362 GL_MAP_READ_BIT, ib->obj, in bind_indices()

1234