Home
last modified time | relevance | path

Searched refs:GL_STENCIL_ATTACHMENT (Results 1 – 25 of 85) sorted by relevance

1234

/external/deqp/modules/gles3/functional/
Des3fFboApiTests.cpp85 case GL_STENCIL_ATTACHMENT: return "GL_STENCIL_ATTACHMENT"; in getAttachmentName()
177 GL_STENCIL_ATTACHMENT in validTex2DAttachmentsTest()
196 GL_STENCIL_ATTACHMENT in validTexCubeAttachmentsTest()
229 GL_STENCIL_ATTACHMENT in validRboAttachmentsTest()
306 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
354 GL_STENCIL_ATTACHMENT in attachmentQueryEmptyFboTest()
403 ctx.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, 3); in attachmentQueryRboTest()
405 …checkFboAttachmentParam(testCtx, ctx, GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE… in attachmentQueryRboTest()
406 …checkFboAttachmentParam(testCtx, ctx, GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME… in attachmentQueryRboTest()
409 …ctx.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTA… in attachmentQueryRboTest()
[all …]
Des3fFboStencilbufferTests.cpp93 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
150 DE_ASSERT(m_attachStencil == GL_STENCIL_ATTACHMENT || m_attachStencil == GL_NONE); in DepthStencilAttachCase()
278 …ly", "Only stencil part of depth-stencil RBO attached", GL_NONE, GL_STENCIL_ATTACHMENT)); in init()
279 …rate", "Depth and stencil attached separately", GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT)); in init()
Des3fFboInvalidateTests.cpp83 attachments.push_back(GL_STENCIL_ATTACHMENT); in getFBODiscardAttachments()
496 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
616 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, depthStencilTex, 0); in render()
744 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
867 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
981 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, depthStencilTex, 0); in render()
1131 …glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo); in render()
1219 …scarded = isDiscarded && (hasAttachment(m_invalidateAttachments, GL_STENCIL_ATTACHMENT) || hasAtt… in render()
1240 …glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencilRbo… in render()
1524 …deUint32 allAttachments[] = { GL_COLOR_ATTACHMENT0, GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT }; in init()
Des3fFboCompletenessTests.cpp228 if (attPoint == GL_DEPTH_ATTACHMENT || attPoint == GL_STENCIL_ATTACHMENT) in check()
/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp90 case GL_STENCIL_ATTACHMENT: return "GL_STENCIL_ATTACHMENT"; in getAttachmentName()
202 GL_STENCIL_ATTACHMENT in validTex2DAttachmentsTest()
221 GL_STENCIL_ATTACHMENT in validTexCubeAttachmentsTest()
254 GL_STENCIL_ATTACHMENT in validRboAttachmentsTest()
331 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
379 GL_STENCIL_ATTACHMENT in attachmentQueryEmptyFboTest()
406 GL_STENCIL_ATTACHMENT in es3AttachmentQueryEmptyFboTest()
455 ctx.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, 3); in attachmentQueryRboTest()
457 …checkFboAttachmentParam(testCtx, ctx, GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE… in attachmentQueryRboTest()
458 …checkFboAttachmentParam(testCtx, ctx, GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME… in attachmentQueryRboTest()
[all …]
Des2fMultisampledRenderToTextureTests.cpp104 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, depthStencil); in iterate()
Des2fFboCompletenessTests.cpp310 attachTargetToNew(GL_STENCIL_ATTACHMENT, comb.stencilKind, comb.stencilFmt, in tryCombination()
/external/angle/src/tests/gl_tests/
DDiscardFramebufferEXTTest.cpp60 const GLenum discards7[] = {GL_STENCIL_ATTACHMENT}; in TEST_P()
111 const GLenum discards7[] = {GL_STENCIL_ATTACHMENT}; in TEST_P()
DWebGLFramebufferTest.cpp68 attachment0 == GL_STENCIL_ATTACHMENT || attachment0 == GL_DEPTH_STENCIL_ATTACHMENT || in checkBufferBits()
69 attachment1 == GL_STENCIL_ATTACHMENT || attachment1 == GL_DEPTH_STENCIL_ATTACHMENT; in checkBufferBits()
407 testAttachment(width, height, &colorBuffer, GL_STENCIL_ATTACHMENT, &depthBuffer, in TEST_P()
415 testAttachment(width, height, &colorBuffer, GL_STENCIL_ATTACHMENT, &stencilBuffer, in TEST_P()
435 testAttachment(width, height, &colorBuffer, GL_STENCIL_ATTACHMENT, &depthStencilBuffer, in TEST_P()
443 testAttachments(colorBuffer, GL_DEPTH_ATTACHMENT, depthBuffer, GL_STENCIL_ATTACHMENT, in TEST_P()
447 testAttachments(colorBuffer, GL_STENCIL_ATTACHMENT, stencilBuffer, GL_DEPTH_ATTACHMENT, in TEST_P()
466 GL_STENCIL_ATTACHMENT, stencilBuffer, in TEST_P()
DBlitFramebufferANGLETest.cpp100 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
120 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
1294 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1317 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1364 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1386 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1516 glFramebufferRenderbuffer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
1538 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in TEST_P()
DDepthStencilTest.cpp50 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in testSetUp()
DFramebufferMixedSamplesTest.cpp102 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in prepareForDraw()
DDepthStencilFormatsTest.cpp279 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, tex, 0); in depthStencilReadbackCase()
609 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, tex, in TEST_P()
927 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, in TEST_P()
/external/angle/src/libANGLE/renderer/gl/
DClearMultiviewGL.cpp162 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, in attachTextures()
197 mFunctions->framebufferTextureLayer(GL_DRAW_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, 0, 0, 0); in detachTextures()
/external/deqp/external/openglcts/modules/common/
DglcPackedDepthStencilTests.cpp508 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTex… in createTextures()
517 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTex… in createTextures()
528 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, in createTextures()
539 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTex… in createTextures()
550 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, in createTextures()
1401 GLenum attachmentType = (i == 0) ? GL_DEPTH_ATTACHMENT : GL_STENCIL_ATTACHMENT; in checkErrors()
1511 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTex… in checkErrors()
1721 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, tex, 0); in iterate()
1839 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]); in iterate()
1994 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]); in iterate()
[all …]
/external/mesa3d/docs/relnotes/
D7.4.3.rst33 - Allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT
/external/angle/src/libANGLE/
DFramebuffer.cpp387 case GL_STENCIL_ATTACHMENT: in getAttachment()
1778 case GL_STENCIL_ATTACHMENT: in setAttachment()
1846 setAttachmentImpl(context, GL_NONE, GL_STENCIL_ATTACHMENT, ImageIndex(), nullptr, numViews, in commitWebGL1DepthStencilIfConsistent()
1854 setAttachmentImpl(context, stencil.type(), GL_STENCIL_ATTACHMENT, in commitWebGL1DepthStencilIfConsistent()
1865 setAttachmentImpl(context, depthStencil.type(), GL_STENCIL_ATTACHMENT, in commitWebGL1DepthStencilIfConsistent()
1874 setAttachmentImpl(context, GL_NONE, GL_STENCIL_ATTACHMENT, ImageIndex(), nullptr, numViews, in commitWebGL1DepthStencilIfConsistent()
1909 case GL_STENCIL_ATTACHMENT: in setAttachmentImpl()
/external/angle/src/tests/perf_tests/
DBlitFramebufferPerf.cpp87 return GL_STENCIL_ATTACHMENT; in BufferTypeAttachment()
/external/deqp/modules/glshared/
DglsFboCompletenessTests.cpp895 builder.glAttach(GL_STENCIL_ATTACHMENT, att); in makeDepthAndStencil()
901 attachTargetToNew(GL_STENCIL_ATTACHMENT, m_params.stencilKind, ImageFormat::none(), in makeDepthAndStencil()
988 { GL_STENCIL_ATTACHMENT, "stencil", "Tests for stencil attachments" }, in createRenderableTests()
/external/deqp/modules/egl/
DteglImageUtil.cpp364 GLU_CHECK_GLW_CALL(gl, framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, in initializeStencilRbo()
389 GLU_CHECK_GLW_CALL(gl, framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, in initializeStencilRbo()
/external/deqp/framework/opengl/
DgluFboRenderContext.cpp281 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilB… in createFramebuffer()
/external/mesa3d/src/mesa/main/
Dfbobject.c3789 } else if (attachment == GL_STENCIL_ATTACHMENT && in _mesa_framebuffer_texture()
4486 stencilAtt = get_attachment(ctx, buffer, GL_STENCIL_ATTACHMENT, NULL); in get_framebuffer_attachment_parameter()
4639 if (attachment == GL_STENCIL_ATTACHMENT) { in get_framebuffer_attachment_parameter()
5053 case GL_STENCIL_ATTACHMENT: in invalidate_framebuffer_storage()
5138 case GL_STENCIL_ATTACHMENT: in get_fb_attachment()
5165 attachments[i] == GL_STENCIL_ATTACHMENT) && in discard_framebuffer()
5169 GL_STENCIL_ATTACHMENT : GL_DEPTH_ATTACHMENT); in discard_framebuffer()
5372 case GL_STENCIL_ATTACHMENT: in _mesa_DiscardFramebufferEXT()
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp245 is_ok &= Test(GL_STENCIL_ATTACHMENT, GL_STENCIL_INDEX8); in iterate()
424 is_ok &= Test(GL_STENCIL_ATTACHMENT, false, s_targets[i], GL_STENCIL_INDEX8, j); in iterate()
862 Test(GL_STENCIL_ATTACHMENT, false, s_targets[i], GL_STENCIL_INDEX8, j, layers_counts[k]); in iterate()
4125 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_rbo[1]); in CreateRenderbufferFramebuffer()
4201 gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_to[1], 0); in CreateTextureFramebuffer()
4363 …static const glw::GLenum attachments[] = { GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT, GL_DEPTH_ST… in TestRenderbufferFramebuffer()
4510 …static const glw::GLenum attachments[] = { GL_DEPTH_ATTACHMENT, GL_STENCIL_ATTACHMENT, GL_DEPTH_ST… in TestTextureFramebuffer()
4916 …if ((GL_DEPTH_ATTACHMENT == m_attachment_invalid) || (GL_STENCIL_ATTACHMENT == m_attachment_invali… in PrepareObjects()
5269 …if ((GL_DEPTH_ATTACHMENT == m_attachment_invalid) || (GL_STENCIL_ATTACHMENT == m_attachment_invali… in PrepareObjects()
6027 case GL_STENCIL_ATTACHMENT: in PrepareObjects()
[all …]
Dgl4cPostDepthCoverageTests.cpp310 …gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_depthStencilR… in init()
/external/angle/src/libANGLE/renderer/gl/wgl/
DD3DTextureSurfaceWGL.cpp497 functions->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, in createDefaultFramebuffer()

1234