Lines Matching refs:TEST_AND_UPDATE
494 #define TEST_AND_UPDATE(VALUE, NEWVALUE, ENUM) \ in pop_enable_group() macro
499 TEST_AND_UPDATE(ctx->Color.AlphaEnabled, enable->AlphaTest, GL_ALPHA_TEST); in pop_enable_group()
519 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, in pop_enable_group()
521 TEST_AND_UPDATE(ctx->Polygon.CullFlag, enable->CullFace, GL_CULL_FACE); in pop_enable_group()
522 TEST_AND_UPDATE(ctx->Transform.DepthClamp, enable->DepthClamp, in pop_enable_group()
524 TEST_AND_UPDATE(ctx->Depth.Test, enable->DepthTest, GL_DEPTH_TEST); in pop_enable_group()
525 TEST_AND_UPDATE(ctx->Color.DitherFlag, enable->Dither, GL_DITHER); in pop_enable_group()
526 TEST_AND_UPDATE(ctx->Fog.Enabled, enable->Fog, GL_FOG); in pop_enable_group()
527 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING); in pop_enable_group()
528 TEST_AND_UPDATE(ctx->Line.SmoothFlag, enable->LineSmooth, GL_LINE_SMOOTH); in pop_enable_group()
529 TEST_AND_UPDATE(ctx->Line.StippleFlag, enable->LineStipple, in pop_enable_group()
531 TEST_AND_UPDATE(ctx->Color.IndexLogicOpEnabled, enable->IndexLogicOp, in pop_enable_group()
533 TEST_AND_UPDATE(ctx->Color.ColorLogicOpEnabled, enable->ColorLogicOp, in pop_enable_group()
536 TEST_AND_UPDATE(ctx->Eval.Map1Color4, enable->Map1Color4, GL_MAP1_COLOR_4); in pop_enable_group()
537 TEST_AND_UPDATE(ctx->Eval.Map1Index, enable->Map1Index, GL_MAP1_INDEX); in pop_enable_group()
538 TEST_AND_UPDATE(ctx->Eval.Map1Normal, enable->Map1Normal, GL_MAP1_NORMAL); in pop_enable_group()
539 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord1, enable->Map1TextureCoord1, in pop_enable_group()
541 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord2, enable->Map1TextureCoord2, in pop_enable_group()
543 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord3, enable->Map1TextureCoord3, in pop_enable_group()
545 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord4, enable->Map1TextureCoord4, in pop_enable_group()
547 TEST_AND_UPDATE(ctx->Eval.Map1Vertex3, enable->Map1Vertex3, in pop_enable_group()
549 TEST_AND_UPDATE(ctx->Eval.Map1Vertex4, enable->Map1Vertex4, in pop_enable_group()
552 TEST_AND_UPDATE(ctx->Eval.Map1Attrib[i], enable->Map1Attrib[i], in pop_enable_group()
556 TEST_AND_UPDATE(ctx->Eval.Map2Color4, enable->Map2Color4, GL_MAP2_COLOR_4); in pop_enable_group()
557 TEST_AND_UPDATE(ctx->Eval.Map2Index, enable->Map2Index, GL_MAP2_INDEX); in pop_enable_group()
558 TEST_AND_UPDATE(ctx->Eval.Map2Normal, enable->Map2Normal, GL_MAP2_NORMAL); in pop_enable_group()
559 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord1, enable->Map2TextureCoord1, in pop_enable_group()
561 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord2, enable->Map2TextureCoord2, in pop_enable_group()
563 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord3, enable->Map2TextureCoord3, in pop_enable_group()
565 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord4, enable->Map2TextureCoord4, in pop_enable_group()
567 TEST_AND_UPDATE(ctx->Eval.Map2Vertex3, enable->Map2Vertex3, in pop_enable_group()
569 TEST_AND_UPDATE(ctx->Eval.Map2Vertex4, enable->Map2Vertex4, in pop_enable_group()
572 TEST_AND_UPDATE(ctx->Eval.Map2Attrib[i], enable->Map2Attrib[i], in pop_enable_group()
576 TEST_AND_UPDATE(ctx->Eval.AutoNormal, enable->AutoNormal, GL_AUTO_NORMAL); in pop_enable_group()
577 TEST_AND_UPDATE(ctx->Transform.Normalize, enable->Normalize, GL_NORMALIZE); in pop_enable_group()
578 TEST_AND_UPDATE(ctx->Transform.RescaleNormals, enable->RescaleNormals, in pop_enable_group()
580 TEST_AND_UPDATE(ctx->Transform.RasterPositionUnclipped, in pop_enable_group()
583 TEST_AND_UPDATE(ctx->Point.SmoothFlag, enable->PointSmooth, in pop_enable_group()
586 TEST_AND_UPDATE(ctx->Point.PointSprite, enable->PointSprite, in pop_enable_group()
589 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, enable->PolygonOffsetPoint, in pop_enable_group()
591 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, enable->PolygonOffsetLine, in pop_enable_group()
593 TEST_AND_UPDATE(ctx->Polygon.OffsetFill, enable->PolygonOffsetFill, in pop_enable_group()
595 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth, in pop_enable_group()
597 TEST_AND_UPDATE(ctx->Polygon.StippleFlag, enable->PolygonStipple, in pop_enable_group()
599 TEST_AND_UPDATE(ctx->Scissor.Enabled, enable->Scissor, GL_SCISSOR_TEST); in pop_enable_group()
600 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); in pop_enable_group()
602 … TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, GL_STENCIL_TEST_TWO_SIDE_EXT); in pop_enable_group()
604 TEST_AND_UPDATE(ctx->Multisample.Enabled, enable->MultisampleEnabled, in pop_enable_group()
606 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToCoverage, in pop_enable_group()
609 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToOne, in pop_enable_group()
612 TEST_AND_UPDATE(ctx->Multisample.SampleCoverage, in pop_enable_group()
616 TEST_AND_UPDATE(ctx->VertexProgram.Enabled, in pop_enable_group()
619 TEST_AND_UPDATE(ctx->VertexProgram.PointSizeEnabled, in pop_enable_group()
622 TEST_AND_UPDATE(ctx->VertexProgram.TwoSideEnabled, in pop_enable_group()
627 TEST_AND_UPDATE(ctx->Color.sRGBEnabled, enable->sRGBEnabled, in pop_enable_group()
1293 TEST_AND_UPDATE(ctx->Multisample.Enabled, in _mesa_PopAttrib()
1297 TEST_AND_UPDATE(ctx->Multisample.SampleCoverage, in _mesa_PopAttrib()
1301 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToCoverage, in _mesa_PopAttrib()
1305 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToOne, in _mesa_PopAttrib()