• Home
  • Raw
  • Download

Lines Matching refs:TEST_AND_UPDATE

318 #define TEST_AND_UPDATE(VALUE, NEWVALUE, ENUM) do {  \  macro
339 TEST_AND_UPDATE(ctx->Color.AlphaEnabled, enable->AlphaTest, GL_ALPHA_TEST); in pop_enable_group()
358 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, in pop_enable_group()
360 TEST_AND_UPDATE(ctx->Polygon.CullFlag, enable->CullFace, GL_CULL_FACE); in pop_enable_group()
363 TEST_AND_UPDATE(ctx->Transform.DepthClampNear && ctx->Transform.DepthClampFar, in pop_enable_group()
367 TEST_AND_UPDATE(ctx->Transform.DepthClampNear, enable->DepthClampNear, in pop_enable_group()
369 TEST_AND_UPDATE(ctx->Transform.DepthClampFar, enable->DepthClampFar, in pop_enable_group()
373 TEST_AND_UPDATE(ctx->Depth.Test, enable->DepthTest, GL_DEPTH_TEST); in pop_enable_group()
374 TEST_AND_UPDATE(ctx->Color.DitherFlag, enable->Dither, GL_DITHER); in pop_enable_group()
375 TEST_AND_UPDATE(ctx->Fog.Enabled, enable->Fog, GL_FOG); in pop_enable_group()
376 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING); in pop_enable_group()
377 TEST_AND_UPDATE(ctx->Line.SmoothFlag, enable->LineSmooth, GL_LINE_SMOOTH); in pop_enable_group()
378 TEST_AND_UPDATE(ctx->Line.StippleFlag, enable->LineStipple, in pop_enable_group()
380 TEST_AND_UPDATE(ctx->Color.IndexLogicOpEnabled, enable->IndexLogicOp, in pop_enable_group()
382 TEST_AND_UPDATE(ctx->Color.ColorLogicOpEnabled, enable->ColorLogicOp, in pop_enable_group()
385 TEST_AND_UPDATE(ctx->Eval.Map1Color4, enable->Map1Color4, GL_MAP1_COLOR_4); in pop_enable_group()
386 TEST_AND_UPDATE(ctx->Eval.Map1Index, enable->Map1Index, GL_MAP1_INDEX); in pop_enable_group()
387 TEST_AND_UPDATE(ctx->Eval.Map1Normal, enable->Map1Normal, GL_MAP1_NORMAL); in pop_enable_group()
388 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord1, enable->Map1TextureCoord1, in pop_enable_group()
390 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord2, enable->Map1TextureCoord2, in pop_enable_group()
392 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord3, enable->Map1TextureCoord3, in pop_enable_group()
394 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord4, enable->Map1TextureCoord4, in pop_enable_group()
396 TEST_AND_UPDATE(ctx->Eval.Map1Vertex3, enable->Map1Vertex3, in pop_enable_group()
398 TEST_AND_UPDATE(ctx->Eval.Map1Vertex4, enable->Map1Vertex4, in pop_enable_group()
401 TEST_AND_UPDATE(ctx->Eval.Map2Color4, enable->Map2Color4, GL_MAP2_COLOR_4); in pop_enable_group()
402 TEST_AND_UPDATE(ctx->Eval.Map2Index, enable->Map2Index, GL_MAP2_INDEX); in pop_enable_group()
403 TEST_AND_UPDATE(ctx->Eval.Map2Normal, enable->Map2Normal, GL_MAP2_NORMAL); in pop_enable_group()
404 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord1, enable->Map2TextureCoord1, in pop_enable_group()
406 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord2, enable->Map2TextureCoord2, in pop_enable_group()
408 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord3, enable->Map2TextureCoord3, in pop_enable_group()
410 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord4, enable->Map2TextureCoord4, in pop_enable_group()
412 TEST_AND_UPDATE(ctx->Eval.Map2Vertex3, enable->Map2Vertex3, in pop_enable_group()
414 TEST_AND_UPDATE(ctx->Eval.Map2Vertex4, enable->Map2Vertex4, in pop_enable_group()
417 TEST_AND_UPDATE(ctx->Eval.AutoNormal, enable->AutoNormal, GL_AUTO_NORMAL); in pop_enable_group()
418 TEST_AND_UPDATE(ctx->Transform.Normalize, enable->Normalize, GL_NORMALIZE); in pop_enable_group()
419 TEST_AND_UPDATE(ctx->Transform.RescaleNormals, enable->RescaleNormals, in pop_enable_group()
421 TEST_AND_UPDATE(ctx->Transform.RasterPositionUnclipped, in pop_enable_group()
424 TEST_AND_UPDATE(ctx->Point.SmoothFlag, enable->PointSmooth, in pop_enable_group()
427 TEST_AND_UPDATE(ctx->Point.PointSprite, enable->PointSprite, in pop_enable_group()
430 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, enable->PolygonOffsetPoint, in pop_enable_group()
432 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, enable->PolygonOffsetLine, in pop_enable_group()
434 TEST_AND_UPDATE(ctx->Polygon.OffsetFill, enable->PolygonOffsetFill, in pop_enable_group()
436 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth, in pop_enable_group()
438 TEST_AND_UPDATE(ctx->Polygon.StippleFlag, enable->PolygonStipple, in pop_enable_group()
448 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); in pop_enable_group()
450 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, in pop_enable_group()
453 TEST_AND_UPDATE(ctx->Multisample.Enabled, enable->MultisampleEnabled, in pop_enable_group()
455 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToCoverage, in pop_enable_group()
458 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToOne, in pop_enable_group()
461 TEST_AND_UPDATE(ctx->Multisample.SampleCoverage, in pop_enable_group()
465 TEST_AND_UPDATE(ctx->VertexProgram.Enabled, in pop_enable_group()
468 TEST_AND_UPDATE(ctx->VertexProgram.PointSizeEnabled, in pop_enable_group()
471 TEST_AND_UPDATE(ctx->VertexProgram.TwoSideEnabled, in pop_enable_group()
476 TEST_AND_UPDATE(ctx->FragmentProgram.Enabled, in pop_enable_group()
481 TEST_AND_UPDATE(ctx->Color.sRGBEnabled, enable->sRGBEnabled, in pop_enable_group()
486 TEST_AND_UPDATE(ctx->ConservativeRasterization, in pop_enable_group()
760 TEST_AND_UPDATE(ctx->Color.AlphaEnabled, attr->Color.AlphaEnabled, in _mesa_PopAttrib()
771 TEST_AND_UPDATE(ctx->Color.BlendEnabled & 0x1, in _mesa_PopAttrib()
812 TEST_AND_UPDATE(ctx->Color.ColorLogicOpEnabled, in _mesa_PopAttrib()
814 TEST_AND_UPDATE(ctx->Color.IndexLogicOpEnabled, in _mesa_PopAttrib()
816 TEST_AND_UPDATE(ctx->Color.DitherFlag, attr->Color.DitherFlag, in _mesa_PopAttrib()
828 TEST_AND_UPDATE(ctx->Color.sRGBEnabled, attr->Color.sRGBEnabled, in _mesa_PopAttrib()
842 TEST_AND_UPDATE(ctx->Depth.Test, attr->Depth.Test, GL_DEPTH_TEST); in _mesa_PopAttrib()
845 TEST_AND_UPDATE(ctx->Depth.BoundsTest, attr->Depth.BoundsTest, in _mesa_PopAttrib()
860 TEST_AND_UPDATE(ctx->Fog.Enabled, attr->Fog.Enabled, GL_FOG); in _mesa_PopAttrib()
881 TEST_AND_UPDATE(ctx->Light.Enabled, attr->Light.Enabled, GL_LIGHTING); in _mesa_PopAttrib()
895 TEST_AND_UPDATE(ctx->Light.Light[i].Enabled, in _mesa_PopAttrib()
906 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, in _mesa_PopAttrib()
918 TEST_AND_UPDATE(ctx->Line.SmoothFlag, attr->Line.SmoothFlag, GL_LINE_SMOOTH); in _mesa_PopAttrib()
919 TEST_AND_UPDATE(ctx->Line.StippleFlag, attr->Line.StippleFlag, GL_LINE_STIPPLE); in _mesa_PopAttrib()
936 TEST_AND_UPDATE(ctx->Point.SmoothFlag, attr->Point.SmoothFlag, GL_POINT_SMOOTH); in _mesa_PopAttrib()
947 TEST_AND_UPDATE(ctx->Point.PointSprite, attr->Point.PointSprite, in _mesa_PopAttrib()
965 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, attr->Polygon.SmoothFlag, GL_POLYGON_SMOOTH); in _mesa_PopAttrib()
966 TEST_AND_UPDATE(ctx->Polygon.StippleFlag, attr->Polygon.StippleFlag, GL_POLYGON_STIPPLE); in _mesa_PopAttrib()
967 TEST_AND_UPDATE(ctx->Polygon.CullFlag, attr->Polygon.CullFlag, GL_CULL_FACE); in _mesa_PopAttrib()
968 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, attr->Polygon.OffsetPoint, in _mesa_PopAttrib()
970 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, attr->Polygon.OffsetLine, in _mesa_PopAttrib()
972 TEST_AND_UPDATE(ctx->Polygon.OffsetFill, attr->Polygon.OffsetFill, in _mesa_PopAttrib()
1004 TEST_AND_UPDATE(ctx->Stencil.Enabled, attr->Stencil.Enabled, in _mesa_PopAttrib()
1008 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, attr->Stencil.TestTwoSide, in _mesa_PopAttrib()
1052 TEST_AND_UPDATE(ctx->Transform.Normalize, attr->Transform.Normalize, in _mesa_PopAttrib()
1054 TEST_AND_UPDATE(ctx->Transform.RescaleNormals, in _mesa_PopAttrib()
1058 TEST_AND_UPDATE(ctx->Transform.DepthClampNear && in _mesa_PopAttrib()
1063 TEST_AND_UPDATE(ctx->Transform.DepthClampNear, in _mesa_PopAttrib()
1066 TEST_AND_UPDATE(ctx->Transform.DepthClampFar, in _mesa_PopAttrib()
1108 TEST_AND_UPDATE(ctx->Multisample.Enabled, in _mesa_PopAttrib()
1112 TEST_AND_UPDATE(ctx->Multisample.SampleCoverage, in _mesa_PopAttrib()
1116 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToCoverage, in _mesa_PopAttrib()
1120 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToOne, in _mesa_PopAttrib()