Home
last modified time | relevance | path

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

1234

/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/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()
2240 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()
288 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_uint_depth_pixels()
290 GL_DEPTH_COMPONENT, type, 0, 0); in read_uint_depth_pixels()
334 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_depth_pixels()
336 GL_DEPTH_COMPONENT, type, 0, 0); in read_depth_pixels()
879 case GL_DEPTH_COMPONENT: in _mesa_readpixels()
952 case GL_DEPTH_COMPONENT: in read_pixels_es3_error_check()
Dformats.c522 info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_is_format_integer_color()
577 case GL_DEPTH_COMPONENT: in _mesa_is_format_color_format()
835 assert(info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_format_has_color_component()
1770 return format == GL_DEPTH_COMPONENT && type == GL_UNSIGNED_SHORT && in _mesa_format_matches_format_and_type()
1777 return format == GL_DEPTH_COMPONENT && type == GL_UNSIGNED_INT && in _mesa_format_matches_format_and_type()
2111 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/
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()
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()
/external/mesa3d/prebuilt-intermediates/main/
Dformat_info.h467 GL_DEPTH_COMPONENT,
493 GL_DEPTH_COMPONENT,
766 GL_DEPTH_COMPONENT,
779 GL_DEPTH_COMPONENT,
1520 GL_DEPTH_COMPONENT,
/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/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp616 case GL_DEPTH_COMPONENT: in ValidateCopyFormats()
630 if(format == GL_DEPTH_COMPONENT) in IsValidReadPixelsFormatType()
716 case GL_DEPTH_COMPONENT: in IsValidReadPixelsFormatType()
743 return format == GL_DEPTH_COMPONENT || in IsDepthTexture()
829 case GL_DEPTH_COMPONENT: // GL_OES_depth_texture in ValidateTextureFormatType()
914 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
1064 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tex_layout.c234 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
450 if (base_format != GL_DEPTH_COMPONENT && in gen9_use_linear_1d_layout()
596 if (base_format == GL_DEPTH_COMPONENT || in brw_miptree_choose_tiling()
/external/swiftshader/src/OpenGL/common/
DImage.cpp154 case GL_DEPTH_COMPONENT: in ConvertReadFormatType()
188 case GL_DEPTH_COMPONENT: in IsUnsizedInternalFormat()
267 case GL_DEPTH_COMPONENT24: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
268 case GL_DEPTH_COMPONENT32_OES: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
269 case GL_DEPTH_COMPONENT32F: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
270 case GL_DEPTH_COMPONENT16: return GL_DEPTH_COMPONENT; in GetBaseInternalFormat()
417 case GL_DEPTH_COMPONENT: in GetSizedInternalFormat()
657 case GL_DEPTH_COMPONENT: in ComputePixelSize()
1731 case GL_DEPTH_COMPONENT: in loadImageData()
/external/mesa3d/src/glx/
Dcompsize.c89 case GL_DEPTH_COMPONENT: in __glElementsPerGroup()
/external/swiftshader/src/OpenGL/libGL/
Dutilities.cpp229 return format == GL_DEPTH_COMPONENT || in IsDepthTexture()
270 case GL_DEPTH_COMPONENT: return sizeof(float); in ComputePixelSize()
356 return (format == GL_DEPTH_COMPONENT); in CheckTextureFormatType()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_eglimage.c57 base_format = GL_DEPTH_COMPONENT; in st_pipe_format_to_base_format()
Dst_sampler_view.c236 case GL_DEPTH_COMPONENT: in compute_texture_format_swizzle()
295 if (firstImage->InternalFormat != GL_DEPTH_COMPONENT && in get_texture_format_swizzle()
Dst_cb_texture.c463 if (stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in allocate_full_mipmap()
719 case GL_DEPTH_COMPONENT: in st_get_blit_mask()
728 case GL_DEPTH_COMPONENT: in st_get_blit_mask()
731 case GL_DEPTH_COMPONENT: in st_get_blit_mask()
1436 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_TexSubImage()
1900 if (format == GL_DEPTH_COMPONENT || format == GL_DEPTH_STENCIL) in st_GetTexSubImage()
2153 if ((baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
2165 if (baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
2322 texImage->_BaseFormat == GL_DEPTH_COMPONENT) { in st_CopyTexSubImage()
Dst_cb_drawpixels.c242 case GL_DEPTH_COMPONENT: in internal_format()
254 return GL_DEPTH_COMPONENT; in internal_format()
257 return GL_DEPTH_COMPONENT; in internal_format()
1092 else if (format == GL_DEPTH_COMPONENT) in st_DrawPixels()
1509 srcFormat = st_choose_format(st, GL_DEPTH_COMPONENT, GL_NONE, in st_CopyPixels()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_tex_subimage.c195 if (format == GL_DEPTH_COMPONENT || in _mesa_meta_pbo_TexSubImage()
330 if (format == GL_DEPTH_COMPONENT || in _mesa_meta_pbo_GetTexSubImage()
Dmeta_blit.c306 if (src_rb && (src_rb->_BaseFormat == GL_DEPTH_COMPONENT || in setup_glsl_msaa_blit_shader()
668 tex_base_format = GL_DEPTH_COMPONENT; in blitframebuffer_texture()
861 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()

1234