Home
last modified time | relevance | path

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

123

/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java112 return GL_DEPTH_COMPONENT; in convertTextureFormat()
245 internalFormat = GL_DEPTH_COMPONENT; in uploadTexture()
246 format = GL_DEPTH_COMPONENT; in uploadTexture()
251 format = GL_DEPTH_COMPONENT; in uploadTexture()
256 format = GL_DEPTH_COMPONENT; in uploadTexture()
261 format = GL_DEPTH_COMPONENT; in uploadTexture()
266 format = GL_DEPTH_COMPONENT; in uploadTexture()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java38 return GLES20.GL_DEPTH_COMPONENT; in convertTextureFormat()
214 format = GLES20.GL_DEPTH_COMPONENT; in uploadTexture()
218 format = GLES20.GL_DEPTH_COMPONENT; in uploadTexture()
/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()
Dteximage.c161 case GL_DEPTH_COMPONENT: in _mesa_base_tex_format()
165 return GL_DEPTH_COMPONENT; in _mesa_base_tex_format()
476 return GL_DEPTH_COMPONENT; in _mesa_base_tex_format()
1650 case GL_DEPTH_COMPONENT: in _mesa_es_error_check_format_and_type()
1901 if (_mesa_base_tex_format(ctx, internalFormat) == GL_DEPTH_COMPONENT) { in texture_error_check()
/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/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/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_eglimage.c59 base_format = GL_DEPTH_COMPONENT; in st_pipe_format_to_base_format()
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_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/modules/glshared/
DglsTextureStateQueryTests.cpp711 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
717 const glw::GLint depthComponentInt = GL_DEPTH_COMPONENT; in test()
718 const glw::GLfloat depthComponentFloat = (glw::GLfloat)GL_DEPTH_COMPONENT; in test()
726 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
734 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
739 const glw::GLint depthComponent = GL_DEPTH_COMPONENT; in test()
748 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
753 const glw::GLuint depthComponent = GL_DEPTH_COMPONENT; in test()
762 verifyStateTextureParamInteger(result, gl, m_target, m_pname, GL_DEPTH_COMPONENT, m_type); in test()
DglsFboCompletenessTests.cpp68 GLS_UNSIZED_FORMATKEY(GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT),
69 GLS_UNSIZED_FORMATKEY(GL_DEPTH_COMPONENT, GL_UNSIGNED_INT),
/external/deqp/framework/opengl/
DgluStateReset.cpp158 gl.texParameteri(GL_TEXTURE_2D, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()
191 gl.texParameteri(GL_TEXTURE_CUBE_MAP, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()
221 gl.texParameteri(GL_TEXTURE_2D_ARRAY, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()
249 gl.texParameteri(GL_TEXTURE_3D, GL_DEPTH_STENCIL_TEXTURE_MODE, GL_DEPTH_COMPONENT); in resetStateES()

123