Home
last modified time | relevance | path

Searched refs:GL_BACK (Results 1 - 25 of 115) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDifferentStencilMasksTest.cpp58 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 Dstencil.c45 * 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 Dbuffers.c93 /* 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 Dpolygon.c63 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 Dframebuffer.c126 fb->ColorDrawBuffer[0] = GL_BACK; in _mesa_initialize_window_framebuffer()
128 fb->ColorReadBuffer = GL_BACK; in _mesa_initialize_window_framebuffer()
H A Dattrib.c960 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 Dapple_xgl_api_stereo.c62 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 DFramebuffer.cpp685 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 Des2pStateChangeCallTests.cpp288 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 DPersistentPipelineStateGL.cpp52 gl.StencilFuncSeparate(GL_BACK, mStencilBackCompareFunction, mStencilReference, in CallGLStencilFunc()
H A DRenderPipelineGL.cpp55 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 DFramebuffer.cpp358 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 Des3pStateChangeCallTests.cpp323 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 DSimpleVertexShader.cpp71 glCullFace(GL_BACK); variable
/third_party/skia/third_party/externals/angle2/samples/simple_texture_cubemap/
H A DSimpleTextureCubemap.cpp68 glCullFace(GL_BACK); variable
/third_party/skia/third_party/externals/angle2/samples/post_sub_buffer/
H A DPostSubBuffer.cpp74 glCullFace(GL_BACK); variable
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fIntegerStateQueryTests.cpp1090 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 Des3fNegativeBufferApiTests.cpp430 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 DesextcDrawBuffersIndexedBlending.cpp89 glw::GLenum bufs[1] = { GL_BACK }; in releaseFramebuffer()
91 gl.readBuffer(GL_BACK); in releaseFramebuffer()
H A DesextcDrawBuffersIndexedColorMasks.cpp91 glw::GLenum bufs[1] = { GL_BACK }; in releaseFramebuffer()
93 gl.readBuffer(GL_BACK); in releaseFramebuffer()
/third_party/vk-gl-cts/framework/opengl/
H A DgluStateReset.cpp113 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 Dst_atom_rasterizer.c117 case GL_BACK: in st_update_rasterizer()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fIntegerStateQueryTests.cpp811 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 Des31fNegativeBufferApiTests.cpp770 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 Dimgui_impl_opengl2.cpp230 glPolygonMode(GL_FRONT, (GLenum)last_polygon_mode[0]); glPolygonMode(GL_BACK, (GLenum)last_polygon_mode[1]); in ImGui_ImplOpenGL2_RenderDrawData()

Completed in 29 milliseconds

12345