• Home
  • Raw
  • Download

Lines Matching refs:TEST_AND_UPDATE

317 #define TEST_AND_UPDATE(VALUE, NEWVALUE, ENUM) do {  \  macro
338 TEST_AND_UPDATE(ctx->Color.AlphaEnabled, enable->AlphaTest, GL_ALPHA_TEST); in pop_enable_group()
357 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, in pop_enable_group()
359 TEST_AND_UPDATE(ctx->Polygon.CullFlag, enable->CullFace, GL_CULL_FACE); in pop_enable_group()
362 TEST_AND_UPDATE(ctx->Transform.DepthClampNear && ctx->Transform.DepthClampFar, in pop_enable_group()
366 TEST_AND_UPDATE(ctx->Transform.DepthClampNear, enable->DepthClampNear, in pop_enable_group()
368 TEST_AND_UPDATE(ctx->Transform.DepthClampFar, enable->DepthClampFar, in pop_enable_group()
372 TEST_AND_UPDATE(ctx->Depth.Test, enable->DepthTest, GL_DEPTH_TEST); in pop_enable_group()
373 TEST_AND_UPDATE(ctx->Color.DitherFlag, enable->Dither, GL_DITHER); in pop_enable_group()
374 TEST_AND_UPDATE(ctx->Fog.Enabled, enable->Fog, GL_FOG); in pop_enable_group()
375 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING); in pop_enable_group()
376 TEST_AND_UPDATE(ctx->Line.SmoothFlag, enable->LineSmooth, GL_LINE_SMOOTH); in pop_enable_group()
377 TEST_AND_UPDATE(ctx->Line.StippleFlag, enable->LineStipple, in pop_enable_group()
379 TEST_AND_UPDATE(ctx->Color.IndexLogicOpEnabled, enable->IndexLogicOp, in pop_enable_group()
381 TEST_AND_UPDATE(ctx->Color.ColorLogicOpEnabled, enable->ColorLogicOp, in pop_enable_group()
384 TEST_AND_UPDATE(ctx->Eval.Map1Color4, enable->Map1Color4, GL_MAP1_COLOR_4); in pop_enable_group()
385 TEST_AND_UPDATE(ctx->Eval.Map1Index, enable->Map1Index, GL_MAP1_INDEX); in pop_enable_group()
386 TEST_AND_UPDATE(ctx->Eval.Map1Normal, enable->Map1Normal, GL_MAP1_NORMAL); in pop_enable_group()
387 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord1, enable->Map1TextureCoord1, in pop_enable_group()
389 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord2, enable->Map1TextureCoord2, in pop_enable_group()
391 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord3, enable->Map1TextureCoord3, in pop_enable_group()
393 TEST_AND_UPDATE(ctx->Eval.Map1TextureCoord4, enable->Map1TextureCoord4, in pop_enable_group()
395 TEST_AND_UPDATE(ctx->Eval.Map1Vertex3, enable->Map1Vertex3, in pop_enable_group()
397 TEST_AND_UPDATE(ctx->Eval.Map1Vertex4, enable->Map1Vertex4, in pop_enable_group()
400 TEST_AND_UPDATE(ctx->Eval.Map2Color4, enable->Map2Color4, GL_MAP2_COLOR_4); in pop_enable_group()
401 TEST_AND_UPDATE(ctx->Eval.Map2Index, enable->Map2Index, GL_MAP2_INDEX); in pop_enable_group()
402 TEST_AND_UPDATE(ctx->Eval.Map2Normal, enable->Map2Normal, GL_MAP2_NORMAL); in pop_enable_group()
403 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord1, enable->Map2TextureCoord1, in pop_enable_group()
405 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord2, enable->Map2TextureCoord2, in pop_enable_group()
407 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord3, enable->Map2TextureCoord3, in pop_enable_group()
409 TEST_AND_UPDATE(ctx->Eval.Map2TextureCoord4, enable->Map2TextureCoord4, in pop_enable_group()
411 TEST_AND_UPDATE(ctx->Eval.Map2Vertex3, enable->Map2Vertex3, in pop_enable_group()
413 TEST_AND_UPDATE(ctx->Eval.Map2Vertex4, enable->Map2Vertex4, in pop_enable_group()
416 TEST_AND_UPDATE(ctx->Eval.AutoNormal, enable->AutoNormal, GL_AUTO_NORMAL); in pop_enable_group()
417 TEST_AND_UPDATE(ctx->Transform.Normalize, enable->Normalize, GL_NORMALIZE); in pop_enable_group()
418 TEST_AND_UPDATE(ctx->Transform.RescaleNormals, enable->RescaleNormals, in pop_enable_group()
420 TEST_AND_UPDATE(ctx->Transform.RasterPositionUnclipped, in pop_enable_group()
423 TEST_AND_UPDATE(ctx->Point.SmoothFlag, enable->PointSmooth, in pop_enable_group()
426 TEST_AND_UPDATE(ctx->Point.PointSprite, enable->PointSprite, in pop_enable_group()
429 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, enable->PolygonOffsetPoint, in pop_enable_group()
431 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, enable->PolygonOffsetLine, in pop_enable_group()
433 TEST_AND_UPDATE(ctx->Polygon.OffsetFill, enable->PolygonOffsetFill, in pop_enable_group()
435 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, enable->PolygonSmooth, in pop_enable_group()
437 TEST_AND_UPDATE(ctx->Polygon.StippleFlag, enable->PolygonStipple, in pop_enable_group()
447 TEST_AND_UPDATE(ctx->Stencil.Enabled, enable->Stencil, GL_STENCIL_TEST); in pop_enable_group()
449 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, enable->StencilTwoSide, in pop_enable_group()
452 TEST_AND_UPDATE(ctx->Multisample.Enabled, enable->MultisampleEnabled, in pop_enable_group()
454 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToCoverage, in pop_enable_group()
457 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToOne, in pop_enable_group()
460 TEST_AND_UPDATE(ctx->Multisample.SampleCoverage, in pop_enable_group()
464 TEST_AND_UPDATE(ctx->VertexProgram.Enabled, in pop_enable_group()
467 TEST_AND_UPDATE(ctx->VertexProgram.PointSizeEnabled, in pop_enable_group()
470 TEST_AND_UPDATE(ctx->VertexProgram.TwoSideEnabled, in pop_enable_group()
475 TEST_AND_UPDATE(ctx->FragmentProgram.Enabled, in pop_enable_group()
480 TEST_AND_UPDATE(ctx->Color.sRGBEnabled, enable->sRGBEnabled, in pop_enable_group()
485 TEST_AND_UPDATE(ctx->ConservativeRasterization, in pop_enable_group()
832 TEST_AND_UPDATE(ctx->Color.AlphaEnabled, attr->Color.AlphaEnabled, in _mesa_PopAttrib()
843 TEST_AND_UPDATE(ctx->Color.BlendEnabled & 0x1, in _mesa_PopAttrib()
884 TEST_AND_UPDATE(ctx->Color.ColorLogicOpEnabled, in _mesa_PopAttrib()
886 TEST_AND_UPDATE(ctx->Color.IndexLogicOpEnabled, in _mesa_PopAttrib()
888 TEST_AND_UPDATE(ctx->Color.DitherFlag, attr->Color.DitherFlag, in _mesa_PopAttrib()
900 TEST_AND_UPDATE(ctx->Color.sRGBEnabled, attr->Color.sRGBEnabled, in _mesa_PopAttrib()
914 TEST_AND_UPDATE(ctx->Depth.Test, attr->Depth.Test, GL_DEPTH_TEST); in _mesa_PopAttrib()
917 TEST_AND_UPDATE(ctx->Depth.BoundsTest, attr->Depth.BoundsTest, in _mesa_PopAttrib()
932 TEST_AND_UPDATE(ctx->Fog.Enabled, attr->Fog.Enabled, GL_FOG); in _mesa_PopAttrib()
953 TEST_AND_UPDATE(ctx->Light.Enabled, attr->Light.Enabled, GL_LIGHTING); in _mesa_PopAttrib()
963 TEST_AND_UPDATE(ctx->Light.Light[i].Enabled, l->Enabled, in _mesa_PopAttrib()
1015 TEST_AND_UPDATE(ctx->Light.Light[i].Enabled, in _mesa_PopAttrib()
1027 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, in _mesa_PopAttrib()
1039 TEST_AND_UPDATE(ctx->Line.SmoothFlag, attr->Line.SmoothFlag, GL_LINE_SMOOTH); in _mesa_PopAttrib()
1040 TEST_AND_UPDATE(ctx->Line.StippleFlag, attr->Line.StippleFlag, GL_LINE_STIPPLE); in _mesa_PopAttrib()
1057 TEST_AND_UPDATE(ctx->Point.SmoothFlag, attr->Point.SmoothFlag, GL_POINT_SMOOTH); in _mesa_PopAttrib()
1082 TEST_AND_UPDATE(ctx->Point.PointSprite, attr->Point.PointSprite, in _mesa_PopAttrib()
1100 TEST_AND_UPDATE(ctx->Polygon.SmoothFlag, attr->Polygon.SmoothFlag, GL_POLYGON_SMOOTH); in _mesa_PopAttrib()
1101 TEST_AND_UPDATE(ctx->Polygon.StippleFlag, attr->Polygon.StippleFlag, GL_POLYGON_STIPPLE); in _mesa_PopAttrib()
1102 TEST_AND_UPDATE(ctx->Polygon.CullFlag, attr->Polygon.CullFlag, GL_CULL_FACE); in _mesa_PopAttrib()
1103 TEST_AND_UPDATE(ctx->Polygon.OffsetPoint, attr->Polygon.OffsetPoint, in _mesa_PopAttrib()
1105 TEST_AND_UPDATE(ctx->Polygon.OffsetLine, attr->Polygon.OffsetLine, in _mesa_PopAttrib()
1107 TEST_AND_UPDATE(ctx->Polygon.OffsetFill, attr->Polygon.OffsetFill, in _mesa_PopAttrib()
1145 TEST_AND_UPDATE(ctx->Stencil.Enabled, attr->Stencil.Enabled, in _mesa_PopAttrib()
1149 TEST_AND_UPDATE(ctx->Stencil.TestTwoSide, attr->Stencil.TestTwoSide, in _mesa_PopAttrib()
1195 TEST_AND_UPDATE(ctx->Transform.Normalize, attr->Transform.Normalize, in _mesa_PopAttrib()
1197 TEST_AND_UPDATE(ctx->Transform.RescaleNormals, in _mesa_PopAttrib()
1201 TEST_AND_UPDATE(ctx->Transform.DepthClampNear && in _mesa_PopAttrib()
1206 TEST_AND_UPDATE(ctx->Transform.DepthClampNear, in _mesa_PopAttrib()
1209 TEST_AND_UPDATE(ctx->Transform.DepthClampFar, in _mesa_PopAttrib()
1253 TEST_AND_UPDATE(ctx->Multisample.Enabled, in _mesa_PopAttrib()
1257 TEST_AND_UPDATE(ctx->Multisample.SampleCoverage, in _mesa_PopAttrib()
1261 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToCoverage, in _mesa_PopAttrib()
1265 TEST_AND_UPDATE(ctx->Multisample.SampleAlphaToOne, in _mesa_PopAttrib()