Home
last modified time | relevance | path

Searched refs:GL_DEPTH (Results 1 - 25 of 59) sorted by relevance

123

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboDepthbufferTests.cpp103 glClearBufferfv(GL_DEPTH, 0, &clearDepth); in render()
195 glClearBufferfv(GL_DEPTH, 0, &clearDepth); in render()
281 glClearBufferfv(GL_DEPTH, 0, &clearDepth); in render()
H A Des3fFboStateQueryTests.cpp176 GL_DEPTH, in test()
587 if (attachmentExists(GL_DEPTH)) in test()
593 GL_DEPTH, in test()
H A Des3fNegativeBufferApiTests.cpp437 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_DEPTH or GL_DEPTH_STENCIL."); in init()
438 glClearBufferiv(GL_DEPTH, 1, &data[0]); in init()
481 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_DEPTH, GL_STENCIL or GL_DEPTH_STENCIL."); in init()
482 glClearBufferuiv(GL_DEPTH, 1, &data[0]); in init()
529 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_DEPTH and drawBuffer is not zero."); in init()
530 glClearBufferfv(GL_DEPTH, 1, &data[0]); in init()
547 glClearBufferfi(GL_DEPTH, 0, 1.0f, 1); in init()
H A Des3fRasterizerDiscardTests.cpp337 case CASE_CLEAR_DEPTH: (m_caseOptions & CASEOPTION_FBO) ? glClearBufferfv(GL_DEPTH, 0, &FAIL_DEPTH) : glClear(GL_DEPTH_BUFFER_BIT); break; in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebuffer.cpp420 case GL_DEPTH: in getAttachment()
831 setAttachmentImpl(context, GL_FRAMEBUFFER_DEFAULT, GL_DEPTH, ImageIndex(), surface, in Framebuffer()
1651 ANGLE_TRY(mImpl->clearBufferfv(context, GL_DEPTH, drawbuffer, &depth)); in clearBufferfi()
1833 case GL_DEPTH: in setAttachment()
1964 case GL_DEPTH: in setAttachmentImpl()
2464 case GL_DEPTH: in markBufferInitialized()
2535 case GL_DEPTH:
2586 case GL_DEPTH:
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DBlitFramebufferPerf.cpp208 glClearBufferfv(GL_DEPTH, 0, &clearDepthValue); in drawBenchmark()
H A DTracePerfTest.cpp1709 case GL_DEPTH: in ConvertDefaultFramebufferEnum()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c1583 } else if (type == GL_DEPTH || type == GL_DEPTH_STENCIL) { in blit_copy_pixels()
1637 if (type == GL_DEPTH) in blit_copy_pixels()
1702 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_DEPTH); in st_CopyPixels()
1742 } else if (type == GL_DEPTH) { in st_CopyPixels()
1773 if (type == GL_DEPTH) { in st_CopyPixels()
1906 if (type == GL_DEPTH) in st_CopyPixels()
/third_party/mesa3d/src/mesa/main/
H A Dfbobject.c340 case GL_DEPTH: in get_fb0_attachment()
407 case GL_DEPTH: in get_fb0_attachment()
927 * if GL_DEPTH, this is a depth component attachment point,
934 assert(format == GL_COLOR || format == GL_DEPTH || format == GL_STENCIL); in test_attachment_completeness()
1034 else if (format == GL_DEPTH) { in test_attachment_completeness()
1075 else if (format == GL_DEPTH) { in test_attachment_completeness()
1317 test_attachment_completeness(ctx, GL_DEPTH, att); in _mesa_test_framebuffer_completeness()
4601 attachment != GL_DEPTH && attachment != GL_STENCIL) { in get_framebuffer_attachment_parameter()
4767 (attachment == GL_DEPTH || attachment == GL_STENCIL)) { in get_framebuffer_attachment_parameter()
5220 case GL_DEPTH in invalidate_framebuffer_storage()
[all...]
H A Ddrawpix.c226 type != GL_DEPTH && in _mesa_CopyPixels()
H A Dclear.c575 case GL_DEPTH: in clear_bufferfv()
H A Dframebuffer.c683 * GL_DEPTH_COMPONENT, etc. or GL_COLOR, GL_DEPTH, GL_STENCIL.
748 case GL_DEPTH: in renderbuffer_exists()
789 * GL_DEPTH_COMPONENT, etc. or GL_COLOR, GL_DEPTH, GL_STENCIL.
H A Dglthread_marshal.h149 case GL_DEPTH: in _mesa_buffer_enum_to_count()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DFramebufferD3D.cpp131 if (buffer == GL_DEPTH) in clearBufferfv()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeBufferApiTests.cpp534 ctx.beginSection("GL_INVALID_ENUM is generated if buffer is GL_DEPTH or GL_DEPTH_STENCIL."); in clear_bufferiv()
535 ctx.glClearBufferiv (GL_DEPTH, 1, &data[0]); in clear_bufferiv()
584 ctx.beginSection("GL_INVALID_ENUM is generated if buffer is GL_DEPTH, GL_STENCIL, or GL_DEPTH_STENCIL."); in clear_bufferuiv()
585 ctx.glClearBufferuiv (GL_DEPTH, 0, &data[0]); in clear_bufferuiv()
624 ctx.beginSection("GL_INVALID_ENUM is generated if buffer is not GL_COLOR or GL_DEPTH."); in clear_bufferfv()
649 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_DEPTH and drawBuffer is not zero."); in clear_bufferfv()
650 ctx.glClearBufferfv (GL_DEPTH, 1, &data[0]); in clear_bufferfv()
665 ctx.glClearBufferfi (GL_DEPTH, 0, 1.0f, 1); in clear_bufferfi()
/third_party/vk-gl-cts/modules/glshared/
H A DglsScissorTests.cpp640 gl.clearBufferfv(GL_DEPTH, 0, &depth); in clearBuffers()
844 case CLEAR_DEPTH: gl.clearBufferfv (GL_DEPTH, 0, &clearDepth); break; in render()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DTextureGL.cpp241 gl.ClearBufferfv(GL_DEPTH, 0, &depth); in ClearTexture()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp1777 static const glw::GLenum default_attachments[] = { GL_COLOR, GL_DEPTH, GL_STENCIL }; in iterate()
1996 static const glw::GLenum default_attachments[] = { GL_COLOR, GL_DEPTH, GL_STENCIL }; in iterate()
4240 GL_BACK_RIGHT, GL_DEPTH, GL_STENCIL }; in TestDefaultFramebuffer()
4243 "GL_BACK_RIGHT", "GL_DEPTH", "GL_STENCIL" }; in TestDefaultFramebuffer()
6053 case GL_DEPTH: in PrepareObjects()
6202 gl.clearNamedFramebufferiv(m_fbo_valid, GL_DEPTH, 0, icolor); in iterate()
6209 gl.clearNamedFramebufferuiv(m_fbo_valid, GL_DEPTH, 0, ucolor); in iterate()
6248 gl.clearNamedFramebufferfv(m_fbo_valid, GL_DEPTH, 1, fcolor); in iterate()
7029 GL_BACK_LEFT, GL_BACK_RIGHT, GL_DEPTH, GL_STENCIL }; in PrepareObjects()
/third_party/glfw/tests/
H A Dglfwinfo.c843 GL_DEPTH, in main()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp1167 gl.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, (defaultFboIsZero) ? GL_DEPTH : GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &hasDepthBuffer); in iterate()
1172 gl.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, (defaultFboIsZero) ? GL_DEPTH : GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DFramebufferVk.cpp630 if (buffer == GL_DEPTH) in clearBufferfv()
1522 case GL_DEPTH: in invalidateImpl()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DClearTest.cpp866 glClearBufferfv(GL_DEPTH, 0, &kDepthClearValue); in TEST_P()
1118 glClearBufferfv(GL_DEPTH, 0, &kDepthClearValue); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv3.cpp2349 case GL_DEPTH: in ClearBufferfv()
3578 case GL_DEPTH: in InvalidateSubFramebuffer()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp3337 bool isDepth = attachments[attNdx] == (isFboBound ? GL_DEPTH_ATTACHMENT : GL_DEPTH);
3507 RC_IF_ERROR(buffer != GL_COLOR && buffer != GL_DEPTH, GL_INVALID_ENUM, RC_RET_VOID);
3540 TCU_CHECK_INTERNAL(buffer == GL_DEPTH);
3590 clearBufferfv(GL_DEPTH, drawbuffer, &depth);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp1463 case GL_DEPTH: in modifyInvalidateAttachmentsForEmulatedDefaultFBO()

Completed in 62 milliseconds

123