Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c47 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
53 rb->_BaseFormat = GL_RGBA; in set_renderbuffer_format()
58 rb->_BaseFormat = GL_RGB; in set_renderbuffer_format()
63 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format()
71 rb->_BaseFormat = GL_DEPTH_STENCIL; in set_renderbuffer_format()
/external/mesa3d/src/mesa/main/
Dtexgetimage.c277 rebaseFormat = texImage->_BaseFormat; in get_tex_rgba_compressed()
349 if (texImage->_BaseFormat == GL_LUMINANCE || in get_tex_rgba_uncompressed()
350 texImage->_BaseFormat == GL_INTENSITY || in get_tex_rgba_uncompressed()
351 texImage->_BaseFormat == GL_LUMINANCE_ALPHA) { in get_tex_rgba_uncompressed()
356 rebaseFormat = texImage->_BaseFormat; in get_tex_rgba_uncompressed()
358 else if ((texImage->_BaseFormat == GL_RGBA || in get_tex_rgba_uncompressed()
359 texImage->_BaseFormat == GL_RGB || in get_tex_rgba_uncompressed()
360 texImage->_BaseFormat == GL_RG) && in get_tex_rgba_uncompressed()
Ddebug.c318 if (rb->_BaseFormat == GL_RGB || in _mesa_write_renderbuffer_image()
319 rb->_BaseFormat == GL_RGBA) { in _mesa_write_renderbuffer_image()
323 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { in _mesa_write_renderbuffer_image()
331 rb->_BaseFormat); in _mesa_write_renderbuffer_image()
Dfbobject.c431 switch (rb->_BaseFormat) { in _mesa_validate_framebuffer()
749 f = texImg->_BaseFormat; in _mesa_test_framebuffer_completeness()
1480 rb->_BaseFormat = baseFormat; in renderbuffer_storage()
1481 assert(rb->_BaseFormat != 0); in renderbuffer_storage()
1489 rb->_BaseFormat = GL_NONE; in renderbuffer_storage()
1636 *params = get_component_bits(pname, rb->_BaseFormat, rb->Format); in _mesa_GetRenderbufferParameterivEXT()
2553 *params = get_component_bits(pname, texImage->_BaseFormat, in _mesa_GetFramebufferAttachmentParameterivEXT()
2561 *params = get_component_bits(pname, att->Renderbuffer->_BaseFormat, in _mesa_GetFramebufferAttachmentParameterivEXT()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c89 strb->Base._BaseFormat = st_pipe_format_to_base_format(ps->format); in st_egl_image_target_renderbuffer_storage()
90 strb->Base.InternalFormat = strb->Base._BaseFormat; in st_egl_image_target_renderbuffer_storage()
Dst_cb_fbo.c123 strb->Base._BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in st_renderbuffer_alloc_storage()
289 strb->Base._BaseFormat = _mesa_get_format_base_format(strb->Base.Format); in st_new_renderbuffer_fb()
434 rb->_BaseFormat = texImage->_BaseFormat; in st_render_texture()
Dst_cb_texture.c360 stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in guess_and_alloc_texture()
361 stImage->base._BaseFormat == GL_DEPTH_STENCIL_EXT) && in guess_and_alloc_texture()
819 texImage->_BaseFormat, in fallback_copy_texsubimage()
922 const GLenum texBaseFormat = texImage->_BaseFormat; in st_CopyTexSubImage()
Dst_cb_clear.c309 ctx->DrawBuffer->_ColorDrawBuffers[0]->_BaseFormat, in clear_with_quad()
552 ctx->DrawBuffer->_ColorDrawBuffers[0]->_BaseFormat, in st_Clear()
Dst_atom_sampler.c186 teximg ? teximg->_BaseFormat : GL_RGBA, is_integer); in convert_sampler()
/external/mesa3d/src/mesa/swrast/
Ds_span.c1352 ASSERT(rb->_BaseFormat == GL_RGBA || in _swrast_write_rgba_span()
1353 rb->_BaseFormat == GL_RGB || in _swrast_write_rgba_span()
1354 rb->_BaseFormat == GL_RED || in _swrast_write_rgba_span()
1355 rb->_BaseFormat == GL_RG || in _swrast_write_rgba_span()
1356 rb->_BaseFormat == GL_ALPHA); in _swrast_write_rgba_span()
1457 ASSERT(rb->_BaseFormat == GL_RGBA || in _swrast_read_rgba_span()
1458 rb->_BaseFormat == GL_RGB || in _swrast_read_rgba_span()
1459 rb->_BaseFormat == GL_RG || in _swrast_read_rgba_span()
1460 rb->_BaseFormat == GL_RED || in _swrast_read_rgba_span()
1461 rb->_BaseFormat == GL_LUMINANCE || in _swrast_read_rgba_span()
[all …]
Ds_renderbuffer.c145 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in soft_renderbuffer_storage()
149 rb->_BaseFormat == 0) { in soft_renderbuffer_storage()
154 rb->_BaseFormat = GL_RGBA; in soft_renderbuffer_storage()
158 ASSERT(rb->_BaseFormat); in soft_renderbuffer_storage()
Ds_texrender.c87 rb->_BaseFormat = _mesa_get_format_base_format(format); in update_wrapper()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_fbo.c261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage()
323 rb->_BaseFormat = _mesa_base_fbo_format(&intel->ctx, in intel_image_target_renderbuffer_storage()
406 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer()
408 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer()
525 rb->_BaseFormat = image->_BaseFormat; in intel_renderbuffer_update_wrapper()
Dintel_tex_subimage.c119 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_fbo.c261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage()
323 rb->_BaseFormat = _mesa_base_fbo_format(&intel->ctx, in intel_image_target_renderbuffer_storage()
406 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer()
408 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer()
525 rb->_BaseFormat = image->_BaseFormat; in intel_renderbuffer_update_wrapper()
Dintel_tex_subimage.c119 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_fbo.c261 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in intel_alloc_renderbuffer_storage()
323 rb->_BaseFormat = _mesa_base_fbo_format(&intel->ctx, in intel_image_target_renderbuffer_storage()
406 rb->_BaseFormat = _mesa_get_format_base_format(format); in intel_create_renderbuffer()
408 rb->InternalFormat = rb->_BaseFormat; in intel_create_renderbuffer()
525 rb->_BaseFormat = image->_BaseFormat; in intel_renderbuffer_update_wrapper()
Dintel_tex_subimage.c119 if (!_mesa_texstore(ctx, 2, texImage->_BaseFormat, in intel_blit_texsubimage()
Dbrw_wm.c456 (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_populate_sampler_prog_key_data()
457 img->_BaseFormat == GL_DEPTH_STENCIL); in brw_populate_sampler_prog_key_data()
Dgen7_wm_surface_state.c377 (firstImage->_BaseFormat == GL_DEPTH_COMPONENT || in gen7_update_texture_surface()
378 firstImage->_BaseFormat == GL_DEPTH_STENCIL); in gen7_update_texture_surface()
Dbrw_wm_surface_state.c575 if ((rb->_BaseFormat != GL_RGBA && in brw_render_target_supported()
576 rb->_BaseFormat != GL_RG && in brw_render_target_supported()
577 rb->_BaseFormat != GL_RED) && _mesa_is_format_integer_color(format)) in brw_render_target_supported()
675 if (img->_BaseFormat == GL_DEPTH_COMPONENT || in brw_get_texture_swizzle()
676 img->_BaseFormat == GL_DEPTH_STENCIL) { in brw_get_texture_swizzle()
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c351 rb->_BaseFormat = GL_RGBA; in swrast_new_renderbuffer()
357 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
363 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
369 rb->_BaseFormat = GL_RGB; in swrast_new_renderbuffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_fbo.c535 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage()
600 rb->_BaseFormat = _mesa_base_fbo_format(radeon->glCtx, in radeon_image_target_renderbuffer_storage()
692 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
778 rb->_BaseFormat = _mesa_base_fbo_format(ctx, rb->InternalFormat); in radeon_update_wrapper()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_fbo.c535 rb->_BaseFormat = _mesa_base_fbo_format(ctx, internalFormat); in radeon_alloc_renderbuffer_storage()
600 rb->_BaseFormat = _mesa_base_fbo_format(radeon->glCtx, in radeon_image_target_renderbuffer_storage()
692 rb->_BaseFormat = _mesa_get_format_base_format(format); in radeon_create_renderbuffer()
778 rb->_BaseFormat = _mesa_base_fbo_format(ctx, rb->InternalFormat); in radeon_update_wrapper()
Dradeon_texstate.c321 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_ALPHA) in radeonUpdateTextureEnv()
345 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_ALPHA) in radeonUpdateTextureEnv()
366 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_LUMINANCE) in radeonUpdateTextureEnv()
390 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_LUMINANCE) in radeonUpdateTextureEnv()

12