Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/mesa/main/
Dformats.c454 GL_DEPTH_COMPONENT, /* BaseFormat */
463 GL_DEPTH_COMPONENT, /* BaseFormat */
472 GL_DEPTH_COMPONENT, /* BaseFormat */
481 GL_DEPTH_COMPONENT, /* BaseFormat */
1496 GL_DEPTH_COMPONENT, /* BaseFormat */
1718 info->BaseFormat != GL_DEPTH_COMPONENT && in _mesa_is_format_integer_color()
2745 return format == GL_DEPTH_COMPONENT && type == GL_UNSIGNED_SHORT && in _mesa_format_matches_format_and_type()
2752 return format == GL_DEPTH_COMPONENT && type == GL_UNSIGNED_INT && in _mesa_format_matches_format_and_type()
2955 return format == GL_DEPTH_COMPONENT && type == GL_FLOAT && !swapBytes; in _mesa_format_matches_format_and_type()
Dreadpix.c86 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in fast_read_depth_pixels()
88 GL_DEPTH_COMPONENT, type, 0, 0); in fast_read_depth_pixels()
135 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type); in read_depth_pixels()
137 GL_DEPTH_COMPONENT, type, 0, 0); in read_depth_pixels()
663 case GL_DEPTH_COMPONENT: in _mesa_readpixels()
721 } else if (format == GL_DEPTH_COMPONENT in _mesa_ReadnPixelsARB()
Dglformats.c172 case GL_DEPTH_COMPONENT: in _mesa_components_in_format()
680 case GL_DEPTH_COMPONENT: in _mesa_is_depth_format()
746 case GL_DEPTH_COMPONENT: in _mesa_is_depth_or_stencil_format()
952 base_format == GL_DEPTH_COMPONENT) { in _mesa_base_format_has_channel()
1128 case GL_DEPTH_COMPONENT: in _mesa_error_check_format_and_type()
Dtexstore.c345 logicalBaseFormat == GL_DEPTH_COMPONENT); in _mesa_make_temp_float_image()
355 textureBaseFormat == GL_DEPTH_COMPONENT); in _mesa_make_temp_float_image()
1028 baseInternalFormat == GL_DEPTH_COMPONENT && in _mesa_texstore_z32()
1029 srcFormat == GL_DEPTH_COMPONENT && in _mesa_texstore_z32()
1135 baseInternalFormat == GL_DEPTH_COMPONENT && in _mesa_texstore_z16()
1136 srcFormat == GL_DEPTH_COMPONENT && in _mesa_texstore_z16()
2784 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z24_s8()
2798 else if (srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z24_s8()
2821 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */ in _mesa_texstore_z24_s8()
2878 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_s8_z24()
[all …]
Dfbobject.c511 case GL_DEPTH_COMPONENT: in is_legal_depth_format()
581 if (baseFormat == GL_DEPTH_COMPONENT) { in test_attachment_completeness()
630 if (baseFormat == GL_DEPTH_COMPONENT) { in test_attachment_completeness()
1137 case GL_DEPTH_COMPONENT: in _mesa_base_fbo_format()
1139 return _mesa_is_desktop_gl(ctx) ? GL_DEPTH_COMPONENT : 0; in _mesa_base_fbo_format()
1142 return GL_DEPTH_COMPONENT; in _mesa_base_fbo_format()
1153 ? GL_DEPTH_COMPONENT : 0; in _mesa_base_fbo_format()
Ddrawpix.c110 case GL_DEPTH_COMPONENT: in _mesa_DrawPixels()
Dtexstorage.c260 case GL_DEPTH_COMPONENT: in tex_storage_error_check()
/external/swiftshader/src/OpenGL/common/
DImage.cpp532 case GL_DEPTH_COMPONENT: in ConvertFormatType()
670 case GL_DEPTH_COMPONENT: in SelectInternalFormat()
824 case GL_DEPTH_COMPONENT: in SelectInternalFormat()
863 case GL_DEPTH_COMPONENT: in SelectInternalFormat()
989 case GL_DEPTH_COMPONENT: return sizeof(unsigned short); in ComputePixelSize()
1021 case GL_DEPTH_COMPONENT: return sizeof(unsigned int); in ComputePixelSize()
1050 case GL_DEPTH_COMPONENT: return sizeof(float); in ComputePixelSize()
1429 case GL_DEPTH_COMPONENT: in loadImageData()
1530 case GL_DEPTH_COMPONENT: in loadImageData()
1599 case GL_DEPTH_COMPONENT: in loadImageData()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_fbo.c63 rb->_BaseFormat = GL_DEPTH_COMPONENT; in set_renderbuffer_format()
67 case GL_DEPTH_COMPONENT: in set_renderbuffer_format()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp136 InsertFormatMapping(&map, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, GL_DEPTH_COMPONENT16); in BuildFormatMap()
137 InsertFormatMapping(&map, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, GL_DEPTH_COMPONENT32_OES); in BuildFormatMap()
138 InsertFormatMapping(&map, GL_DEPTH_COMPONENT, GL_FLOAT, GL_DEPTH_COMPONENT32F); in BuildFormatMap()
164 case GL_DEPTH_COMPONENT: in GetSizedInternalFormat()
653 case GL_DEPTH_COMPONENT: in ValidReadPixelsFormatType()
679 return format == GL_DEPTH_COMPONENT || in IsDepthTexture()
762 case GL_DEPTH_COMPONENT: // GL_OES_depth_texture in ValidateTextureFormatType()
953 case GL_DEPTH_COMPONENT: in ValidateTextureFormatType()
DlibGLESv3.cpp99 case GL_DEPTH_COMPONENT: in validateColorBufferFormat()
183 InsertFormatMapping(map, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in BuildFormatMap3D()
184 InsertFormatMapping(map, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT); in BuildFormatMap3D()
185 InsertFormatMapping(map, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT); in BuildFormatMap3D()
186 InsertFormatMapping(map, GL_DEPTH_COMPONENT32_OES, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT); in BuildFormatMap3D()
187 InsertFormatMapping(map, GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT); in BuildFormatMap3D()
229 case GL_DEPTH_COMPONENT: in ValidateFormat3D()
826 case GL_DEPTH_COMPONENT: in glCompressedTexImage3D()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c329 GL_DEPTH_COMPONENT, type, row, 0); in draw_depth_pixels()
350 GL_DEPTH_COMPONENT, type, row, 0); in draw_depth_pixels()
378 GL_DEPTH_COMPONENT, type, in draw_depth_pixels()
692 case GL_DEPTH_COMPONENT: in _swrast_DrawPixels()
Ds_zoom.c189 else if (format == GL_DEPTH_COMPONENT) { in zoom_span()
283 else if (format == GL_DEPTH_COMPONENT) { in zoom_span()
352 (const GLvoid *) span->array->z, GL_DEPTH_COMPONENT); in _swrast_write_zoomed_depth_span()
/external/mesa3d/src/glx/
Dcompsize.c84 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/drivers/dri/intel/
Dintel_tex_layout.c124 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_layout.c124 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
Di915_texstate.c364 if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in i915_update_tex_unit()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex_layout.c124 (base_format == GL_DEPTH_COMPONENT || in intel_vertical_texture_alignment_unit()
Dbrw_wm_sampler_state.c92 if (firstImage->_BaseFormat == GL_DEPTH_COMPONENT) { in upload_default_color()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c360 stImage->base._BaseFormat == GL_DEPTH_COMPONENT || in guess_and_alloc_texture()
743 if ((baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
754 if (baseFormat == GL_DEPTH_COMPONENT || in fallback_copy_texsubimage()
942 if (texBaseFormat == GL_DEPTH_COMPONENT || in st_CopyTexSubImage()
1028 if (texBaseFormat == GL_DEPTH_COMPONENT) { in st_CopyTexSubImage()
Dst_cb_eglimage.c59 base_format = GL_DEPTH_COMPONENT; in st_pipe_format_to_base_format()
Dst_cb_drawpixels.c340 case GL_DEPTH_COMPONENT: in internal_format()
352 return GL_DEPTH_COMPONENT; in internal_format()
355 return GL_DEPTH_COMPONENT; in internal_format()
1122 else if (format == GL_DEPTH_COMPONENT) in st_DrawPixels()
1509 texFormat = st_choose_format(screen, GL_DEPTH_COMPONENT, in st_CopyPixels()
/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()
/external/deqp/modules/glshared/
DglsTextureStateQueryTests.cpp832 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
838 const glw::GLint depthComponentInt = GL_DEPTH_COMPONENT; in test()
839 const glw::GLfloat depthComponentFloat = (glw::GLfloat)GL_DEPTH_COMPONENT; in test()
847 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
855 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
860 const glw::GLint depthComponent = GL_DEPTH_COMPONENT; in test()
869 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
874 const glw::GLuint depthComponent = GL_DEPTH_COMPONENT; in test()
883 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()

1234