Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_cb_drawpixels.c1025 _mesa_problem(ctx, "Gallium glDrawPixels(GL_STENCIL) with " in draw_stencil_pixels()
1411 * Software fallback for glCopyPixels(GL_STENCIL).
1586 } else if (type == GL_STENCIL) { in blit_copy_pixels()
1639 if (type == GL_STENCIL) in blit_copy_pixels()
1701 st_CopyPixels(ctx, srcx, srcy, width, height, dstx, dsty, GL_STENCIL); in st_CopyPixels()
1707 if (type == GL_STENCIL && in st_CopyPixels()
1745 } else if (type == GL_STENCIL) { in st_CopyPixels()
1778 else if (type == GL_STENCIL) { in st_CopyPixels()
1859 if (type == GL_STENCIL || type == GL_DEPTH_STENCIL || in st_CopyPixels()
1908 else if (type == GL_STENCIL) in st_CopyPixels()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DFramebuffer.cpp430 case GL_STENCIL: in getAttachment()
839 setAttachmentImpl(context, GL_FRAMEBUFFER_DEFAULT, GL_STENCIL, ImageIndex(), surface, in Framebuffer()
1655 ANGLE_TRY(mImpl->clearBufferiv(context, GL_STENCIL, drawbuffer, &stencil)); in clearBufferfi()
1839 case GL_STENCIL: in setAttachment()
1971 case GL_STENCIL: in setAttachmentImpl()
2473 case GL_STENCIL: in markBufferInitialized()
2544 case GL_STENCIL:
2588 case GL_STENCIL:
H A Dformat_map_autogen.cpp561 case GL_STENCIL: in GetSizedFormatInternal()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DBlitFramebufferPerf.cpp214 glClearBufferiv(GL_STENCIL, 0, &clearStencilValue); in drawBenchmark()
H A DTracePerfTest.cpp1711 case GL_STENCIL: in ConvertDefaultFramebufferEnum()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboStateQueryTests.cpp177 GL_STENCIL in test()
603 if (attachmentExists(GL_STENCIL)) in test()
609 GL_STENCIL, in test()
H A Des3fNegativeBufferApiTests.cpp444 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_STENCIL and drawBuffer is not zero."); in init()
445 glClearBufferiv(GL_STENCIL, 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()
484 glClearBufferuiv(GL_STENCIL, 1, &data[0]); in init()
522 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if buffer is GL_STENCIL or GL_DEPTH_STENCIL."); in init()
523 glClearBufferfv(GL_STENCIL, 1, &data[0]); in init()
549 glClearBufferfi(GL_STENCIL, 0, 1.0f, 1); in init()
H A Des3fRasterizerDiscardTests.cpp338 case CASE_CLEAR_STENCIL: (m_caseOptions & CASEOPTION_FBO) ? glClearBufferiv(GL_STENCIL, 0, &FAIL_STENCIL) : glClear(GL_STENCIL_BUFFER_BIT); break; in iterate()
/third_party/mesa3d/src/mesa/main/
H A Dfbobject.c342 case GL_STENCIL: in get_fb0_attachment()
409 case GL_STENCIL: in get_fb0_attachment()
928 * if GL_STENCIL, this is a stencil component attachment point.
934 assert(format == GL_COLOR || format == GL_DEPTH || format == GL_STENCIL); in test_attachment_completeness()
1043 assert(format == GL_STENCIL); in test_attachment_completeness()
1089 assert(format == GL_STENCIL); in test_attachment_completeness()
1328 test_attachment_completeness(ctx, GL_STENCIL, 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()
5221 case GL_STENCIL in invalidate_framebuffer_storage()
[all...]
H A Ddrawpix.c227 type != GL_STENCIL && in _mesa_CopyPixels()
H A Dclear.c362 case GL_STENCIL: in clear_bufferiv()
H A Dframebuffer.c683 * GL_DEPTH_COMPONENT, etc. or GL_COLOR, GL_DEPTH, GL_STENCIL.
754 case GL_STENCIL: in renderbuffer_exists()
789 * GL_DEPTH_COMPONENT, etc. or GL_COLOR, GL_DEPTH, GL_STENCIL.
H A Dglthread_marshal.h148 case GL_STENCIL: in _mesa_buffer_enum_to_count()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DFramebufferD3D.cpp175 if (buffer == GL_STENCIL) in clearBufferiv()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DClearTest.cpp867 glClearBufferiv(GL_STENCIL, 0, &kStencilClearValue); in TEST_P()
1119 glClearBufferiv(GL_STENCIL, 0, &kStencilClearValue); in TEST_P()
1252 glClearBufferiv(GL_STENCIL, 0, &kStencilClearValue); in TEST_P()
2387 glClearBufferiv(GL_STENCIL, 0, &kStencilClearValue); in TEST_P()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeBufferApiTests.cpp541 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR or GL_STENCIL and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS."); in clear_bufferiv()
547 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_COLOR or GL_STENCIL and drawBuffer is negative."); in clear_bufferiv()
552 ctx.beginSection("GL_INVALID_VALUE is generated if buffer is GL_STENCIL and drawBuffer is not zero."); in clear_bufferiv()
553 ctx.glClearBufferiv (GL_STENCIL, 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()
587 ctx.glClearBufferuiv (GL_STENCIL, 0, &data[0]); in clear_bufferuiv()
631 ctx.beginSection("GL_INVALID_ENUM is generated if buffer is GL_STENCIL or GL_DEPTH_STENCIL."); in clear_bufferfv()
632 ctx.glClearBufferfv (GL_STENCIL, 1, &data[0]); in clear_bufferfv()
667 ctx.glClearBufferfi (GL_STENCIL, 0, 1.0f, 1); in clear_bufferfi()
/third_party/vk-gl-cts/modules/glshared/
H A DglsScissorTests.cpp641 gl.clearBufferiv(GL_STENCIL, 0, &stencil); in clearBuffers()
845 case CLEAR_STENCIL: gl.clearBufferiv (GL_STENCIL, 0, &clearStencil); break; in render()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DTextureGL.cpp243 gl.ClearBufferiv(GL_STENCIL, 0, &stencil); in ClearTexture()
/third_party/glfw/tests/
H A Dglfwinfo.c847 GL_STENCIL, in main()
/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()
6054 case GL_STENCIL: in PrepareObjects()
6215 gl.clearNamedFramebufferfv(m_fbo_valid, GL_STENCIL, 0, fcolor); in iterate()
6243 gl.clearNamedFramebufferiv(m_fbo_valid, GL_STENCIL, 1, icolor); in iterate()
7029 GL_BACK_LEFT, GL_BACK_RIGHT, GL_DEPTH, GL_STENCIL }; in PrepareObjects()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp1169 gl.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, (defaultFboIsZero) ? GL_STENCIL : GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &hasStencilBuffer); in iterate()
1175 gl.getFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, (defaultFboIsZero) ? GL_STENCIL : GL_STENCIL_ATTACHMENT, GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DFramebufferVk.cpp677 if (buffer == GL_STENCIL) in clearBufferiv()
1526 case GL_STENCIL: in invalidateImpl()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv3.cpp2285 case GL_STENCIL: in ClearBufferiv()
3579 case GL_STENCIL: in InvalidateSubFramebuffer()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp3338 bool isStencil = attachments[attNdx] == (isFboBound ? GL_STENCIL_ATTACHMENT : GL_STENCIL);
3457 RC_IF_ERROR(buffer != GL_COLOR && buffer != GL_STENCIL, GL_INVALID_ENUM, RC_RET_VOID);
3487 TCU_CHECK_INTERNAL(buffer == GL_STENCIL);
3591 clearBufferiv(GL_STENCIL, drawbuffer, &stencil);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp1467 case GL_STENCIL: in modifyInvalidateAttachmentsForEmulatedDefaultFBO()

Completed in 64 milliseconds

123