Home
last modified time | relevance | path

Searched refs:GL_FRONT (Results 1 - 25 of 102) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DMaterialsTest.cpp63 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P()
68 glGetMaterialfv(GL_FRONT, GL_SHININESS, &actualShininess); in TEST_P()
76 glGetMaterialfv(GL_FRONT, 0, nullptr); in TEST_P()
85 glMaterialfv(GL_FRONT, GL_AMBIENT, nullptr); in TEST_P()
119 glGetMaterialfv(GL_FRONT, pnames[i], &actualColor.R); in TEST_P()
126 glGetMaterialfv(GL_FRONT, GL_SHININESS, &actualShininess); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DDifferentStencilMasksTest.cpp57 glStencilMaskSeparate(GL_FRONT, 0x00ff); in TEST_P()
70 glStencilMaskSeparate(GL_FRONT, 0x0001); in TEST_P()
91 glStencilMaskSeparate(GL_FRONT, 0x0001); in TEST_P()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fNegativeFragmentApiTests.cpp93 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if face is not GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in init()
99 glStencilFuncSeparate(GL_FRONT, -1, 0, 1); in init()
116 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if face is any value other than GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in init()
122 glStencilOpSeparate(GL_FRONT, -1, GL_ZERO, GL_REPLACE); in init()
124 glStencilOpSeparate(GL_FRONT, GL_KEEP, -1, GL_REPLACE); in init()
126 glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_ZERO, -1); in init()
132 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if face is not GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in init()
H A Des2fIntegerStateQueryTests.cpp814 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test()
2110 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_ref_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_REF (separate)", GL_STENCIL_REF, GL_FRONT))); in init()
2138 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget, GL_FRONT))); in init()
2143 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_func_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_FUNC, GL_FRONT))); in init()
2149 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_value_mask_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_VALUE_MASK (separate)", GL_STENCIL_VALUE_MASK, GL_FRONT))); in init()
2155 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilWriteMaskSeparateTestCase (m_context, verifier, (std::string("stencil_writemask_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_WRITEMASK (separate)", GL_STENCIL_WRITEMASK, GL_FRONT))); in init()
/third_party/mesa3d/src/mesa/main/
H A Dstencil.c44 * state[0] = GL_FRONT state.
383 if (face == GL_FRONT || face == GL_BACK) { in _mesa_ActiveStencilFaceEXT()
384 ctx->Stencil.ActiveFace = (face == GL_FRONT) ? 0 : 2; in _mesa_ActiveStencilFaceEXT()
409 if (face != GL_FRONT) { in stencil_op_separate()
456 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilOpSeparate()
479 if (face != GL_FRONT) { in stencil_func_separate()
506 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilFuncSeparate()
530 if (face != GL_FRONT) { 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, in _mesa_init_stencil()
[all...]
H A Dbuffers.c118 buffer = GL_FRONT; in _mesa_back_to_front_if_single_buffered()
145 case GL_FRONT: in draw_buffer_enum_to_bitmask()
207 case GL_FRONT: in read_buffer_enum_to_index()
502 } else if (buffers[output] == GL_FRONT || in draw_buffers()
865 * \param buffer GL_FRONT, GL_BACK, GL_COLOR_ATTACHMENT0, etc.
890 * \param mode color buffer such as GL_FRONT, GL_BACK, etc.
H A Dpolygon.c63 mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK) { in cull_face()
185 case GL_FRONT: in polygon_mode()
H A Dframebuffer.c133 fb->ColorDrawBuffer[0] = GL_FRONT; in _mesa_initialize_window_framebuffer()
135 fb->ColorReadBuffer = GL_FRONT; in _mesa_initialize_window_framebuffer()
504 * 2. glDrawBuffers(3, [GL_FRONT, GL_AUX0, GL_AUX1]), shader writes to
514 * 3. glDrawBuffers(3, [GL_FRONT, GL_AUX0, GL_AUX1]) and shader writes to
588 * visual. But if the app calls glDrawBuffer(GL_FRONT) we need to allocate
H A Dattrib.c730 * since GL_FRONT (for example) is illegal for the former in _mesa_PopAttrib()
745 * Ex: if GL_FRONT were pushed, but we're popping with a in _mesa_PopAttrib()
746 * user FBO bound, GL_FRONT will be illegal and we'll need in _mesa_PopAttrib()
959 TEST_AND_CALL1_SEL(Polygon.FrontMode, PolygonMode, GL_FRONT); in _mesa_PopAttrib()
1011 ? GL_BACK : GL_FRONT); in _mesa_PopAttrib()
1014 _mesa_StencilFuncSeparate(GL_FRONT, in _mesa_PopAttrib()
1018 TEST_AND_CALL1_SEL(Stencil.WriteMask[0], StencilMaskSeparate, GL_FRONT); in _mesa_PopAttrib()
1019 _mesa_StencilOpSeparate(GL_FRONT, attr->Stencil.FailFunc[0], in _mesa_PopAttrib()
H A Dcontext.c1396 buffer = GL_FRONT; in handle_first_current()
1411 buffer = GL_FRONT; in handle_first_current()
1542 * visuals, the ColorReadBuffer is set to be GL_FRONT, even with in _mesa_make_current()
1549 if (newCtx->ReadBuffer->ColorReadBuffer == GL_FRONT) in _mesa_make_current()
H A Dlight.c644 if (face==GL_FRONT) { in _mesa_material_bitmask()
831 if (face==GL_FRONT) { in _mesa_GetMaterialfv()
885 if (face==GL_FRONT) { in _mesa_GetMaterialiv()
/third_party/mesa3d/src/glx/apple/
H A Dapple_xgl_api_stereo.c67 case GL_FRONT: in __applegl_glDrawBuffer()
102 else if (GL_FRONT == bufs[i]) { in __applegl_glDrawBuffers()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeFragmentApiTests.cpp101 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if face is not GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in init()
107 glStencilFuncSeparate(GL_FRONT, -1, 0, 1); in init()
124 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if face is any value other than GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in init()
130 glStencilOpSeparate(GL_FRONT, -1, GL_ZERO, GL_REPLACE); in init()
132 glStencilOpSeparate(GL_FRONT, GL_KEEP, -1, GL_REPLACE); in init()
134 glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_ZERO, -1); in init()
140 m_log << TestLog::Section("", "GL_INVALID_ENUM is generated if face is not GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in init()
H A Des3fIntegerStateQueryTests.cpp1093 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test()
2596 const GLenum colorAttachment = isGlCore45 ? GL_FRONT : GL_BACK; in test()
2655 const GLint validInitialValues[] = {GL_FRONT, GL_BACK, GL_NONE}; in test()
2870 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_ref_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_REF (separate)", GL_STENCIL_REF, GL_FRONT))); in init()
2898 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget, GL_FRONT))); in init()
2903 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_func_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_FUNC, GL_FRONT))); in init()
2909 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_value_mask_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_VALUE_MASK (separate)", GL_STENCIL_VALUE_MASK, GL_FRONT))); in init()
2915 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilWriteMaskSeparateTestCase (m_context, verifier, (std::string("stencil_writemask_separate") + verifier->getTestNamePostfix()).c_str(), "STENCIL_WRITEMASK (separate)", GL_STENCIL_WRITEMASK, GL_FRONT))); in init()
H A Des3fFboStateQueryTests.cpp175 (GLenum)(glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5)) ? GL_FRONT : GL_BACK), in test()
569 const GLenum colorAttachment = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5)) ? GL_FRONT : GL_BACK); in test()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeFragmentApiTests.cpp91 ctx.beginSection("GL_INVALID_ENUM is generated if face is not GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in stencil_func_separate()
97 ctx.glStencilFuncSeparate(GL_FRONT, -1, 0, 1); in stencil_func_separate()
116 ctx.beginSection("GL_INVALID_ENUM is generated if face is any value other than GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in stencil_op_separate()
122 ctx.glStencilOpSeparate(GL_FRONT, -1, GL_ZERO, GL_REPLACE); in stencil_op_separate()
124 ctx.glStencilOpSeparate(GL_FRONT, GL_KEEP, -1, GL_REPLACE); in stencil_op_separate()
126 ctx.glStencilOpSeparate(GL_FRONT, GL_KEEP, GL_ZERO, -1); in stencil_op_separate()
133 ctx.beginSection("GL_INVALID_ENUM is generated if face is not GL_FRONT, GL_BACK, or GL_FRONT_AND_BACK."); in stencil_mask_separate()
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pStateChangeCallTests.cpp287 GL_FRONT, in init()
473 GL_FRONT, in init()
661 GL_FRONT, in init()
699 GL_FRONT, in init()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DPersistentPipelineStateGL.cpp54 gl.StencilFuncSeparate(GL_FRONT, mStencilFrontCompareFunction, mStencilReference, in CallGLStencilFunc()
H A DRenderPipelineGL.cpp55 GLenum cullMode = (mode == wgpu::CullMode::Front) ? GL_FRONT : GL_BACK; in ApplyFrontFaceAndCulling()
208 gl.StencilOpSeparate(GL_FRONT, OpenGLStencilOperation(descriptor->stencilFront.failOp), in ApplyDepthStencilState()
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pStateChangeCallTests.cpp322 GL_FRONT, in init()
508 GL_FRONT, in init()
723 GL_FRONT, in init()
761 GL_FRONT, in init()
/third_party/glfw/examples/
H A Dgears.c284 glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, red); in init()
290 glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, green); in init()
296 glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, blue); in init()
H A Dsplitview.c138 glMaterialfv(GL_FRONT, GL_DIFFUSE, model_diffuse); in drawScene()
139 glMaterialfv(GL_FRONT, GL_SPECULAR, model_specular); in drawScene()
140 glMaterialf(GL_FRONT, GL_SHININESS, model_shininess); in drawScene()
H A Dparticles.c618 glMaterialfv(GL_FRONT, GL_DIFFUSE, fountain_diffuse); in draw_fountain()
619 glMaterialfv(GL_FRONT, GL_SPECULAR, fountain_specular); in draw_fountain()
620 glMaterialf(GL_FRONT, GL_SHININESS, fountain_shininess); in draw_fountain()
721 glMaterialfv(GL_FRONT, GL_DIFFUSE, floor_diffuse); in draw_floor()
722 glMaterialfv(GL_FRONT, GL_SPECULAR, floor_specular); in draw_floor()
723 glMaterialf(GL_FRONT, GL_SHININESS, floor_shininess); in draw_floor()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c114 case GL_FRONT: in st_update_rasterizer()
/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 28 milliseconds

12345