Home
last modified time | relevance | path

Searched refs:GL_FRONT_AND_BACK (Results 1 – 25 of 70) sorted by relevance

123

/external/angle/src/tests/gl_tests/gles1/
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()
/external/angle/samples/gles1/
DSimpleLighting.cpp72 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat_ambient); in draw()
73 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular); in draw()
74 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat_diffuse); in draw()
/external/mesa3d/src/mesa/main/
Dstencil.c228 ? GL_FRONT : GL_FRONT_AND_BACK), in stencil_func()
307 ? GL_FRONT : GL_FRONT_AND_BACK), in _mesa_StencilMask()
369 ? GL_FRONT : GL_FRONT_AND_BACK), in stencil_op()
506 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilOpSeparate()
560 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilFuncSeparate()
611 if (face != GL_FRONT && face != GL_BACK && face != GL_FRONT_AND_BACK) { in _mesa_StencilMaskSeparate()
Dpolygon.c60 mode != GL_FRONT && mode != GL_BACK && mode != GL_FRONT_AND_BACK) { in cull_face()
193 case GL_FRONT_AND_BACK: in polygon_mode()
Dbuffers.c156 case GL_FRONT_AND_BACK: in draw_buffer_enum_to_bitmask()
225 case GL_FRONT_AND_BACK: in read_buffer_enum_to_index()
508 buffers[output] == GL_FRONT_AND_BACK || in draw_buffers()
Dlight.c593 else if (face != GL_FRONT_AND_BACK) { in _mesa_material_bitmask()
1204 ctx->Light.ColorMaterialFace = GL_FRONT_AND_BACK; in _mesa_init_lighting()
1207 GL_FRONT_AND_BACK, in _mesa_init_lighting()
Des1_conversion.c579 if (face != GL_FRONT_AND_BACK) { in _mesa_Materialx()
601 if (face != GL_FRONT_AND_BACK) { in _mesa_Materialxv()
Dclear.c312 case GL_FRONT_AND_BACK: in make_color_buffer_mask()
Ddraw_validate.c77 if (ctx->DrawBuffer->ColorDrawBuffer[0] == GL_FRONT_AND_BACK) { in check_blend_func_error()
/external/deqp/modules/gles2/performance/
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()
/external/eigen/demos/opengl/
Dquaternion_demo.cpp248 glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, Vector4f(0.7, 0.7, 0.7, 1).data()); in drawScene()
249 glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, Vector4f(0.8, 0.75, 0.6, 1).data()); in drawScene()
250 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, Vector4f(1, 1, 1, 1).data()); in drawScene()
251 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 64); in drawScene()
461 glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); in paintGL()
/external/deqp/modules/gles3/performance/
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()
/external/deqp/modules/gles2/functional/
Des2fIntegerStateQueryTests.cpp814 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test()
2107 …getTestNamePostfix()).c_str(), "STENCIL_REF (separate)", GL_STENCIL_REF, GL_FRONT_AND_BACK))); in init()
2109 …NamePostfix()).c_str(), "STENCIL_BACK_REF (separate)", GL_STENCIL_BACK_REF, GL_FRONT_AND_BACK))); in init()
2131 …str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget, GL_FRONT_AND_BACK))); in init()
2132 …str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget, GL_FRONT_AND_BACK))); in init()
2140 …TestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_FUNC, GL_FRONT_AND_BACK))); in init()
2142 …NamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_BACK_FUNC, GL_FRONT_AND_BACK))); in init()
2146 …ostfix()).c_str(), "STENCIL_VALUE_MASK (separate)", GL_STENCIL_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2148 …).c_str(), "STENCIL_BACK_VALUE_MASK (separate)", GL_STENCIL_BACK_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2152 …Postfix()).c_str(), "STENCIL_WRITEMASK (separate)", GL_STENCIL_WRITEMASK, GL_FRONT_AND_BACK))); in init()
[all …]
/external/mesa3d/src/intel/tools/imgui/
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()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c142 else if (cull == GL_FRONT_AND_BACK) in nv04_emit_control()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip.c125 ctx->Polygon.CullFaceMode == GL_FRONT_AND_BACK) in brw_upload_clip_prog()
/external/deqp/modules/gles3/functional/
Des3fIntegerStateQueryTests.cpp1093 const GLenum cullFaces[] = {GL_FRONT, GL_BACK, GL_FRONT_AND_BACK}; in test()
2856 …getTestNamePostfix()).c_str(), "STENCIL_REF (separate)", GL_STENCIL_REF, GL_FRONT_AND_BACK))); in init()
2858 …NamePostfix()).c_str(), "STENCIL_BACK_REF (separate)", GL_STENCIL_BACK_REF, GL_FRONT_AND_BACK))); in init()
2880 …str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget, GL_FRONT_AND_BACK))); in init()
2881 …str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget, GL_FRONT_AND_BACK))); in init()
2889 …TestNamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_FUNC, GL_FRONT_AND_BACK))); in init()
2891 …NamePostfix()).c_str(), "STENCIL_FUNC (separate)", GL_STENCIL_BACK_FUNC, GL_FRONT_AND_BACK))); in init()
2895 …ostfix()).c_str(), "STENCIL_VALUE_MASK (separate)", GL_STENCIL_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2897 …).c_str(), "STENCIL_BACK_VALUE_MASK (separate)", GL_STENCIL_BACK_VALUE_MASK, GL_FRONT_AND_BACK))); in init()
2901 …Postfix()).c_str(), "STENCIL_WRITEMASK (separate)", GL_STENCIL_WRITEMASK, GL_FRONT_AND_BACK))); in init()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c121 case GL_FRONT_AND_BACK: in st_update_rasterizer()
/external/swiftshader/src/OpenGL/libGLESv2/
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 …]
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c694 glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, materialSpecular); in appInit()
695 glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, 60); in appInit()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp685 case GL_FRONT_AND_BACK: in ConvertCullMode()
/external/angle/src/common/
DPackedGLEnums_autogen.cpp396 case GL_FRONT_AND_BACK: in FromGLenum()
412 return GL_FRONT_AND_BACK; in ToGLenum()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp2783 stencilFuncSeparate(GL_FRONT_AND_BACK, func, ref, mask); in stencilFunc()
2788 const bool setFront = face == GL_FRONT || face == GL_FRONT_AND_BACK; in stencilFuncSeparate()
2789 const bool setBack = face == GL_BACK || face == GL_FRONT_AND_BACK; in stencilFuncSeparate()
2808 stencilOpSeparate(GL_FRONT_AND_BACK, sfail, dpfail, dppass); in stencilOp()
2813 const bool setFront = face == GL_FRONT || face == GL_FRONT_AND_BACK; in stencilOpSeparate()
2814 const bool setBack = face == GL_BACK || face == GL_FRONT_AND_BACK; in stencilOpSeparate()
2978 stencilMaskSeparate(GL_FRONT_AND_BACK, mask); in stencilMask()
2983 const bool setFront = face == GL_FRONT || face == GL_FRONT_AND_BACK; in stencilMaskSeparate()
2984 const bool setBack = face == GL_BACK || face == GL_FRONT_AND_BACK; in stencilMaskSeparate()
/external/angle/src/libANGLE/renderer/gl/
Dfunctionsgl_enums.h62 #define GL_FRONT_AND_BACK 0x0408 macro
/external/mesa3d/docs/relnotes/
D4.1243 also want to check for GL_FRONT_AND_BACK mode and fall back to software.

123