/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | DifferentStencilMasksTest.cpp | 58 glStencilMaskSeparate(GL_BACK, 0x01ff); in TEST_P() 71 glStencilMaskSeparate(GL_BACK, 0x0002); in TEST_P() 92 glStencilMaskSeparate(GL_BACK, 0x0002); in TEST_P()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | stencil.c | 45 * state[1] = OpenGL 2.0 / GL_ATI_separate_stencil GL_BACK state. 46 * state[2] = GL_EXT_stencil_two_side GL_BACK state. 383 if (face == GL_FRONT || face == GL_BACK) { in _mesa_ActiveStencilFaceEXT() 396 if (face != GL_BACK) { in stencil_op_separate() 456 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilOpSeparate() 472 if (face != GL_BACK) { in stencil_func_separate() 506 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilFuncSeparate() 526 if (face != GL_BACK) { in stencil_mask_separate() 553 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilMaskSeparate() 574 ctx->Stencil.ActiveFace = 0; /* 0 = GL_FRONT, 2 = GL_BACK */ in _mesa_init_stencil() [all...] |
H A D | buffers.c | 93 /* If the front buffer is the only buffer, GL_BACK and all other flags in _mesa_back_to_front_if_single_buffered() 109 * GL_BACK in that case. in _mesa_back_to_front_if_single_buffered() 117 case GL_BACK: in _mesa_back_to_front_if_single_buffered() 147 case GL_BACK: in draw_buffer_enum_to_bitmask() 209 case GL_BACK: in read_buffer_enum_to_index() 258 return buf == GL_BACK || buf == GL_NONE || in is_legal_es3_readbuffer_enum() 423 * GL_FRONT_AND_BACK is illegal. The only exception is GL_BACK 462 (n != 1 || (buffers[0] != GL_NONE && buffers[0] != GL_BACK))) { in draw_buffers() 488 * Note "special value BACK". GL_BACK also refers to multiple buffers, in draw_buffers() 493 if (buffers[output] == GL_BACK in draw_buffers() [all...] |
H A D | polygon.c | 63 mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK) { in cull_face() 206 case GL_BACK: in polygon_mode() 368 ctx->Polygon.CullFaceMode = GL_BACK; in _mesa_init_polygon()
|
H A D | framebuffer.c | 126 fb->ColorDrawBuffer[0] = GL_BACK; in _mesa_initialize_window_framebuffer() 128 fb->ColorReadBuffer = GL_BACK; in _mesa_initialize_window_framebuffer()
|
H A D | attrib.c | 960 TEST_AND_CALL1_SEL(Polygon.BackMode, PolygonMode, GL_BACK); in _mesa_PopAttrib() 1011 ? GL_BACK : GL_FRONT); in _mesa_PopAttrib() 1023 _mesa_StencilFuncSeparate(GL_BACK, in _mesa_PopAttrib() 1027 TEST_AND_CALL1_SEL(Stencil.WriteMask[1], StencilMaskSeparate, GL_BACK); in _mesa_PopAttrib() 1028 _mesa_StencilOpSeparate(GL_BACK, attr->Stencil.FailFunc[1], in _mesa_PopAttrib()
|
/third_party/mesa3d/src/glx/apple/ |
H A D | apple_xgl_api_stereo.c | 62 case GL_BACK: in __applegl_glDrawBuffer() 99 if (GL_BACK == bufs[i]) { in __applegl_glDrawBuffers()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Framebuffer.cpp | 685 case GL_BACK: in getReadBufferIndex() 696 readBuffer = GL_BACK; in DefaultFramebuffer() 697 drawBuffer[0] = GL_BACK; in DefaultFramebuffer() 706 readBuffer = GL_BACK; in DefaultFramebuffer() 707 drawBuffer[0] = GL_BACK; in DefaultFramebuffer()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pStateChangeCallTests.cpp | 288 GL_BACK, in init() 474 GL_BACK, in init() 662 GL_BACK, in init() 700 GL_BACK, in init()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | PersistentPipelineStateGL.cpp | 52 gl.StencilFuncSeparate(GL_BACK, mStencilBackCompareFunction, mStencilReference, in CallGLStencilFunc()
|
H A D | RenderPipelineGL.cpp | 55 GLenum cullMode = (mode == wgpu::CullMode::Front) ? GL_FRONT : GL_BACK; in ApplyFrontFaceAndCulling() 205 gl.StencilOpSeparate(GL_BACK, OpenGLStencilOperation(descriptor->stencilBack.failOp), in ApplyDepthStencilState()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Framebuffer.cpp | 358 mDrawBufferStates(1, GL_BACK), in FramebufferState() 359 mReadBufferState(GL_BACK), in FramebufferState() 418 case GL_BACK: in getAttachment() 458 ASSERT(mReadBufferState == GL_BACK || in getReadIndex() 460 uint32_t readIndex = mReadBufferState == GL_BACK ? 0 : mReadBufferState - GL_COLOR_ATTACHMENT0; in getReadIndex() 663 (drawBufferIdx == 0 && mDrawBufferStates[drawBufferIdx] == GL_BACK)); 665 if (mDrawBufferStates[drawBufferIdx] == GL_BACK) 822 setAttachmentImpl(context, GL_FRAMEBUFFER_DEFAULT, GL_BACK, ImageIndex(), surface, in Framebuffer() 898 context, GL_FRAMEBUFFER_DEFAULT, GL_BACK, ImageIndex(), readSurface, in setReadSurface() 1133 ASSERT(buffer == GL_BACK || buffe [all...] |
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pStateChangeCallTests.cpp | 323 GL_BACK, in init() 509 GL_BACK, in init() 724 GL_BACK, in init() 762 GL_BACK, in init()
|
/third_party/skia/third_party/externals/angle2/samples/simple_vertex_shader/ |
H A D | SimpleVertexShader.cpp | 71 glCullFace(GL_BACK); variable
|
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/ |
H A D | SimpleTextureCubemap.cpp | 68 glCullFace(GL_BACK); variable
|
/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/ |
H A D | PostSubBuffer.cpp | 74 glCullFace(GL_BACK); variable
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fIntegerStateQueryTests.cpp | 1090 m_verifier->verifyInteger(m_testCtx, GL_CULL_FACE_MODE, GL_BACK); in test() 1093 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test() 2596 const GLenum colorAttachment = isGlCore45 ? GL_FRONT : GL_BACK; in test() 2597 const GLint validInitialValues[] = {(GLint)colorAttachment, GL_BACK, GL_NONE}; in test() 2655 const GLint validInitialValues[] = {GL_FRONT, GL_BACK, GL_NONE}; in test() 2664 bufs = GL_BACK; in test() 2666 const GLint validDraw0Values[] = {GL_FRONT_LEFT, GL_BACK}; in test() 2872 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_back_ref_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_REF (separate)", GL_STENCIL_BACK_REF, GL_BACK))); in init() 2899 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_back_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget, GL_BACK))); in init() 2905 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_back_func_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_BACK_FUNC, GL_BACK))); in init() [all...] |
H A D | es3fNegativeBufferApiTests.cpp | 430 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS."); in init() 474 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS."); in init() 515 m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if buffer is GL_COLOR, GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, or GL_FRONT_AND_BACK and drawBuffer is greater than or equal to GL_MAX_DRAW_BUFFERS."); in init() 645 values[1] = GL_BACK; in init() 826 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if mode is not GL_BACK, GL_NONE, or GL_COLOR_ATTACHMENTi."); in init() 851 m_log << TestLog::Section("", "GL_INVALID_OPERATION error is generated if src is GL_BACK or if src is GL_COLOR_ATTACHMENTm where m is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS."); in init() 852 glReadBuffer (GL_BACK); in init() 865 m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if the current framebuffer is the default framebuffer and mode is not GL_NONE or GL_BACK."); in init() 873 glReadBuffer (GL_BACK); in init() 1275 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_BACK, tex3 in init() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedBlending.cpp | 89 glw::GLenum bufs[1] = { GL_BACK }; in releaseFramebuffer() 91 gl.readBuffer(GL_BACK); in releaseFramebuffer()
|
H A D | esextcDrawBuffersIndexedColorMasks.cpp | 91 glw::GLenum bufs[1] = { GL_BACK }; in releaseFramebuffer() 93 gl.readBuffer(GL_BACK); in releaseFramebuffer()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluStateReset.cpp | 113 gl.cullFace (GL_BACK); in resetStateES() 397 const deUint32 drawBuffer = defaultFbo != 0 ? GL_COLOR_ATTACHMENT0 : GL_BACK; in resetStateES() 398 const deUint32 readBuffer = defaultFbo != 0 ? GL_COLOR_ATTACHMENT0 : GL_BACK; in resetStateES() 719 gl.cullFace (GL_BACK); in resetStateGLCore() 1053 gl.drawBuffer(GL_BACK); in resetStateGLCore() 1054 gl.readBuffer(GL_BACK); in resetStateGLCore()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_rasterizer.c | 117 case GL_BACK: in st_update_rasterizer()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fIntegerStateQueryTests.cpp | 811 m_verifier->verifyInteger(m_testCtx, GL_CULL_FACE_MODE, GL_BACK); in test() 814 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test() 2112 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_back_ref_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_REF (separate)", GL_STENCIL_BACK_REF, GL_BACK))); in init() 2139 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_back_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget, GL_BACK))); in init() 2145 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_back_func_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_BACK_FUNC, GL_BACK))); in init() 2151 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_back_value_mask_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_VALUE_MASK (separate)", GL_STENCIL_BACK_VALUE_MASK, GL_BACK))); in init() 2157 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilWriteMaskSeparateTestCase (m_context, verifier, (std::string("stencil_back_writemask_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_WRITEMASK (separate)", GL_STENCIL_BACK_WRITEMASK, GL_BACK))); in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeBufferApiTests.cpp | 770 values[1] = GL_BACK; in draw_buffers() 972 ctx.beginSection("GL_INVALID_ENUM is generated if mode is not GL_BACK, GL_NONE, or GL_COLOR_ATTACHMENTi."); in read_buffer() 997 ctx.beginSection("GL_INVALID_OPERATION error is generated if src is GL_BACK or if src is GL_COLOR_ATTACHMENTm where m is greater than or equal to the value of GL_MAX_COLOR_ATTACHMENTS."); in read_buffer() 998 ctx.glReadBuffer (GL_BACK); in read_buffer() 1011 ctx.beginSection("GL_INVALID_OPERATION is generated if the current framebuffer is the default framebuffer and mode is not GL_NONE or GL_BACK."); in read_buffer() 1019 ctx.glReadBuffer (GL_BACK); in read_buffer() 1594 ctx.glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_BACK, tex3D, 0, 1); in framebuffer_texture_layer() 1708 ctx.glInvalidateFramebuffer (GL_BACK, 1, &attachments[0]); in invalidate_framebuffer() 1757 ctx.glInvalidateSubFramebuffer (GL_BACK, 1, &attachments[0], 0, 0, 16, 16); in invalidate_sub_framebuffer()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_opengl2.cpp | 230 glPolygonMode(GL_FRONT, (GLenum)last_polygon_mode[0]); glPolygonMode(GL_BACK, (GLenum)last_polygon_mode[1]); in ImGui_ImplOpenGL2_RenderDrawData()
|