Home
last modified time | relevance | path

Searched refs:GL_DEPTH_COMPONENT (Results 1 - 25 of 124) sorted by relevance

12345

/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cTextureSwizzleTests.cpp234 GL_DEPTH_COMPONENT,
247 GL_DEPTH_COMPONENT,
260 GL_DEPTH_COMPONENT,
273 GL_DEPTH_COMPONENT,
286 GL_DEPTH_COMPONENT,
299 GL_DEPTH_COMPONENT,
312 GL_DEPTH_COMPONENT,
325 GL_DEPTH_COMPONENT,
338 GL_DEPTH_COMPONENT,
351 GL_DEPTH_COMPONENT,
[all...]
H A Dgl4cTextureGatherTests.cpp622 if (format != GL_DEPTH_COMPONENT) in CreateTextureCubeArray()
631 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCubeArray()
712 if (format != GL_DEPTH_COMPONENT) in CreateTexture2DArray()
800 if (format != GL_DEPTH_COMPONENT) in CreateTextureCube()
809 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCube()
849 if (!rect && format != GL_DEPTH_COMPONENT) in CreateTexture2D()
1326 return GL_DEPTH_COMPONENT; in Format()
1555 return GL_DEPTH_COMPONENT; in Format()
1906 return GL_DEPTH_COMPONENT; in Format()
2212 return GL_DEPTH_COMPONENT; in Format()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dglformats.c374 case GL_DEPTH_COMPONENT: in _mesa_components_in_format()
498 if (format == GL_DEPTH_COMPONENT || in _mesa_bytes_per_pixel()
620 case GL_DEPTH_COMPONENT: in _mesa_is_enum_format_unsized()
1255 case GL_DEPTH_COMPONENT: in _mesa_is_depth_format()
1321 case GL_DEPTH_COMPONENT: in _mesa_is_depth_or_stencil_format()
1620 base_format == GL_DEPTH_COMPONENT) { in _mesa_base_format_has_channel()
1864 if (ctx->API == API_OPENGLES2 && format == GL_DEPTH_COMPONENT) in _mesa_error_check_format_and_type()
1939 case GL_DEPTH_COMPONENT: in _mesa_error_check_format_and_type()
2223 case GL_DEPTH_COMPONENT: in _mesa_es_error_check_format_and_type()
2350 case GL_DEPTH_COMPONENT in _mesa_base_tex_format()
[all...]
H A Dtexstore.c336 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z24_s8()
360 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */ in _mesa_texstore_z24_s8()
415 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_s8_z24()
441 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */ in _mesa_texstore_s8_z24()
546 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z32f_x24s8()
571 if (srcFormat != GL_DEPTH_COMPONENT) in _mesa_texstore_z32f_x24s8()
836 case GL_DEPTH_COMPONENT: in _mesa_texstore_needs_transfer_ops()
886 if ((baseInternalFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_can_use_memcpy()
959 if ((userFormat == GL_STENCIL_INDEX || userFormat == GL_DEPTH_COMPONENT) in get_read_write_mode()
H A Dreadpix.c96 if (format == GL_DEPTH_COMPONENT || in _mesa_get_readpixels_transfer_ops()
175 case GL_DEPTH_COMPONENT: in _mesa_readpixels_needs_slow_path()
274 * Optimized path for conversion of depth values to GL_DEPTH_COMPONENT,
306 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_uint_depth_pixels()
308 GL_DEPTH_COMPONENT, type, 0, 0); in read_uint_depth_pixels()
322 * Read pixels for format=GL_DEPTH_COMPONENT.
352 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_depth_pixels()
354 GL_DEPTH_COMPONENT, type, 0, 0); in read_depth_pixels()
897 case GL_DEPTH_COMPONENT: in _mesa_readpixels()
1007 case GL_DEPTH_COMPONENT in read_pixels_es3_error_check()
[all...]
H A Dformats.c50 * GL_DEPTH_COMPONENT, GL_STENCIL_INDEX, GL_DEPTH_STENCIL.
246 return GL_DEPTH_COMPONENT; in get_base_format_for_array_format()
316 * GL_YCBCR_MESA, GL_DEPTH_COMPONENT, GL_STENCIL_INDEX, GL_DEPTH_STENCIL.
555 info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_is_format_integer_color()
610 case GL_DEPTH_COMPONENT: in _mesa_is_format_color_format()
788 assert(info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_format_has_color_component()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDepthStencilFormatsTest.cpp198 checkTexImageFormatSupport(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT)); in TEST_P()
200 checkTexImageFormatSupport(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT)); in TEST_P()
242 const bool hasStencil = (type.format != GL_DEPTH_COMPONENT); in depthStencilReadbackCase()
357 glReadPixels(0, 0, destRes, destRes, GL_DEPTH_COMPONENT, in depthStencilReadbackCase()
412 GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, fakeData, 16, 0}; in TEST_P()
424 GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, fakeData, 16, 0}; in TEST_P()
435 ReadbackTestParam type = {GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT, GL_FLOAT, fakeData, 32, 0}; in TEST_P()
513 {GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, fakeData, 16, 0}, in TEST_P()
514 {GL_DEPTH_ATTACHMENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, fakeData, 16, 0}, in TEST_P()
793 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHOR in TEST_P()
[all...]
H A DTextureUploadFormatTest.cpp92 case GL_DEPTH_COMPONENT: in bytesPerPixel()
236 case GL_DEPTH_COMPONENT: in TEST_P()
421 fnTest({GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT}, {1, 0, 0, 0}); in TEST_P()
429 fnTest({GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT}, {1, 0, 0, 0}); in TEST_P()
430 fnTest({GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT}, {1, 0, 0, 0}); in TEST_P()
618 fnTest({GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT}, {1, 0, 0, 0}); in TEST_P()
H A DReadOnlyFeedbackLoopTest.cpp71 glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, width, height, 0, GL_DEPTH_COMPONENT, in TEST_P()
H A DSwizzleTest.cpp337 init2DTexture(GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT, data); in TEST_P()
346 init2DTexture(GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, data); in TEST_P()
356 init2DTexture(GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, data); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp351 if (format == GL_DEPTH_STENCIL || format == GL_DEPTH_COMPONENT) in prepareTexturingProgramSources()
377 if ((internalFormat == GL_DEPTH_COMPONENT) || (internalFormat == GL_DEPTH_STENCIL)) in prepareTexturingProgramSources()
440 return GL_DEPTH_COMPONENT; in getUnsizedFormatFromInternalFormat()
818 formatMap[GL_DEPTH_COMPONENT] = TextureFormat(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT); in iterate()
825 formatMap[GL_DEPTH_COMPONENT] = in iterate()
826 TextureFormat(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT16); in iterate()
996 if (textureFormat == GL_DEPTH_COMPONENT) in iterate()
1573 TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHOR in getESTestData()
[all...]
H A DglcTextureRepeatModeTests.cpp246 { GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,16, 0, NO_FLAG } }, NO_FLAG },
327 { GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,16, 0, NO_FLAG } }, FLAG_REQ_RBO },
328 { GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,24, 0, NO_FLAG } }, FLAG_REQ_RBO },
329 { GL_DEPTH_COMPONENT32, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,32, 0, NO_FLAG } }, 0 },
330 { GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONEN
[all...]
H A DglcPackedPixelsTests.cpp155 { GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,16, 0, 0 } }, 0 },
222 { GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,16, 0, 0 } }, FLAG_REQ_RBO },
223 { GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,24, 0, 0 } }, FLAG_REQ_RBO },
224 { GL_DEPTH_COMPONENT32, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNORM, { { 0, 0, 0, 0, 0, 0,32, 0, 0 } }, 0 },
225 { GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONEN
[all...]
H A DglcLayoutLocationTests.cpp218 return createCubeMap<short>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create()
224 return createTexture2D<short>(gl, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create()
236 return createTexture2DArray<short>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create()
296 return createTexture1D<unsigned short>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create()
308 return createTexture2D<short>(gl, 1, GL_TEXTURE_1D_ARRAY, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, in create()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampSamplingTextureGroup.cpp93 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, 255, in init()
101 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, 255, in init()
213 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, 255, in init()
221 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, 255, 0, in init()
H A DesextcTextureBorderClampTests.cpp118 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, 255, in init()
126 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, 255, in init()
240 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, in init()
248 1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256, 1, 0, in init()
/third_party/mesa3d/src/mesa/main/tests/
H A Dmesa_formats.cpp168 EXPECT_EQ(fffat_wrap(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT), in TEST_F()
174 EXPECT_TRUE(_mesa_format_is_mesa_array_format(_mesa_format_from_format_and_type(GL_DEPTH_COMPONENT, in TEST_F()
189 GL_DEPTH_COMPONENT, in TEST_F()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformat_map_autogen.cpp297 case GL_DEPTH_COMPONENT: in GetSizedFormatInternal()
597 case GL_DEPTH_COMPONENT: in ValidES3Format()
755 case GL_DEPTH_COMPONENT: in ValidES3FormatCombination()
775 case GL_DEPTH_COMPONENT: in ValidES3FormatCombination()
798 case GL_DEPTH_COMPONENT: in ValidES3FormatCombination()
H A Dformat_map_desktop.cpp24 case GL_DEPTH_COMPONENT: in ValidDesktopFormat()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DGLFormat.cpp94 AddFormat(wgpu::TextureFormat::Depth32Float, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT, Type::DepthStencil); in BuildGLFormatTable()
95 AddFormat(wgpu::TextureFormat::Depth24Plus, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT, Type::DepthStencil); in BuildGLFormatTable()
97 AddFormat(wgpu::TextureFormat::Depth16Unorm, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, Type::DepthStencil); in BuildGLFormatTable()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_sampler_view.c389 case GL_DEPTH_COMPONENT: in compute_texture_format_swizzle()
444 (baseFormat == GL_DEPTH_COMPONENT || in get_texture_format_swizzle()
449 if (firstImage->InternalFormat != GL_DEPTH_COMPONENT && in get_texture_format_swizzle()
520 if (baseFormat == GL_DEPTH_COMPONENT || in st_get_sampler_view_format()
/third_party/mesa3d/src/glx/
H A Dcompsize.c89 case GL_DEPTH_COMPONENT: in __glElementsPerGroup()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.cpp50 case GL_DEPTH_COMPONENT: in IsUnsizedInternalFormat()
129 case GL_DEPTH_COMPONENT24: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
130 case GL_DEPTH_COMPONENT32_OES: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
131 case GL_DEPTH_COMPONENT32F: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
132 case GL_DEPTH_COMPONENT16: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
279 case GL_DEPTH_COMPONENT: in GetSizedInternalFormat()
491 case GL_DEPTH_COMPONENT: in ComputePixelSize()
1574 case GL_DEPTH_COMPONENT: in loadImageData()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cTextureGatherTests.cpp649 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCube()
689 if (format != GL_DEPTH_COMPONENT) in CreateTextureSRGB()
1090 return GL_DEPTH_COMPONENT; in Format()
1227 return GL_DEPTH_COMPONENT; in Format()
1375 return GL_DEPTH_COMPONENT; in Format()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A Dutilities.cpp586 case GL_DEPTH_COMPONENT: in ValidateCopyFormats()
600 if(format == GL_DEPTH_COMPONENT) in ValidateReadPixelsFormatType()
736 case GL_DEPTH_COMPONENT: in ValidateReadPixelsFormatType()
847 case GL_DEPTH_COMPONENT: // GL_OES_depth_texture in ValidateTextureFormatType()
928 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
1078 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
1303 case GL_DEPTH_COMPONENT: in ConvertReadFormatType()

Completed in 33 milliseconds

12345