Home
last modified time | relevance | path

Searched refs:_BaseFormat (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c46 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()
Dnouveau_driver.c128 if (fb->Attachment[i].Renderbuffer->_BaseFormat == in nouveau_clear()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_read.c126 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()
Dbrw_surface_formats.c425 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()
Dintel_fbo.c294 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()
Dbrw_wm_surface_state.c325 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()
Dbrw_wm.c311 (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/
Ds_span.c1358 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 …]
Ds_renderbuffer.c143 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/
Dreadpix.c171 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()
Ddebug.c310 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()
Dfbobject.c476 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 …]
Dtexobj.h129 texObj->Image[0][texObj->BaseLevel]->_BaseFormat == GL_DEPTH_STENCIL)) && in _mesa_is_texture_complete()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c162 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()
Dst_cb_texture.c478 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 …]
Dst_atom_sampler.c164 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()
Dst_sampler_view.c373 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()
Dst_cb_readpixels.c311 blit.mask = st_get_blit_mask(strb->Base._BaseFormat, format); in blit_to_staging()
435 if (rb->_BaseFormat != in st_ReadPixels()
Dst_cb_fbo.c123 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/
Dintel_fbo.c201 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()
Dintel_tex_subimage.c96 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c441 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/
Dradeon_fbo.c530 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/
Dradeon_fbo.c530 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/
Dmeta.c2818 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()

12