Home
last modified time | relevance | path

Searched refs:GL_DEPTH_STENCIL (Results 1 – 25 of 76) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dglformats.c514 if (format == GL_DEPTH_STENCIL) in _mesa_bytes_per_pixel()
619 case GL_DEPTH_STENCIL: in _mesa_is_enum_format_unsized()
1607 if (base_format == GL_DEPTH_STENCIL || in _mesa_base_format_has_channel()
1616 if (base_format == GL_DEPTH_STENCIL || in _mesa_base_format_has_channel()
1646 case GL_DEPTH_STENCIL: in _mesa_base_format_component_count()
1818 if (_mesa_is_desktop_gl(ctx) && format == GL_DEPTH_STENCIL in _mesa_error_check_format_and_type()
1882 if (format != GL_DEPTH_STENCIL) { in _mesa_error_check_format_and_type()
1891 if (format != GL_DEPTH_STENCIL) { in _mesa_error_check_format_and_type()
2084 case GL_DEPTH_STENCIL: in _mesa_error_check_format_and_type()
2248 case GL_DEPTH_STENCIL: in _mesa_es_error_check_format_and_type()
[all …]
Dtexstore.c543 assert(srcFormat == GL_DEPTH_STENCIL || in _mesa_texstore_z32f_x24s8()
546 assert(srcFormat != GL_DEPTH_STENCIL || in _mesa_texstore_z32f_x24s8()
832 case GL_DEPTH_STENCIL: in _mesa_texstore_needs_transfer_ops()
882 baseInternalFormat == GL_DEPTH_STENCIL) && in _mesa_texstore_can_use_memcpy()
955 && _mesa_get_format_base_format(texFormat) == GL_DEPTH_STENCIL) in get_read_write_mode()
Dformats.c515 return info->BaseFormat == GL_DEPTH_STENCIL; in _mesa_is_format_packed_depth_stencil()
528 info->BaseFormat != GL_DEPTH_STENCIL && in _mesa_is_format_integer_color()
584 case GL_DEPTH_STENCIL: in _mesa_is_format_color_format()
724 info->BaseFormat != GL_DEPTH_STENCIL && in _mesa_format_has_color_component()
1650 return format == GL_DEPTH_STENCIL && type == GL_UNSIGNED_INT_24_8 && in _mesa_format_matches_format_and_type()
2001 return format == GL_DEPTH_STENCIL && in _mesa_format_matches_format_and_type()
Dtexobj.h129 texObj->Image[0][texObj->BaseLevel]->_BaseFormat == GL_DEPTH_STENCIL)) && in _mesa_is_texture_complete()
Ddebug.c315 else if (rb->_BaseFormat == GL_DEPTH_STENCIL) { in _mesa_write_renderbuffer_image()
316 format = GL_DEPTH_STENCIL; in _mesa_write_renderbuffer_image()
Dfbobject.c878 baseFormat == GL_DEPTH_STENCIL) { in test_attachment_completeness()
890 baseFormat == GL_DEPTH_STENCIL) { in test_attachment_completeness()
925 else if (baseFormat == GL_DEPTH_STENCIL) { in test_attachment_completeness()
937 baseFormat == GL_DEPTH_STENCIL) { in test_attachment_completeness()
1884 case GL_DEPTH_STENCIL: in _mesa_base_fbo_format()
1885 return _mesa_is_desktop_gl(ctx) ? GL_DEPTH_STENCIL : 0; in _mesa_base_fbo_format()
1887 return GL_DEPTH_STENCIL; in _mesa_base_fbo_format()
1897 ? GL_DEPTH_STENCIL : 0; in _mesa_base_fbo_format()
3732 if (baseFormat != GL_DEPTH_STENCIL) { in framebuffer_renderbuffer()
Dmarshal.c594 case GL_DEPTH_STENCIL: in buffer_to_size()
726 if (buffer != GL_DEPTH_STENCIL) { in _mesa_marshal_ClearBufferfi()
Dreadpix.c93 format == GL_DEPTH_STENCIL || in _mesa_get_readpixels_transfer_ops()
156 case GL_DEPTH_STENCIL: in _mesa_readpixels_needs_slow_path()
943 case GL_DEPTH_STENCIL: in read_pixels_es3_error_check()
/external/deqp/modules/gles3/functional/
Des3fFboStencilbufferTests.cpp103 glClearBufferfi(GL_DEPTH_STENCIL, 0, 1.0f, 0); in render()
151 DE_ASSERT(m_attachDepth != GL_DEPTH_STENCIL || m_attachStencil == GL_NONE); in DepthStencilAttachCase()
161 …const bool hasDepth = (m_attachDepth == GL_DEPTH_STENCIL || m_attachDepth == GL_DEPTH_ATTACHM… in render()
200 glClearBufferfi(GL_DEPTH_STENCIL, 0, 1.0f, 0); in render()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp156 …{ GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT, SAMPLER_UNO…
226 …{ GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, SAMPL…
227 …{ GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_…
299 …{ GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, SAMPLER_U…
300 …{ GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV…
306 …{ GL_DEPTH_STENCIL, 2, FORMAT_DEPTH_STENCIL, GL_DEPTH_STENCIL_ATTACHMENT, { {-1,-1,-1,-1,-1,-1, …
327 …{ GL_DEPTH_STENCIL, 2, FORMAT_DEPTH_STENCIL, GL_DEPTH_STENCIL_ATTACHMENT, { {-1,-1,-1,-1,-1,-1, …
453 { GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, 4, true },
454 { GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, 8, true },
506 { GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, 2, true },
[all …]
DglcTextureRepeatModeTests.cpp247 …{ GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT, SAMPLER_UNORM, { {…
331 …{ GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, SAMPLER_U…
332 …{ GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV…
419 …{ GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, SAMPLER_U…
420 …{ GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV…
1259 if ((GL_DEPTH_COMPONENT == format) || (GL_DEPTH_STENCIL == format)) in iterate()
1280 if ((GL_DEPTH_COMPONENT == format) || (GL_DEPTH_STENCIL == format)) in iterate()
DglcPackedDepthStencilTests.cpp505 …gl.texImage2D(GL_TEXTURE_2D, 0, m_typeFormat.format, TEX_SIZE, TEX_SIZE, 0, GL_DEPTH_STENCIL, m_ty… in createTextures()
514 …gl.texImage2D(GL_TEXTURE_2D, 0, m_typeFormat.format, TEX_SIZE, TEX_SIZE, 0, GL_DEPTH_STENCIL, m_ty… in createTextures()
524 …gl.texImage2D(GL_TEXTURE_2D, 0, m_typeFormat.format, TEX_SIZE, TEX_SIZE, 0, GL_DEPTH_STENCIL, m_ty… in createTextures()
535 …gl.texImage2D(GL_TEXTURE_2D, 0, m_typeFormat.format, TEX_SIZE, TEX_SIZE, 0, GL_DEPTH_STENCIL, m_ty… in createTextures()
546 …gl.texImage2D(GL_TEXTURE_2D, 0, m_typeFormat.format, TEX_SIZE, TEX_SIZE, 0, GL_DEPTH_STENCIL, m_ty… in createTextures()
1359 gl.readPixels(0, 0, TEX_SIZE, TEX_SIZE, GL_DEPTH_STENCIL, m_typeFormat.type, &data[0]); in checkErrors()
1365 gl.readPixels(0, 0, TEX_SIZE, TEX_SIZE, GL_DEPTH_STENCIL, m_typeFormat.type, &data[0]); in checkErrors()
1381 gl.readPixels(0, 0, TEX_SIZE, TEX_SIZE, GL_DEPTH_STENCIL, m_nonDepthStencilTypes[i], &data[0]); in checkErrors()
1409 gl.readPixels(0, 0, TEX_SIZE, TEX_SIZE, GL_DEPTH_STENCIL, m_typeFormat.type, &data[0]); in checkErrors()
1435 gl.getTexImage(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, &data[0]); in checkErrors()
[all …]
DglcInternalformatTests.cpp337 if (format == GL_DEPTH_STENCIL) in prepareTexturingProgramSources()
363 if ((internalFormat == GL_DEPTH_COMPONENT) || (internalFormat == GL_DEPTH_STENCIL)) in prepareTexturingProgramSources()
421 return GL_DEPTH_STENCIL; in getUnsizedFormatFromInternalFormat()
710 …formatMap[GL_DEPTH_STENCIL] = TextureFormat(GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH24_S… in iterate()
1419 …TF(GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH_STENCIL, OES_packed_depth_stencil, OES_depth_t… in getESTestData()
1460 TF(GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, GL_DEPTH24_STENCIL8), in getESTestData()
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c325 case GL_DEPTH_STENCIL: in compute_texture_format_swizzle()
382 baseFormat == GL_DEPTH_STENCIL || in get_texture_format_swizzle()
387 firstImage->InternalFormat != GL_DEPTH_STENCIL && in get_texture_format_swizzle()
456 baseFormat == GL_DEPTH_STENCIL || in get_sampler_view_format()
Dst_cb_drawpixels.c261 case GL_DEPTH_STENCIL: in internal_format()
825 if (format == GL_DEPTH_STENCIL) { in draw_stencil_pixels()
860 if (format == GL_DEPTH_STENCIL) { in draw_stencil_pixels()
878 if (format == GL_DEPTH_STENCIL) { in draw_stencil_pixels()
896 if (format == GL_DEPTH_STENCIL) { in draw_stencil_pixels()
1090 if (format == GL_DEPTH_STENCIL) in st_DrawPixels()
1449 if (type == GL_DEPTH_STENCIL) { in st_CopyPixels()
Dst_cb_texture.c737 case GL_DEPTH_STENCIL: in st_get_blit_mask()
739 case GL_DEPTH_STENCIL: in st_get_blit_mask()
752 case GL_DEPTH_STENCIL: in st_get_blit_mask()
1445 if (format == GL_DEPTH_STENCIL) { in st_TexSubImage()
1458 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_TexSubImage()
1882 if (format == GL_DEPTH_STENCIL || format == GL_STENCIL_INDEX) { in st_GetTexSubImage()
1922 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_GetTexSubImage()
2176 baseFormat == GL_DEPTH_STENCIL) && in fallback_copy_texsubimage()
2188 baseFormat == GL_DEPTH_STENCIL) { in fallback_copy_texsubimage()
2343 if (texImage->_BaseFormat == GL_DEPTH_STENCIL || in st_CopyTexSubImage()
Dst_cb_readpixels.c429 if (format == GL_DEPTH_STENCIL) { in st_ReadPixels()
457 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_ReadPixels()
Dst_cb_eglimage.c114 base_format = GL_DEPTH_STENCIL; in st_pipe_format_to_base_format()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredFramebuffer.cpp1309 TEXTURE_DEPTH, 0 /* border */, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, NULL); in iterate()
1312 … TEXTURE_WIDTH, TEXTURE_HEIGHT, 1 /* depth */, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, in iterate()
1315 … TEXTURE_WIDTH, TEXTURE_HEIGHT, 1 /* depth */, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, in iterate()
1318 … TEXTURE_WIDTH, TEXTURE_HEIGHT, 1 /* depth */, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, in iterate()
1321 … TEXTURE_WIDTH, TEXTURE_HEIGHT, 1 /* depth */, GL_DEPTH_STENCIL, GL_FLOAT_32_UNSIGNED_INT_24_8_REV, in iterate()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm_surface_state.c326 img->_BaseFormat == GL_DEPTH_STENCIL) { in brw_get_texture_swizzle()
335 img->InternalFormat != GL_DEPTH_STENCIL) { in brw_get_texture_swizzle()
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()
1080 (base_format == GL_DEPTH_STENCIL && !iobj->base.StencilSampling); in is_depth_texture()
Dbrw_blorp.c582 if (_mesa_get_format_base_format(src_mt->format) == GL_DEPTH_STENCIL || in try_blorp_blit()
583 _mesa_get_format_base_format(dst_mt->format) == GL_DEPTH_STENCIL) in try_blorp_blit()
668 if (_mesa_get_format_base_format(src_mt->format) == GL_DEPTH_STENCIL || in brw_blorp_copytexsubimage()
669 _mesa_get_format_base_format(dst_mt->format) == GL_DEPTH_STENCIL) in brw_blorp_copytexsubimage()
/external/swiftshader/src/OpenGL/common/
DImage.cpp51 case GL_DEPTH_STENCIL: in IsUnsizedInternalFormat()
133 case GL_DEPTH32F_STENCIL8: return GL_DEPTH_STENCIL; in GetBaseInternalFormat()
134 case GL_DEPTH24_STENCIL8: return GL_DEPTH_STENCIL; in GetBaseInternalFormat()
287 case GL_DEPTH_STENCIL: in GetSizedInternalFormat()
528 case GL_DEPTH_STENCIL: in ComputePixelSize()
1646 case GL_DEPTH_STENCIL: in loadImageData()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayStencilAttachments.cpp543 GL_DEPTH_STENCIL, /* format */ in createImmutableCubeArrayStencil()
590 GL_DEPTH_STENCIL, /* format */ in createMutableCubeArrayStencil()
/external/mesa3d/src/mesa/swrast/
Ds_copypix.c477 else if (type == GL_DEPTH_STENCIL) { in swrast_fast_copy_pixels()
581 case GL_DEPTH_STENCIL: in map_readbuffer()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2777 case GL_DEPTH_STENCIL: in get_temp_image_type()
2818 if (rb->_BaseFormat == GL_DEPTH_STENCIL || 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()
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()
3538 _mesa_ClearBufferfi(GL_DEPTH_STENCIL, 0, depthValue, stencilValue); in cleartexsubimage_depth_stencil()
3561 case GL_DEPTH_STENCIL: in cleartexsubimage_for_zoffset()

1234