Home
last modified time | relevance | path

Searched refs:GL_STENCIL_INDEX (Results 1 - 25 of 65) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformat_map_desktop.cpp23 case GL_STENCIL_INDEX: in ValidDesktopFormat()
120 if (format == GL_STENCIL_INDEX && internalFormat != GL_STENCIL_INDEX) in ValidDesktopFormatCombination()
H A Dformat_map_autogen.cpp611 case GL_STENCIL_INDEX: in ValidES3Format()
1754 case GL_STENCIL_INDEX: in ValidES3FormatCombination()
H A DTexture.h148 bool isStencilMode() const { return mDepthStencilTextureMode == GL_STENCIL_INDEX; } in isStencilMode()
/third_party/mesa3d/src/glx/
H A Dcompsize.c88 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 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()
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 Dglformats.c373 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 Dformats.c50 * 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 Dreadpix.c98 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 Ddrawpix.c115 case GL_STENCIL_INDEX: in _mesa_DrawPixels()
H A Dformatquery.c675 case GL_STENCIL_INDEX: in _mesa_query_internal_format_default()
1177 (pname == GL_STENCIL_RENDERABLE && baseFormat != GL_STENCIL_INDEX))) in _mesa_GetInternalformativ()
H A Ddebug.c536 _mesa_ReadPixels(0, 0, w, h, GL_STENCIL_INDEX, GL_UNSIGNED_BYTE, buf); in _mesa_dump_stencil_buffer()
H A Drenderbuffer.c196 rb->_BaseFormat == GL_STENCIL_INDEX) { in renderbuffer_alloc_storage()
H A Dframebuffer.c755 case GL_STENCIL_INDEX: in renderbuffer_exists()
H A Dimage.c160 assert(format == GL_COLOR_INDEX || format == GL_STENCIL_INDEX); in _mesa_image_offset()
H A Dfbobject.c1047 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 Dst_sampler_view.c387 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 Dst_atom_sampler.c99 texBaseFormat == GL_STENCIL_INDEX; in st_convert_sampler()
102 texBaseFormat = GL_STENCIL_INDEX; in st_convert_sampler()
H A Dst_cb_drawpixels.c255 * 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 Dst_format.c376 { GL_STENCIL_INDEX, GL_STENCIL_INDEX1_EXT, GL_STENCIL_INDEX4_EXT,
1577 case GL_STENCIL_INDEX: in st_translate_color()
H A Dst_cb_eglimage.c213 base_format = GL_STENCIL_INDEX; in st_pipe_format_to_base_format()
H A Dst_cb_readpixels.c114 /* 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 Dmesa_formats.cpp170 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 DglsTextureStateQueryTests.cpp905 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 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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A 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()
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...]

Completed in 40 milliseconds

123