Home
last modified time | relevance | path

Searched refs:GL_FRONT_AND_BACK (Results 1 - 25 of 73) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
H A DMaterialsTest.cpp79 glGetMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, nullptr); in TEST_P()
82 glMaterialf(GL_FRONT_AND_BACK, GL_AMBIENT, 0.0f); in TEST_P()
117 glMaterialfv(GL_FRONT_AND_BACK, pnames[i], &colors[i].R); in TEST_P()
124 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, kShininessTestValue); in TEST_P()
/third_party/skia/third_party/externals/angle2/samples/gles1/
H A DSimpleLighting.cpp72 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat_ambient);
73 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular);
74 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat_diffuse);
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pStateChangeCallTests.cpp289 GL_FRONT_AND_BACK in init()
475 GL_FRONT_AND_BACK in init()
663 GL_FRONT_AND_BACK in init()
701 GL_FRONT_AND_BACK in init()
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pStateChangeCallTests.cpp324 GL_FRONT_AND_BACK in init()
510 GL_FRONT_AND_BACK in init()
725 GL_FRONT_AND_BACK in init()
763 GL_FRONT_AND_BACK in init()
/third_party/mesa3d/src/mesa/main/
H A Dstencil.c456 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilOpSeparate()
506 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilFuncSeparate()
553 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilMaskSeparate()
H A Dpolygon.c63 mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK) { in cull_face()
197 case GL_FRONT_AND_BACK: in polygon_mode()
H A Dbuffers.c135 * GL_FRONT_AND_BACK), return the corresponding bitmask of BUFFER_BIT_* flags.
157 case GL_FRONT_AND_BACK: in draw_buffer_enum_to_bitmask()
223 case GL_FRONT_AND_BACK: in read_buffer_enum_to_index()
268 * \param buffer buffer token such as GL_LEFT or GL_FRONT_AND_BACK, etc.
423 * GL_FRONT_AND_BACK is illegal. The only exception is GL_BACK
505 buffers[output] == GL_FRONT_AND_BACK || in draw_buffers()
754 * colorbuffer names. (i.e. GL_FRONT_AND_BACK =>
779 * (ex: glDrawBuffer(GL_FRONT_AND_BACK)). in _mesa_drawbuffers()
H A Ddraw_validate.c124 if (ctx->DrawBuffer->ColorDrawBuffer[0] == GL_FRONT_AND_BACK) in _mesa_update_valid_to_render_state()
H A Dlight.c650 else if (face != GL_FRONT_AND_BACK) { in _mesa_material_bitmask()
1264 ctx->Light.ColorMaterialFace = GL_FRONT_AND_BACK; in _mesa_init_lighting()
1267 GL_FRONT_AND_BACK, in _mesa_init_lighting()
H A Des1_conversion.c557 if (face != GL_FRONT_AND_BACK) { in _mesa_Materialx()
579 if (face != GL_FRONT_AND_BACK) { in _mesa_Materialxv()
H A Dclear.c315 case GL_FRONT_AND_BACK: in make_color_buffer_mask()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fIntegerStateQueryTests.cpp814 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test()
2111 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_ref_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_REF (separate)", GL_STENCIL_REF, GL_FRONT_AND_BACK))); in init()
2113 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_back_ref_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_REF (separate)", GL_STENCIL_BACK_REF, GL_FRONT_AND_BACK))); in init()
2135 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget, GL_FRONT_AND_BACK))); in init()
2136 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_back_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget, GL_FRONT_AND_BACK))); in init()
2144 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_func_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_FUNC, GL_FRONT_AND_BACK))); in init()
2146 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_back_func_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_BACK_FUNC, GL_FRONT_AND_BACK))); in init()
2150 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_value_mask_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_VALUE_MASK (separate)", GL_STENCIL_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2152 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_back_value_mask_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_VALUE_MASK (separate)", GL_STENCIL_BACK_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2156 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilWriteMaskSeparateTestCase (m_context, verifier, (std::string("stencil_writemask_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_WRITEMASK (separate)", GL_STENCIL_WRITEMASK, GL_FRONT_AND_BACK))); in init()
[all...]
/third_party/glfw/examples/
H A Dsplitview.c244 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); in drawAllViews()
305 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); in drawAllViews()
H A Dparticles.c887 glPolygonMode(GL_FRONT_AND_BACK, in key_callback()
1038 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); in main()
/third_party/mesa3d/src/intel/tools/imgui/
H A Dimgui_impl_opengl3.cpp139 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); in ImGui_ImplOpenGL3_RenderDrawData()
225 glPolygonMode(GL_FRONT_AND_BACK, (GLenum)last_polygon_mode[0]); in ImGui_ImplOpenGL3_RenderDrawData()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fIntegerStateQueryTests.cpp1093 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test()
2871 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_ref_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_REF (separate)", GL_STENCIL_REF, GL_FRONT_AND_BACK))); in init()
2873 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilRefSeparateTestCase (m_context, verifier, (std::string("stencil_back_ref_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_REF (separate)", GL_STENCIL_BACK_REF, GL_FRONT_AND_BACK))); in init()
2895 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget, GL_FRONT_AND_BACK))); in init()
2896 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_back_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget, GL_FRONT_AND_BACK))); in init()
2904 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_func_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_FUNC, GL_FRONT_AND_BACK))); in init()
2906 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilFuncSeparateTestCase (m_context, verifier, (std::string("stencil_back_func_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_BACK_FUNC, GL_FRONT_AND_BACK))); in init()
2910 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_value_mask_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_VALUE_MASK (separate)", GL_STENCIL_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2912 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilMaskSeparateTestCase (m_context, verifier, (std::string("stencil_back_value_mask_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_BACK_VALUE_MASK (separate)", GL_STENCIL_BACK_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2916 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilWriteMaskSeparateTestCase (m_context, verifier, (std::string("stencil_writemask_separate_both") + verifier->getTestNamePostfix()).c_str(), "STENCIL_WRITEMASK (separate)", GL_STENCIL_WRITEMASK, GL_FRONT_AND_BACK))); in init()
[all...]
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c120 case GL_FRONT_AND_BACK: in st_update_rasterizer()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_opengl3.cpp308 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); in ImGui_ImplOpenGL3_SetupRenderState()
495 glPolygonMode(GL_FRONT_AND_BACK, (GLenum)last_polygon_mode[0]); in ImGui_ImplOpenGL3_RenderDrawData()
H A Dimgui_impl_opengl2.cpp125 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL); in ImGui_ImplOpenGL2_SetupRenderState()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DlibGLESv2.cpp1123 case GL_FRONT_AND_BACK: in CullFace()
4347 case GL_FRONT_AND_BACK: in StencilFuncSeparate()
4372 if(face == GL_FRONT || face == GL_FRONT_AND_BACK) in StencilFuncSeparate()
4377 if(face == GL_BACK || face == GL_FRONT_AND_BACK) in StencilFuncSeparate()
4386 StencilFuncSeparate(GL_FRONT_AND_BACK, func, ref, mask); in StencilFunc()
4397 case GL_FRONT_AND_BACK: in StencilMaskSeparate()
4407 if(face == GL_FRONT || face == GL_FRONT_AND_BACK) in StencilMaskSeparate()
4412 if(face == GL_BACK || face == GL_FRONT_AND_BACK) in StencilMaskSeparate()
4421 StencilMaskSeparate(GL_FRONT_AND_BACK, mask); in StencilMask()
4433 case GL_FRONT_AND_BACK in StencilOpSeparate()
[all...]
/third_party/skia/third_party/externals/angle2/src/common/
H A DPackedGLEnums_autogen.cpp396 case GL_FRONT_AND_BACK: in FromGLenum()
412 return GL_FRONT_AND_BACK; in ToGLenum()
430 os << "GL_FRONT_AND_BACK"; in operator <<()
/third_party/openGLES/api/GLSC/1.0.1/
H A Dgl.h76 /* #define GL_FRONT_AND_BACK 0x0408 */
88 #define GL_FRONT_AND_BACK 0x0408 macro
313 /* #define GL_FRONT_AND_BACK 0x0408 */
/third_party/openGLES/api/GLSC/1.0/
H A Dgl.h80 /* #define GL_FRONT_AND_BACK 0x0408 */
92 #define GL_FRONT_AND_BACK 0x0408 macro
309 /* #define GL_FRONT_AND_BACK 0x0408 */
/third_party/skia/third_party/externals/opengl-registry/api/GLSC/1.0/
H A Dgl.h80 /* #define GL_FRONT_AND_BACK 0x0408 */
92 #define GL_FRONT_AND_BACK 0x0408 macro
309 /* #define GL_FRONT_AND_BACK 0x0408 */
/third_party/skia/third_party/externals/opengl-registry/api/GLSC/1.0.1/
H A Dgl.h76 /* #define GL_FRONT_AND_BACK 0x0408 */
88 #define GL_FRONT_AND_BACK 0x0408 macro
313 /* #define GL_FRONT_AND_BACK 0x0408 */

Completed in 52 milliseconds

123