/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_fbo.c | 46 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format() 52 rb->_BaseFormat = GL_RGBA; in set_renderbuffer_format() 57 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format() 62 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format() 70 rb->_BaseFormat = GL_DEPTH_STENCIL; in set_renderbuffer_format()
|
D | nouveau_driver.c | 128 if (fb->Attachment[i].Renderbuffer->_BaseFormat == in nouveau_clear()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_read.c | 126 if (rb->_BaseFormat == GL_RGB) in intel_readpixels_tiled_memcpy() 239 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in intel_readpixels_blorp() 244 if (irb->Base.Base._BaseFormat == GL_RGB) { in intel_readpixels_blorp()
|
D | brw_surface_formats.c | 425 rb->_BaseFormat != GL_RGBA && in brw_render_target_supported() 426 rb->_BaseFormat != GL_RG && in brw_render_target_supported() 427 rb->_BaseFormat != GL_RED) in brw_render_target_supported()
|
D | intel_fbo.c | 294 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in intel_alloc_private_renderbuffer_storage() 375 rb->_BaseFormat = _mesa_get_format_base_format(image->format); in intel_image_target_renderbuffer_storage() 441 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_winsys_renderbuffer() 442 rb->InternalFormat = rb->_BaseFormat; in intel_create_winsys_renderbuffer()
|
D | brw_wm_surface_state.c | 325 if (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_get_texture_swizzle() 326 img->_BaseFormat == GL_DEPTH_STENCIL) { in brw_get_texture_swizzle() 375 switch (img->_BaseFormat) { in brw_get_texture_swizzle() 485 (firstImage->_BaseFormat == GL_DEPTH_COMPONENT || in brw_update_texture_surface() 486 firstImage->_BaseFormat == GL_DEPTH_STENCIL); in brw_update_texture_surface() 533 if (obj->StencilSampling && firstImage->_BaseFormat == GL_DEPTH_STENCIL) { in brw_update_texture_surface()
|
D | brw_wm.c | 311 (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_populate_sampler_prog_key_data() 312 img->_BaseFormat == GL_DEPTH_STENCIL); in brw_populate_sampler_prog_key_data()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_span.c | 1358 assert(rb->_BaseFormat == GL_RGBA || in _swrast_write_rgba_span() 1359 rb->_BaseFormat == GL_RGB || in _swrast_write_rgba_span() 1360 rb->_BaseFormat == GL_RED || in _swrast_write_rgba_span() 1361 rb->_BaseFormat == GL_RG || in _swrast_write_rgba_span() 1362 rb->_BaseFormat == GL_ALPHA); in _swrast_write_rgba_span() 1463 assert(rb->_BaseFormat == GL_RGBA || in _swrast_read_rgba_span() 1464 rb->_BaseFormat == GL_RGB || in _swrast_read_rgba_span() 1465 rb->_BaseFormat == GL_RG || in _swrast_read_rgba_span() 1466 rb->_BaseFormat == GL_RED || in _swrast_read_rgba_span() 1467 rb->_BaseFormat == GL_LUMINANCE || in _swrast_read_rgba_span() [all …]
|
D | s_renderbuffer.c | 143 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in soft_renderbuffer_storage() 147 rb->_BaseFormat == 0) { in soft_renderbuffer_storage() 152 rb->_BaseFormat = GL_RGBA; in soft_renderbuffer_storage() 156 assert(rb->_BaseFormat); in soft_renderbuffer_storage()
|
/external/mesa3d/src/mesa/main/ |
D | readpix.c | 171 if (_mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, in _mesa_readpixels_needs_slow_path() 198 if (rb->_BaseFormat != _mesa_get_format_base_format(rb->Format)) { in readpixels_can_use_memcpy() 457 _mesa_need_rgb_to_luminance_conversion(rb->_BaseFormat, dstBaseFormat); in read_rgba_pixels() 474 if (rb->_BaseFormat == GL_LUMINANCE || rb->_BaseFormat == GL_INTENSITY) { in read_rgba_pixels() 480 } else if (rb->_BaseFormat == GL_LUMINANCE_ALPHA) { in read_rgba_pixels() 486 } else if (_mesa_get_format_base_format(rb_format) != rb->_BaseFormat) { in read_rgba_pixels() 488 _mesa_compute_rgba2base2rgba_component_mapping(rb->_BaseFormat, in read_rgba_pixels()
|
D | debug.c | 310 if (rb->_BaseFormat == GL_RGB || in _mesa_write_renderbuffer_image() 311 rb->_BaseFormat == GL_RGBA) { in _mesa_write_renderbuffer_image() 315 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { in _mesa_write_renderbuffer_image() 323 rb->_BaseFormat); in _mesa_write_renderbuffer_image()
|
D | fbobject.c | 476 rb->_BaseFormat = texImage->_BaseFormat; in _mesa_update_texture_renderbuffer() 604 switch (rb->_BaseFormat) { in _mesa_validate_framebuffer() 848 baseFormat = texImage->_BaseFormat; in test_attachment_completeness() 904 const GLenum baseFormat = att->Renderbuffer->_BaseFormat; in test_attachment_completeness() 1054 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness() 2165 rb->_BaseFormat = baseFormat; in _mesa_renderbuffer_storage() 2166 assert(rb->_BaseFormat != 0); in _mesa_renderbuffer_storage() 2174 rb->_BaseFormat = GL_NONE; in _mesa_renderbuffer_storage() 2465 *params = get_component_bits(pname, rb->_BaseFormat, rb->Format); in get_render_buffer_parameteriv() 4124 *params = get_component_bits(pname, texImage->_BaseFormat, in get_framebuffer_attachment_parameter() [all …]
|
D | texobj.h | 129 texObj->Image[0][texObj->BaseLevel]->_BaseFormat == GL_DEPTH_STENCIL)) && in _mesa_is_texture_complete()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_eglimage.c | 162 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); in st_egl_image_target_renderbuffer_storage() 163 strb->Base.InternalFormat = strb->Base._BaseFormat; in st_egl_image_target_renderbuffer_storage()
|
D | st_cb_texture.c | 478 if (stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in allocate_full_mipmap() 479 stImage->base._BaseFormat == GL_DEPTH_STENCIL_EXT) in allocate_full_mipmap() 1411 _mesa_texstore_can_use_memcpy(ctx, texImage->_BaseFormat, in st_TexSubImage() 1451 if (texImage->_BaseFormat != in st_TexSubImage() 1617 blit.mask = st_get_blit_mask(format, texImage->_BaseFormat); in st_TexSubImage() 1888 if (texImage->_BaseFormat != in st_GetTexSubImage() 2030 blit.mask = st_get_blit_mask(texImage->_BaseFormat, format); in st_GetTexSubImage() 2266 texImage->_BaseFormat, in fallback_copy_texsubimage() 2323 if (_mesa_texstore_needs_transfer_ops(ctx, texImage->_BaseFormat, in st_CopyTexSubImage() 2331 if (texImage->_BaseFormat != in st_CopyTexSubImage() [all …]
|
D | st_atom_sampler.c | 164 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler() 204 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler()
|
D | st_sampler_view.c | 373 GLenum baseFormat = _mesa_base_tex_image(&stObj->base)->_BaseFormat; in get_texture_format_swizzle() 452 GLenum baseFormat = _mesa_base_tex_image(&stObj->base)->_BaseFormat; in get_sampler_view_format()
|
D | st_cb_readpixels.c | 311 blit.mask = st_get_blit_mask(strb->Base._BaseFormat, format); in blit_to_staging() 435 if (rb->_BaseFormat != in st_ReadPixels()
|
D | st_cb_fbo.c | 123 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in st_renderbuffer_alloc_storage() 285 strb->Base._BaseFormat = _mesa_get_format_base_format(strb->Base.Format); in st_new_renderbuffer_fb()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_fbo.c | 201 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_private_renderbuffer_storage() 277 rb->_BaseFormat = _mesa_get_format_base_format(image->format); in intel_image_target_renderbuffer_storage() 332 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer() 334 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer()
|
D | intel_tex_subimage.c | 96 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
|
/external/mesa3d/src/mesa/drivers/dri/swrast/ |
D | swrast.c | 441 rb->_BaseFormat = GL_RGBA; in swrast_new_renderbuffer() 447 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer() 453 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer() 459 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_fbo.c | 530 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage() 594 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 657 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer() 743 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_fbo.c | 530 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage() 594 rb->_BaseFormat = _mesa_base_fbo_format(&radeon->glCtx, in radeon_image_target_renderbuffer_storage() 657 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer() 743 rb->_BaseFormat = _mesa_get_format_base_format(rb->Format); in radeon_update_wrapper()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 2818 if (rb->_BaseFormat == GL_DEPTH_STENCIL || in copytexsubimage_using_blit_framebuffer() 2819 rb->_BaseFormat == GL_DEPTH_COMPONENT) { in copytexsubimage_using_blit_framebuffer() 2825 if (rb->_BaseFormat == GL_DEPTH_STENCIL && in copytexsubimage_using_blit_framebuffer() 2826 texImage->_BaseFormat == GL_DEPTH_STENCIL) { in copytexsubimage_using_blit_framebuffer() 3205 GLenum baseTexFormat = texImage->_BaseFormat; in decompress_texture_image() 3506 if (texImage->_BaseFormat == GL_DEPTH_STENCIL) in cleartexsubimage_depth_stencil() 3521 if (texImage->_BaseFormat == GL_DEPTH_STENCIL) { in cleartexsubimage_depth_stencil() 3537 if (texImage->_BaseFormat == GL_DEPTH_STENCIL) in cleartexsubimage_depth_stencil() 3560 switch(texImage->_BaseFormat) { in cleartexsubimage_for_zoffset()
|