/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | format_map_desktop.cpp | 23 case GL_STENCIL_INDEX: in ValidDesktopFormat() 120 if (format == GL_STENCIL_INDEX && internalFormat != GL_STENCIL_INDEX) in ValidDesktopFormatCombination()
|
H A D | format_map_autogen.cpp | 611 case GL_STENCIL_INDEX: in ValidES3Format() 1754 case GL_STENCIL_INDEX: in ValidES3FormatCombination()
|
H A D | Texture.h | 148 bool isStencilMode() const { return mDepthStencilTextureMode == GL_STENCIL_INDEX; } in isStencilMode()
|
/third_party/mesa3d/src/glx/ |
H A D | compsize.c | 88 case GL_STENCIL_INDEX: in __glElementsPerGroup() 181 if (format == GL_COLOR_INDEX || format == GL_STENCIL_INDEX) { in __glImageSize()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | texstore.c | 337 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() 493 assert(srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_s8() 547 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_z32f_x24s8() 565 if (srcFormat != GL_STENCIL_INDEX) in _mesa_texstore_z32f_x24s8() 841 case GL_STENCIL_INDEX: in _mesa_texstore_needs_transfer_ops() 959 if ((userFormat == GL_STENCIL_INDEX || userFormat == GL_DEPTH_COMPONENT) in get_read_write_mode()
|
H A D | glformats.c | 373 case GL_STENCIL_INDEX: in _mesa_components_in_format() 622 case GL_STENCIL_INDEX: in _mesa_is_enum_format_unsized() 1274 case GL_STENCIL_INDEX: in _mesa_is_stencil_format() 1325 case GL_STENCIL_INDEX: in _mesa_is_depth_or_stencil_format() 1629 base_format == GL_STENCIL_INDEX) { in _mesa_base_format_has_channel() 1811 if (format != GL_COLOR_INDEX && format != GL_STENCIL_INDEX) { in _mesa_error_check_format_and_type() 1914 case GL_STENCIL_INDEX: in _mesa_error_check_format_and_type() 2366 case GL_STENCIL_INDEX: in _mesa_base_tex_format() 2371 return GL_STENCIL_INDEX; in _mesa_base_tex_format() 3598 case GL_STENCIL_INDEX in _mesa_gles_error_check_format_and_type() [all...] |
H A D | formats.c | 50 * GL_DEPTH_COMPONENT, GL_STENCIL_INDEX, GL_DEPTH_STENCIL. 248 return GL_STENCIL_INDEX; in get_base_format_for_array_format() 316 * GL_YCBCR_MESA, GL_DEPTH_COMPONENT, GL_STENCIL_INDEX, GL_DEPTH_STENCIL. 557 info->BaseFormat != GL_STENCIL_INDEX; in _mesa_is_format_integer_color() 611 case GL_STENCIL_INDEX: in _mesa_is_format_color_format() 790 info->BaseFormat != GL_STENCIL_INDEX); in _mesa_format_has_color_component()
|
H A D | readpix.c | 98 format == GL_STENCIL_INDEX) { in _mesa_get_readpixels_transfer_ops() 178 case GL_STENCIL_INDEX: in _mesa_readpixels_needs_slow_path() 386 * Read pixels for format=GL_STENCIL_INDEX. 420 GL_STENCIL_INDEX, type, j, 0); in read_stencil_pixels() 893 case GL_STENCIL_INDEX: in _mesa_readpixels() 1023 case GL_STENCIL_INDEX: in read_pixels_es3_error_check()
|
H A D | drawpix.c | 115 case GL_STENCIL_INDEX: in _mesa_DrawPixels()
|
H A D | formatquery.c | 675 case GL_STENCIL_INDEX: in _mesa_query_internal_format_default() 1177 (pname == GL_STENCIL_RENDERABLE && baseFormat != GL_STENCIL_INDEX))) in _mesa_GetInternalformativ()
|
H A D | debug.c | 536 _mesa_ReadPixels(0, 0, w, h, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, buf); in _mesa_dump_stencil_buffer()
|
H A D | renderbuffer.c | 196 rb->_BaseFormat == GL_STENCIL_INDEX) { in renderbuffer_alloc_storage()
|
H A D | framebuffer.c | 755 case GL_STENCIL_INDEX: in renderbuffer_exists()
|
H A D | image.c | 160 assert(format == GL_COLOR_INDEX || format == GL_STENCIL_INDEX); in _mesa_image_offset()
|
H A D | fbobject.c | 1047 baseFormat == GL_STENCIL_INDEX) { in test_attachment_completeness() 1090 if (baseFormat == GL_STENCIL_INDEX || in test_attachment_completeness() 1376 f != GL_STENCIL_INDEX) { in _mesa_test_framebuffer_completeness() 2314 * corresponding base format (one of GL_RGB, GL_RGBA, GL_STENCIL_INDEX, 2391 case GL_STENCIL_INDEX: in _mesa_base_fbo_format() 2398 return _mesa_is_desktop_gl(ctx) ? GL_STENCIL_INDEX : 0; in _mesa_base_fbo_format() 2400 return GL_STENCIL_INDEX; in _mesa_base_fbo_format()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_sampler_view.c | 387 case GL_STENCIL_INDEX: in compute_texture_format_swizzle() 446 baseFormat == GL_STENCIL_INDEX)) { in get_texture_format_swizzle() 451 firstImage->InternalFormat != GL_STENCIL_INDEX) in get_texture_format_swizzle() 522 baseFormat == GL_STENCIL_INDEX) { in st_get_sampler_view_format() 523 if (texObj->StencilSampling || baseFormat == GL_STENCIL_INDEX) in st_get_sampler_view_format()
|
H A D | st_atom_sampler.c | 99 texBaseFormat == GL_STENCIL_INDEX; in st_convert_sampler() 102 texBaseFormat = GL_STENCIL_INDEX; in st_convert_sampler()
|
H A D | st_cb_drawpixels.c | 255 * Used for glDrawPixels(GL_DEPTH_COMPONENT / GL_STENCIL_INDEX). 373 case GL_STENCIL_INDEX: in internal_format() 374 return GL_STENCIL_INDEX; in internal_format() 954 * Software fallback to do glDrawPixels(GL_STENCIL_INDEX) when we 980 if (format == GL_STENCIL_INDEX && in draw_stencil_pixels() 1312 else if (format == GL_STENCIL_INDEX) in st_DrawPixels() 1437 GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, in copy_stencil_pixels()
|
H A D | st_format.c | 376 { GL_STENCIL_INDEX, GL_STENCIL_INDEX1_EXT, GL_STENCIL_INDEX4_EXT, 1577 case GL_STENCIL_INDEX: in st_translate_color()
|
H A D | st_cb_eglimage.c | 213 base_format = GL_STENCIL_INDEX; in st_pipe_format_to_base_format()
|
H A D | st_cb_readpixels.c | 114 /* Make sure we have stencil format in case of GL_STENCIL_INDEX to in try_pbo_readpixels() 117 if (gl_format == GL_STENCIL_INDEX) in try_pbo_readpixels()
|
/third_party/mesa3d/src/mesa/main/tests/ |
H A D | mesa_formats.cpp | 170 EXPECT_EQ(fffat_wrap(GL_STENCIL_INDEX, GL_UNSIGNED_BYTE), in TEST_F() 185 GL_STENCIL_INDEX, in TEST_F()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureStateQueryTests.cpp | 905 gl.glTexParameteri(m_target, m_pname, GL_STENCIL_INDEX); in test() 907 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test() 913 gl.glTexParameterf(m_target, m_pname, GL_STENCIL_INDEX); in test() 915 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test() 925 const glw::GLint stencilIndex = GL_STENCIL_INDEX; in test() 929 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test() 939 const glw::GLuint stencilIndex = GL_STENCIL_INDEX; in test() 943 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_STENCIL_INDEX, m_type); in test()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fStencilTexturingTests.cpp | 252 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()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedPixelsTests.cpp | 304 { 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() 1655 if ((internalformat.baseFormat == GL_DEPTH_STENCIL || internalformat.baseFormat == GL_STENCIL_INDEX || 1657 (format.format == GL_DEPTH_STENCIL || format.format == GL_STENCIL_INDEX || 1665 if (format.format == GL_STENCIL_INDEX || internalformat.baseFormat == GL_STENCIL_INDEX) 1678 if ((format.format == GL_STENCIL_INDEX && 1679 ((internalformat.baseFormat != GL_STENCIL_INDEX && internalformat.baseFormat != GL_DEPTH_STENCIL) || 1703 if (format.format == GL_STENCIL_INDEX [all...] |