Home
last modified time | relevance | path

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

123

/external/mesa3d/src/mesa/main/
Dreadpix.c78 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in fast_read_depth_pixels()
139 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in read_depth_pixels()
187 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in read_stencil_pixels()
269 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in fast_read_rgba_pixels_memcpy()
338 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in slow_read_rgba_pixels()
434 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT, in fast_read_depth_stencil_pixels()
475 GL_MAP_READ_BIT, &depthMap, &depthStride); in fast_read_depth_stencil_pixels_separate()
482 GL_MAP_READ_BIT, &stencilMap, &stencilStride); in fast_read_depth_stencil_pixels_separate()
539 GL_MAP_READ_BIT, &depthMap, &depthStride); in slow_read_depth_stencil_pixels_separate()
547 GL_MAP_READ_BIT, &stencilMap, in slow_read_depth_stencil_pixels_separate()
Daccum.c201 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in accum_scale_or_bias()
267 mappingFlags |= GL_MAP_READ_BIT; in accum_or_load()
279 GL_MAP_READ_BIT, in accum_or_load()
352 GL_MAP_READ_BIT, in accum_return()
369 mappingFlags |= GL_MAP_READ_BIT; in accum_return()
Dpbo.c150 GL_MAP_READ_BIT, in _mesa_map_pbo_source()
351 GL_MAP_READ_BIT, in _mesa_validate_pbo_teximage()
390 GL_MAP_READ_BIT, in _mesa_validate_pbo_compressed_teximage()
Dtexgetimage.c96 0, 0, width, height, GL_MAP_READ_BIT, in get_tex_depth()
140 0, 0, width, height, GL_MAP_READ_BIT, in get_tex_depth_stencil()
185 0, 0, width, height, GL_MAP_READ_BIT, in get_tex_ycbcr()
255 GL_MAP_READ_BIT, in get_tex_rgba_compressed()
378 0, 0, width, height, GL_MAP_READ_BIT, in get_tex_rgba_uncompressed()
499 GL_MAP_READ_BIT, &src, &srcRowStride); in get_tex_memcpy()
627 GL_MAP_READ_BIT, &src, &srcRowStride); in _mesa_get_compressed_teximage()
Dbufferobj.c161 ? 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()
175 if ((access & GL_MAP_READ_BIT) == GL_MAP_READ_BIT) in simplified_access_mode()
579 GL_MAP_READ_BIT | in _mesa_copy_buffer_subdata()
589 GL_MAP_READ_BIT, src); in _mesa_copy_buffer_subdata()
1152 accessFlags = GL_MAP_READ_BIT; in _mesa_MapBufferARB()
1160 accessFlags = GL_MAP_READ_BIT | GL_MAP_WRITE_BIT; in _mesa_MapBufferARB()
1534 if (access & ~(GL_MAP_READ_BIT | in _mesa_MapBufferRange()
1545 if ((access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == 0) { in _mesa_MapBufferRange()
1551 if ((access & GL_MAP_READ_BIT) && in _mesa_MapBufferRange()
/external/deqp/modules/gles3/functional/
Des3fNegativeBufferApiTests.cpp125 glMapBufferRange(GL_ARRAY_BUFFER, 0, 5, GL_MAP_READ_BIT); in init()
619 glMapBufferRange (GL_COPY_READ_BUFFER, 0, 4, GL_MAP_READ_BIT); in init()
624 glMapBufferRange (GL_COPY_WRITE_BUFFER, 0, 4, GL_MAP_READ_BIT); in init()
741 glMapBufferRange (GL_ARRAY_BUFFER, -1, 1, GL_MAP_READ_BIT); in init()
744 glMapBufferRange (GL_ARRAY_BUFFER, 1, -1, GL_MAP_READ_BIT); in init()
749 glMapBufferRange (GL_ARRAY_BUFFER, 0, 33, GL_MAP_READ_BIT); in init()
752 glMapBufferRange (GL_ARRAY_BUFFER, 32, 1, GL_MAP_READ_BIT); in init()
755 glMapBufferRange (GL_ARRAY_BUFFER, 16, 17, GL_MAP_READ_BIT); in init()
760 glMapBufferRange (GL_ARRAY_BUFFER, 0, 16, GL_MAP_READ_BIT | 0x1000); in init()
770 glMapBufferRange (GL_ARRAY_BUFFER, 16, 8, GL_MAP_READ_BIT); in init()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_span.c122 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()
Dintel_buffer_objects.c300 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range()
356 if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
369 else if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
658 GL_MAP_READ_BIT | in intel_bufferobj_copy_subdata()
668 GL_MAP_READ_BIT, src); in intel_bufferobj_copy_subdata()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_span.c122 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()
Dintel_buffer_objects.c300 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range()
356 if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
369 else if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
658 GL_MAP_READ_BIT | in intel_bufferobj_copy_subdata()
668 GL_MAP_READ_BIT, src); in intel_bufferobj_copy_subdata()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_span.c122 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()
Dintel_buffer_objects.c300 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_READ_BIT; in intel_bufferobj_map_range()
356 if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
369 else if (!(access & GL_MAP_READ_BIT)) { in intel_bufferobj_map_range()
658 GL_MAP_READ_BIT | in intel_bufferobj_copy_subdata()
668 GL_MAP_READ_BIT, src); in intel_bufferobj_copy_subdata()
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp120 ctx.glMapBufferRange(GL_ARRAY_BUFFER, 0, 5, GL_MAP_READ_BIT); in buffer_sub_data()
625 ctx.glMapBufferRange (GL_COPY_READ_BUFFER, 0, 4, GL_MAP_READ_BIT); in copy_buffer_sub_data()
630 ctx.glMapBufferRange (GL_COPY_WRITE_BUFFER, 0, 4, GL_MAP_READ_BIT); in copy_buffer_sub_data()
750 ctx.glMapBufferRange (GL_ARRAY_BUFFER, -1, 1, GL_MAP_READ_BIT); in map_buffer_range()
753 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 1, -1, GL_MAP_READ_BIT); in map_buffer_range()
758 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 0, 33, GL_MAP_READ_BIT); in map_buffer_range()
761 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 32, 1, GL_MAP_READ_BIT); in map_buffer_range()
764 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 16, 17, GL_MAP_READ_BIT); in map_buffer_range()
769 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 0, 16, GL_MAP_READ_BIT | 0x1000); in map_buffer_range()
779 ctx.glMapBufferRange (GL_ARRAY_BUFFER, 16, 8, GL_MAP_READ_BIT); in map_buffer_range()
[all …]
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 …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c92 if (!(access & GL_MAP_READ_BIT) && in nouveau_teximage_map()
115 if (access & GL_MAP_READ_BIT) in nouveau_teximage_map()
169 if (!(mode & GL_MAP_READ_BIT) && in nouveau_map_texture_image()
192 if (mode & GL_MAP_READ_BIT) in nouveau_map_texture_image()
Dnouveau_bufferobj.c136 if (access & GL_MAP_READ_BIT) in nouveau_bufferobj_map_range()
/external/mesa3d/src/mesa/swrast/
Ds_blit.c222 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in blit_nearest()
251 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_nearest()
566 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in blit_linear()
586 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in blit_linear()
Ds_copypix.c516 GL_MAP_READ_BIT | GL_MAP_WRITE_BIT, in swrast_fast_copy_pixels()
544 GL_MAP_READ_BIT, &srcMap, &srcRowStride); in swrast_fast_copy_pixels()
611 GL_MAP_READ_BIT, in map_readbuffer()
/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.c181 (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.c181 (access & (GL_MAP_READ_BIT | GL_MAP_WRITE_BIT)) == GL_MAP_WRITE_BIT; in radeonMapBufferRange()
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c103 GL_MAP_READ_BIT, ib->obj); in vbo_get_minmax_index()
235 GL_MAP_READ_BIT, array->BufferObj); in check_array_data()
296 GL_MAP_READ_BIT, in check_draw_elements_data()
376 GL_MAP_READ_BIT, bufObj); in print_draw_arrays()
749 GL_MAP_READ_BIT,
Dvbo_rebase.c164 ctx->Driver.MapBufferRange(ctx, 0, ib->obj->Size, GL_MAP_READ_BIT, in vbo_rebase_prims()
Dvbo_primitive_restart.c185 ctx->Driver.MapBufferRange(ctx, 0, ib->obj->Size, GL_MAP_READ_BIT, in vbo_sw_primitive_restart()

123