Home
last modified time | relevance | path

Searched refs:GL_DEPTH_COMPONENT (Results 1 – 25 of 101) sorted by relevance

12345

/external/deqp/external/openglcts/modules/gl/
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 …]
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()
1327 return GL_DEPTH_COMPONENT; in Format()
1556 return GL_DEPTH_COMPONENT; in Format()
1907 return GL_DEPTH_COMPONENT; in Format()
2213 return GL_DEPTH_COMPONENT; in Format()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp246 …{ GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, …
327 …{ GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UN…
328 …{ GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNOR…
329 …{ GL_DEPTH_COMPONENT32, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNOR…
330 …{ GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_FLOAT, SAMPLER_FLOAT, {…
416 …{ GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UN…
417 …{ GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNOR…
418 …{ GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_FLOAT, SAMPLER_FLOAT, {…
1259 if ((GL_DEPTH_COMPONENT == format) || (GL_DEPTH_STENCIL == format)) in iterate()
1280 if ((GL_DEPTH_COMPONENT == format) || (GL_DEPTH_STENCIL == format)) in iterate()
DglcInternalformatTests.cpp363 if ((internalFormat == GL_DEPTH_COMPONENT) || (internalFormat == GL_DEPTH_STENCIL)) in prepareTexturingProgramSources()
419 return GL_DEPTH_COMPONENT; in getUnsizedFormatFromInternalFormat()
709 …formatMap[GL_DEPTH_COMPONENT] = TextureFormat(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPON… in iterate()
863 if (textureFormat == GL_DEPTH_COMPONENT) in iterate()
1417 TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, GL_DEPTH_COMPONENT, OES_depth_texture), in getESTestData()
1418 TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT, OES_depth_texture), in getESTestData()
1494 TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT16, OES_required_internalformat, in getESTestData()
1496 TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, GL_DEPTH_COMPONENT16, OES_required_internalformat, in getESTestData()
1498 …TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT24, OES_required_internalformat, OES_dep… in getESTestData()
1499 …TF(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT32, OES_required_internalformat, OES_dep… in getESTestData()
[all …]
DglcPackedPixelsTests.cpp155 …{ GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_U…
222 …{ GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER…
223 …{ GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_…
224 …{ GL_DEPTH_COMPONENT32, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_…
225 …{ GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_FLOAT, SAMPLER_FLOAT…
296 …{ GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UN…
297 …{ GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, SAMPLER_UNOR…
298 …{ GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_FLOAT, SAMPLER_FLOAT, {…
305 …{ GL_DEPTH_COMPONENT, 1, FORMAT_DEPTH, GL_DEPTH_ATTACHMENT, { {-1,-1,-1,-1,-1,-1, 0,-1,-1} }…
326 …{ GL_DEPTH_COMPONENT, 1, FORMAT_DEPTH, GL_DEPTH_ATTACHMENT, { {-1,-1,-1,-1,-1,-1, 0,-1,-1} }…
[all …]
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_U… in create()
236 …return createTexture2DArray<short>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SH… in create()
296 …return createTexture1D<unsigned char>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED… in create()
308 return createTexture2D<short>(gl, 1, GL_TEXTURE_1D_ARRAY, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, in create()
/external/mesa3d/src/mesa/main/
Dglformats.c374 case GL_DEPTH_COMPONENT: in _mesa_components_in_format()
498 if (format == GL_DEPTH_COMPONENT || in _mesa_bytes_per_pixel()
618 case GL_DEPTH_COMPONENT: in _mesa_is_enum_format_unsized()
1248 case GL_DEPTH_COMPONENT: in _mesa_is_depth_format()
1314 case GL_DEPTH_COMPONENT: in _mesa_is_depth_or_stencil_format()
1608 base_format == GL_DEPTH_COMPONENT) { in _mesa_base_format_has_channel()
1642 case GL_DEPTH_COMPONENT: in _mesa_base_format_component_count()
1879 if (ctx->API == API_OPENGLES2 && format == GL_DEPTH_COMPONENT) in _mesa_error_check_format_and_type()
1953 case GL_DEPTH_COMPONENT: in _mesa_error_check_format_and_type()
2241 case GL_DEPTH_COMPONENT: in _mesa_es_error_check_format_and_type()
[all …]
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()
544 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z32f_x24s8()
569 if (srcFormat != GL_DEPTH_COMPONENT) in _mesa_texstore_z32f_x24s8()
831 case GL_DEPTH_COMPONENT: in _mesa_texstore_needs_transfer_ops()
881 if ((baseInternalFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_can_use_memcpy()
954 if ((userFormat == GL_STENCIL_INDEX || userFormat == GL_DEPTH_COMPONENT) in get_read_write_mode()
Dreadpix.c92 if (format == GL_DEPTH_COMPONENT || in _mesa_get_readpixels_transfer_ops()
162 case GL_DEPTH_COMPONENT: in _mesa_readpixels_needs_slow_path()
293 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_uint_depth_pixels()
295 GL_DEPTH_COMPONENT, type, 0, 0); in read_uint_depth_pixels()
339 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_depth_pixels()
341 GL_DEPTH_COMPONENT, type, 0, 0); in read_depth_pixels()
884 case GL_DEPTH_COMPONENT: in _mesa_readpixels()
957 case GL_DEPTH_COMPONENT: in read_pixels_es3_error_check()
Dformats.c527 info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_is_format_integer_color()
582 case GL_DEPTH_COMPONENT: in _mesa_is_format_color_format()
723 assert(info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_format_has_color_component()
1657 return format == GL_DEPTH_COMPONENT && type == GL_UNSIGNED_SHORT && in _mesa_format_matches_format_and_type()
1664 return format == GL_DEPTH_COMPONENT && type == GL_UNSIGNED_INT && in _mesa_format_matches_format_and_type()
1998 return format == GL_DEPTH_COMPONENT && type == GL_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTextureGroup.cpp93 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 25… in init()
101 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
213 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
221 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256,… in init()
DesextcTextureBorderClampTests.cpp118 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 25… in init()
126 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_NEAREST, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
237 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT32F, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256… in init()
245 …1, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_R8, GL_LINEAR, GL_DEPTH_COMPONENT, GL_RED, 256, 256,… in init()
/external/virglrenderer/src/
Dvrend_formats.c84 …{ VIRGL_FORMAT_Z16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, NO_SWIZZLE …
85 … { VIRGL_FORMAT_Z32_UNORM, GL_DEPTH_COMPONENT32, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, NO_SWIZZLE },
87 …{ VIRGL_FORMAT_Z24X8_UNORM, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, NO_SWIZZLE …
88 { VIRGL_FORMAT_Z32_FLOAT, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT, NO_SWIZZLE },
291 { VIRGL_FORMAT_Z32_UNORM, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, NO_SWIZZLE },
/external/mesa3d/src/mesa/state_tracker/
Dst_sampler_view.c326 case GL_DEPTH_COMPONENT: in compute_texture_format_swizzle()
381 (baseFormat == GL_DEPTH_COMPONENT || in get_texture_format_swizzle()
386 if (firstImage->InternalFormat != GL_DEPTH_COMPONENT && in get_texture_format_swizzle()
455 if (baseFormat == GL_DEPTH_COMPONENT || in get_sampler_view_format()
Dst_cb_texture.c478 if (stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in allocate_full_mipmap()
741 case GL_DEPTH_COMPONENT: in st_get_blit_mask()
750 case GL_DEPTH_COMPONENT: in st_get_blit_mask()
753 case GL_DEPTH_COMPONENT: in st_get_blit_mask()
1458 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_TexSubImage()
1922 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_GetTexSubImage()
2175 if ((baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
2187 if (baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
2344 texImage->_BaseFormat == GL_DEPTH_COMPONENT) { in st_CopyTexSubImage()
Dst_cb_drawpixels.c243 case GL_DEPTH_COMPONENT: in internal_format()
255 return GL_DEPTH_COMPONENT; in internal_format()
258 return GL_DEPTH_COMPONENT; in internal_format()
1094 else if (format == GL_DEPTH_COMPONENT) in st_DrawPixels()
1513 srcFormat = st_choose_format(st, GL_DEPTH_COMPONENT, GL_NONE, in st_CopyPixels()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c62 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format()
66 case GL_DEPTH_COMPONENT: in set_renderbuffer_format()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c331 GL_DEPTH_COMPONENT, type, row, 0); in draw_depth_pixels()
352 GL_DEPTH_COMPONENT, type, row, 0); in draw_depth_pixels()
380 GL_DEPTH_COMPONENT, type, in draw_depth_pixels()
740 case GL_DEPTH_COMPONENT: in _swrast_DrawPixels()
Ds_zoom.c188 else if (format == GL_DEPTH_COMPONENT) { in zoom_span()
282 else if (format == GL_DEPTH_COMPONENT) { in zoom_span()
351 (const GLvoid *) span->array->z, GL_DEPTH_COMPONENT); in _swrast_write_zoomed_depth_span()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp615 case GL_DEPTH_COMPONENT: in ValidateCopyFormats()
629 if(format == GL_DEPTH_COMPONENT) in ValidateReadPixelsFormatType()
810 case GL_DEPTH_COMPONENT: in ValidateReadPixelsFormatType()
916 case GL_DEPTH_COMPONENT: // GL_OES_depth_texture in ValidateTextureFormatType()
997 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
1147 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
1372 case GL_DEPTH_COMPONENT: in ConvertReadFormatType()
/external/mesa3d/src/glx/
Dcompsize.c89 case GL_DEPTH_COMPONENT: in __glElementsPerGroup()
/external/swiftshader/src/OpenGL/common/
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()
519 case GL_DEPTH_COMPONENT: in ComputePixelSize()
1636 case GL_DEPTH_COMPONENT: in loadImageData()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_blit.c306 if (src_rb && (src_rb->_BaseFormat == GL_DEPTH_COMPONENT || in setup_glsl_msaa_blit_shader()
669 tex_base_format = GL_DEPTH_COMPONENT; in blitframebuffer_texture()
872 GL_STENCIL_INDEX : GL_DEPTH_COMPONENT; in _mesa_meta_fb_tex_blit_end()
/external/deqp/external/openglcts/modules/gles31/
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()
/external/deqp/framework/opengl/
DgluStateReset.cpp180 gl.texParameteri(GL_TEXTURE_2D, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()
213 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()
243 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()
271 gl.texParameteri(GL_TEXTURE_3D, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()

12345