Home
last modified time | relevance | path

Searched refs:GL_STENCIL_INDEX (Results 1 – 25 of 60) sorted by relevance

123

/external/mesa3d/src/glx/
Dcompsize.c88 case GL_STENCIL_INDEX: in __glElementsPerGroup()
181 if (format == GL_COLOR_INDEX || format == GL_STENCIL_INDEX) { in __glImageSize()
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c324 case GL_STENCIL_INDEX: in compute_texture_format_swizzle()
383 baseFormat == GL_STENCIL_INDEX)) { in get_texture_format_swizzle()
388 firstImage->InternalFormat != GL_STENCIL_INDEX) in get_texture_format_swizzle()
457 baseFormat == GL_STENCIL_INDEX) { in get_sampler_view_format()
458 if (stObj->base.StencilSampling || baseFormat == GL_STENCIL_INDEX) in get_sampler_view_format()
Dst_cb_drawpixels.c271 case GL_STENCIL_INDEX: in internal_format()
272 return GL_STENCIL_INDEX; in internal_format()
791 if (format == GL_STENCIL_INDEX && in draw_stencil_pixels()
1092 else if (format == GL_STENCIL_INDEX) in st_DrawPixels()
1215 GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, in copy_stencil_pixels()
Dst_cb_eglimage.c118 base_format = GL_STENCIL_INDEX; in st_pipe_format_to_base_format()
Dst_cb_texture.c743 case GL_STENCIL_INDEX: in st_get_blit_mask()
760 case GL_STENCIL_INDEX: in st_get_blit_mask()
762 case GL_STENCIL_INDEX: in st_get_blit_mask()
1882 if (format == GL_DEPTH_STENCIL || format == GL_STENCIL_INDEX) { in st_GetTexSubImage()
/external/mesa3d/src/mesa/main/
Dtexstore.c337 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_z24_s8()
363 else if (srcFormat == GL_STENCIL_INDEX) { /* preserve depth */ in _mesa_texstore_z24_s8()
416 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_s8_z24()
444 else if (srcFormat == GL_STENCIL_INDEX) { /* preserve depth */ in _mesa_texstore_s8_z24()
491 assert(srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_s8()
545 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_z32f_x24s8()
563 if (srcFormat != GL_STENCIL_INDEX) in _mesa_texstore_z32f_x24s8()
836 case GL_STENCIL_INDEX: in _mesa_texstore_needs_transfer_ops()
954 if ((userFormat == GL_STENCIL_INDEX || userFormat == GL_DEPTH_COMPONENT) in get_read_write_mode()
Dglformats.c373 case GL_STENCIL_INDEX: in _mesa_components_in_format()
620 case GL_STENCIL_INDEX: in _mesa_is_enum_format_unsized()
1267 case GL_STENCIL_INDEX: in _mesa_is_stencil_format()
1318 case GL_STENCIL_INDEX: in _mesa_is_depth_or_stencil_format()
1617 base_format == GL_STENCIL_INDEX) { in _mesa_base_format_has_channel()
1826 if (format != GL_COLOR_INDEX && format != GL_STENCIL_INDEX) { in _mesa_error_check_format_and_type()
1928 case GL_STENCIL_INDEX: in _mesa_error_check_format_and_type()
2381 case GL_STENCIL_INDEX: in _mesa_base_tex_format()
2386 return GL_STENCIL_INDEX; in _mesa_base_tex_format()
3332 case GL_STENCIL_INDEX: in _mesa_es3_error_check_format_and_type()
Dreadpix.c94 format == GL_STENCIL_INDEX) { in _mesa_get_readpixels_transfer_ops()
165 case GL_STENCIL_INDEX: in _mesa_readpixels_needs_slow_path()
407 GL_STENCIL_INDEX, type, j, 0); in read_stencil_pixels()
880 case GL_STENCIL_INDEX: in _mesa_readpixels()
973 case GL_STENCIL_INDEX: in read_pixels_es3_error_check()
Dformats.c529 info->BaseFormat != GL_STENCIL_INDEX; in _mesa_is_format_integer_color()
583 case GL_STENCIL_INDEX: in _mesa_is_format_color_format()
725 info->BaseFormat != GL_STENCIL_INDEX); in _mesa_format_has_color_component()
1668 return format == GL_STENCIL_INDEX && type == GL_UNSIGNED_BYTE; in _mesa_format_matches_format_and_type()
Ddrawpix.c107 case GL_STENCIL_INDEX: in _mesa_DrawPixels()
Dformatquery.c635 case GL_STENCIL_INDEX: in _mesa_query_internal_format_default()
1140 (pname == GL_STENCIL_RENDERABLE && baseFormat != GL_STENCIL_INDEX))) in _mesa_GetInternalformativ()
Dfbobject.c893 baseFormat == GL_STENCIL_INDEX) { in test_attachment_completeness()
936 if (baseFormat == GL_STENCIL_INDEX || in test_attachment_completeness()
1061 f != GL_STENCIL_INDEX) { in _mesa_test_framebuffer_completeness()
1868 case GL_STENCIL_INDEX: in _mesa_base_fbo_format()
1875 return _mesa_is_desktop_gl(ctx) ? GL_STENCIL_INDEX : 0; in _mesa_base_fbo_format()
1877 return GL_STENCIL_INDEX; in _mesa_base_fbo_format()
Dtexformat.c768 case GL_STENCIL_INDEX: in _mesa_choose_tex_format()
Dtexparam.c523 bool stencil = params[0] == GL_STENCIL_INDEX; in set_tex_parameteri()
1927 (obj->StencilSampling ? GL_STENCIL_INDEX : GL_DEPTH_COMPONENT); in get_tex_parameterfv()
2169 (obj->StencilSampling ? GL_STENCIL_INDEX : GL_DEPTH_COMPONENT); in get_tex_parameteriv()
Ddebug.c536 _mesa_ReadPixels(0, 0, w, h, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, buf); in _mesa_dump_stencil_buffer()
Dpack.c259 assert(srcFormat == GL_COLOR_INDEX || srcFormat == GL_STENCIL_INDEX); in extract_uint_indexes()
537 extract_uint_indexes(n, indexes, GL_STENCIL_INDEX, srcType, source, in _mesa_unpack_stencil_span()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_draw.c50 if (format == GL_STENCIL_INDEX) { in intelDrawPixels()
Dintel_fbo.c179 case GL_STENCIL_INDEX: in intel_renderbuffer_format()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_pixel_draw.c160 if (format == GL_STENCIL_INDEX) { in intelDrawPixels()
/external/deqp/modules/glshared/
DglsTextureStateQueryTests.cpp841 gl.glTexParameteri(m_target, m_pname, GL_STENCIL_INDEX); in test()
843 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
849 gl.glTexParameterf(m_target, m_pname, GL_STENCIL_INDEX); in test()
851 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
861 const glw::GLint stencilIndex = GL_STENCIL_INDEX; in test()
865 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
875 const glw::GLuint stencilIndex = GL_STENCIL_INDEX; in test()
879 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp304 …{ GL_STENCIL_INDEX, 1, FORMAT_STENCIL, GL_STENCIL_ATTACHMENT, { {-1,-1,-1,-1,-1,-1,-1, 0,-1}…
639 formatMap[GL_STENCIL_INDEX] = "GL_STENCIL_INDEX"; in getFormatStr()
1647 …((internalformat.baseFormat == GL_DEPTH_STENCIL || internalformat.baseFormat == GL_STENCIL_INDEX || in isFormatValid()
1649 (format.format == GL_DEPTH_STENCIL || format.format == GL_STENCIL_INDEX || in isFormatValid()
1657 if (format.format == GL_STENCIL_INDEX || internalformat.baseFormat == GL_STENCIL_INDEX) in isFormatValid()
1670 if ((format.format == GL_STENCIL_INDEX && in isFormatValid()
1671 …((internalformat.baseFormat != GL_STENCIL_INDEX && internalformat.baseFormat != GL_DEPTH_STENCIL) … in isFormatValid()
1695 if (format.format == GL_STENCIL_INDEX && internalformat.baseFormat != GL_DEPTH_STENCIL && in isFormatValid()
1696 internalformat.baseFormat != GL_STENCIL_INDEX) in isFormatValid()
2812 if (format.format == GL_DEPTH_STENCIL || format.format == GL_STENCIL_INDEX || in getBits()
/external/deqp/modules/gles31/functional/
Des31fStencilTexturingTests.cpp252 gl.texParameteri(GL_TEXTURE_2D, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_STENCIL_INDEX); in blitStencilToColor2D()
317 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_STENCIL_INDEX); in blitStencilToColor2DArray()
376 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_STENCIL_INDEX); in blitStencilToColorCube()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c281 GL_STENCIL_INDEX, type, in draw_stencil_pixels()
735 case GL_STENCIL_INDEX: in _swrast_DrawPixels()
Ds_renderbuffer.c93 case GL_STENCIL_INDEX: in soft_renderbuffer_storage()
/external/virglrenderer/src/
Dvrend_formats.c91 { VIRGL_FORMAT_X24S8_UINT, GL_STENCIL_INDEX8, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, NO_SWIZZLE },

123