Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_span.c134 if (ctx->ReadBuffer != ctx->DrawBuffer) in radeonSpanRenderStart()
135 radeon_map_framebuffer(ctx, ctx->ReadBuffer); in radeonSpanRenderStart()
144 if (ctx->ReadBuffer != ctx->DrawBuffer) in radeonSpanRenderFinish()
145 radeon_unmap_framebuffer(ctx, ctx->ReadBuffer); in radeonSpanRenderFinish()
Dradeon_pixel_read.c96 const struct radeon_renderbuffer *rrb = radeon_renderbuffer(ctx->ReadBuffer->_ColorReadBuffer); in do_blit_readpixels()
152 flip_y = _mesa_is_winsys_fbo(ctx->ReadBuffer); in do_blit_readpixels()
Dradeon_tex_copy.c68 flip_y = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Type == GL_NONE; in do_copy_texsubimage()
71 flip_y = ctx->ReadBuffer->Attachment[BUFFER_COLOR0].Type == GL_NONE; in do_copy_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_span.c134 if (ctx->ReadBuffer != ctx->DrawBuffer) in radeonSpanRenderStart()
135 radeon_map_framebuffer(ctx, ctx->ReadBuffer); in radeonSpanRenderStart()
144 if (ctx->ReadBuffer != ctx->DrawBuffer) in radeonSpanRenderFinish()
145 radeon_unmap_framebuffer(ctx, ctx->ReadBuffer); in radeonSpanRenderFinish()
Dradeon_pixel_read.c96 const struct radeon_renderbuffer *rrb = radeon_renderbuffer(ctx->ReadBuffer->_ColorReadBuffer); in do_blit_readpixels()
152 flip_y = _mesa_is_winsys_fbo(ctx->ReadBuffer); in do_blit_readpixels()
Dradeon_tex_copy.c68 flip_y = ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Type == GL_NONE; in do_copy_texsubimage()
71 flip_y = ctx->ReadBuffer->Attachment[BUFFER_COLOR0].Type == GL_NONE; in do_copy_texsubimage()
/external/libchrome/base/containers/
Dring_buffer.h42 const T& ReadBuffer(size_t n) const { in ReadBuffer() function
66 const T* operator->() const { return &buffer_.ReadBuffer(index_); }
67 const T* operator*() const { return &buffer_.ReadBuffer(index_); }
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c98 if (!ctx->ReadBuffer->_ColorReadBuffer) { in copy_rgba_pixels()
103 if (ctx->DrawBuffer == ctx->ReadBuffer) { in copy_rgba_pixels()
139 _swrast_read_rgba_span( ctx, ctx->ReadBuffer->_ColorReadBuffer, in copy_rgba_pixels()
163 _swrast_read_rgba_span( ctx, ctx->ReadBuffer->_ColorReadBuffer, in copy_rgba_pixels()
236 struct gl_framebuffer *fb = ctx->ReadBuffer; in copy_depth_pixels()
254 if (ctx->DrawBuffer == ctx->ReadBuffer) { in copy_depth_pixels()
338 struct gl_framebuffer *fb = ctx->ReadBuffer; in copy_stencil_pixels()
351 if (ctx->DrawBuffer == ctx->ReadBuffer) { in copy_stencil_pixels()
574 struct gl_framebuffer *fb = ctx->ReadBuffer; in map_readbuffer()
632 swrast_fast_copy_pixels(ctx, ctx->ReadBuffer, ctx->DrawBuffer, in _swrast_CopyPixels()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_buffers.c54 if (_mesa_is_front_buffer_reading(ctx->ReadBuffer)) { in intelReadBuffer()
71 functions->ReadBuffer = intelReadBuffer; in intelInitBufferFuncs()
Dintel_pixel_read.c75 struct gl_renderbuffer *rb = ctx->ReadBuffer->_ColorReadBuffer; in intel_readpixels_tiled_memcpy()
184 if (ctx->ReadBuffer->FlipY) { in intel_readpixels_tiled_memcpy()
224 struct gl_renderbuffer *rb = ctx->ReadBuffer->_ColorReadBuffer; in intel_readpixels_blorp()
252 ctx->ReadBuffer->FlipY, pixels, packing); in intel_readpixels_blorp()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_buffers.c75 if (_mesa_is_front_buffer_reading(ctx->ReadBuffer)) { in intelReadBuffer()
91 functions->ReadBuffer = intelReadBuffer; in intelInitBufferFuncs()
Dintel_pixel_read.c89 struct gl_renderbuffer *rb = ctx->ReadBuffer->_ColorReadBuffer; in do_blit_readpixels()
141 x, y, _mesa_is_winsys_fbo(ctx->ReadBuffer), in do_blit_readpixels()
/external/mesa3d/src/mesa/main/
Dreadpix.c108 if (_mesa_get_clamp_read_color(ctx, ctx->ReadBuffer) && in _mesa_get_readpixels_transfer_ops()
117 if (_mesa_get_clamp_read_color(ctx, ctx->ReadBuffer) || in _mesa_get_readpixels_transfer_ops()
159 return !_mesa_has_depthstencil_combined(ctx->ReadBuffer) || in _mesa_readpixels_needs_slow_path()
237 &map, &stride, ctx->ReadBuffer->FlipY); in readpixels_memcpy()
273 struct gl_framebuffer *fb = ctx->ReadBuffer; in read_uint_depth_pixels()
320 struct gl_framebuffer *fb = ctx->ReadBuffer; in read_depth_pixels()
384 struct gl_framebuffer *fb = ctx->ReadBuffer; in read_stencil_pixels()
445 struct gl_framebuffer *fb = ctx->ReadBuffer; in read_rgba_pixels()
641 struct gl_framebuffer *fb = ctx->ReadBuffer; in fast_read_depth_stencil_pixels()
685 struct gl_framebuffer *fb = ctx->ReadBuffer; in fast_read_depth_stencil_pixels_separate()
[all …]
Ddrawpix.c203 _mesa_enum_to_string(ctx->ReadBuffer->ColorReadBuffer), in _mesa_CopyPixels()
247 if (ctx->ReadBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { in _mesa_CopyPixels()
253 if (_mesa_is_user_fbo(ctx->ReadBuffer) && in _mesa_CopyPixels()
254 ctx->ReadBuffer->Visual.samples > 0) { in _mesa_CopyPixels()
Dbuffers.c204 buffer = _mesa_back_to_front_if_single_buffered(ctx->ReadBuffer, buffer); in read_buffer_enum_to_index()
877 if ((fb == ctx->ReadBuffer) && _mesa_is_winsys_fbo(fb)) { in _mesa_readbuffer()
881 ctx->Pixel.ReadBuffer = buffer; in _mesa_readbuffer()
945 if (fb == ctx->ReadBuffer) { in read_buffer()
946 if (ctx->Driver.ReadBuffer) in read_buffer()
947 ctx->Driver.ReadBuffer(ctx, buffer); in read_buffer()
972 read_buffer_no_error(ctx, ctx->ReadBuffer, buffer, "glReadBuffer"); in _mesa_ReadBuffer_no_error()
980 read_buffer_err(ctx, ctx->ReadBuffer, buffer, "glReadBuffer"); in _mesa_ReadBuffer()
Dcontext.c1187 ctx->ReadBuffer = NULL; in _mesa_initialize_context()
1330 _mesa_reference_framebuffer(&ctx->ReadBuffer, NULL); in _mesa_free_context_data()
1629 if (ctx->ReadBuffer != _mesa_get_incomplete_framebuffer()) { in handle_first_current()
1633 if (ctx->ReadBuffer->Visual.doubleBufferMode) { in handle_first_current()
1642 _mesa_readbuffer(ctx, ctx->ReadBuffer, buffer, bufferIndex); in handle_first_current()
1765 if (!newCtx->ReadBuffer || _mesa_is_winsys_fbo(newCtx->ReadBuffer)) { in _mesa_make_current()
1766 _mesa_reference_framebuffer(&newCtx->ReadBuffer, readBuffer); in _mesa_make_current()
1774 !newCtx->ReadBuffer->Visual.doubleBufferMode) in _mesa_make_current()
1775 if (newCtx->ReadBuffer->ColorReadBuffer == GL_FRONT) in _mesa_make_current()
1776 newCtx->ReadBuffer->ColorReadBuffer = GL_BACK; in _mesa_make_current()
Dframebuffer.c790 return renderbuffer_exists(ctx, ctx->ReadBuffer, format, GL_TRUE); in _mesa_source_buffer_exists()
820 fb = ctx->ReadBuffer; in _mesa_get_color_read_format()
915 fb = ctx->ReadBuffer; in _mesa_get_color_read_type()
945 const struct gl_framebuffer *rfb = ctx->ReadBuffer; in _mesa_get_read_renderbuffer_for_format()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_span.c67 if (ctx->ReadBuffer != ctx->DrawBuffer) in span_map_unmap()
68 framebuffer_map_unmap(ctx, ctx->ReadBuffer, map); in span_map_unmap()
/external/crosvm/devices/src/usb/host_backend/
Derror.rs32 ReadBuffer(BufferError), enumerator
64 ReadBuffer(e) => write!(f, "failed to read buffer: {}", e), in fmt()
/external/libchrome/mojo/core/
Dchannel.h356 class ReadBuffer; variable
359 const std::unique_ptr<ReadBuffer> read_buffer_;
Dchannel.cc502 class Channel::ReadBuffer { class in mojo::core::Channel
504 ReadBuffer() { in ReadBuffer() function in mojo::core::Channel::ReadBuffer
510 ~ReadBuffer() { in ~ReadBuffer()
599 DISALLOW_COPY_AND_ASSIGN(ReadBuffer);
603 : delegate_(delegate), read_buffer_(new ReadBuffer) {} in Channel()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_viewport.c55 stread = st_ws_framebuffer(st->ctx->ReadBuffer); in st_viewport()
Dst_cb_drawpixels.c1536 struct gl_framebuffer *fb = ctx->ReadBuffer; in st_get_color_read_renderbuffer()
1618 rbRead = st_renderbuffer(ctx->ReadBuffer->Attachment[BUFFER_DEPTH].Renderbuffer); in blit_copy_pixels()
1621 rbRead = st_renderbuffer(ctx->ReadBuffer->Attachment[BUFFER_STENCIL].Renderbuffer); in blit_copy_pixels()
1628 if (st_fb_orientation(ctx->ReadBuffer) == Y_0_TOP) { in blit_copy_pixels()
1777 rbRead = st_renderbuffer(ctx->ReadBuffer-> in st_CopyPixels()
1781 rbRead = st_renderbuffer(ctx->ReadBuffer-> in st_CopyPixels()
1785 rbRead = st_renderbuffer(ctx->ReadBuffer-> in st_CopyPixels()
1790 rbRead = st_renderbuffer(ctx->ReadBuffer-> in st_CopyPixels()
1858 if (st_fb_orientation(ctx->ReadBuffer) == Y_0_TOP) { in st_CopyPixels()
1859 srcy = ctx->ReadBuffer->Height - srcy - height; in st_CopyPixels()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_dd.c572 ctx->Pixel.ReadBuffer == GL_FRONT && /* copy from front buf */ in can_do_CopyPixels()
573 ctx->ReadBuffer->_ColorReadBuffer && in can_do_CopyPixels()
581 ctx->ReadBuffer && in can_do_CopyPixels()
582 ctx->ReadBuffer->_ColorReadBuffer && in can_do_CopyPixels()
586 = xmesa_renderbuffer(ctx->ReadBuffer->_ColorReadBuffer); in can_do_CopyPixels()
614 = xmesa_renderbuffer(ctx->ReadBuffer->_ColorReadBuffer); in xmesa_CopyPixels()
/external/libchrome/ipc/
Dmessage_mojom_traits.cc30 if (!data.ReadBuffer(&buffer_view)) in Read()

1234