Lines Matching refs:Pixel
57 if (ctx->Pixel.ZoomX == xfactor && in _mesa_PixelZoom()
58 ctx->Pixel.ZoomY == yfactor) in _mesa_PixelZoom()
62 ctx->Pixel.ZoomX = xfactor; in _mesa_PixelZoom()
63 ctx->Pixel.ZoomY = yfactor; in _mesa_PixelZoom()
516 if (ctx->Pixel.MapColorFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
519 ctx->Pixel.MapColorFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
522 if (ctx->Pixel.MapStencilFlag == (param ? GL_TRUE : GL_FALSE)) in _mesa_PixelTransferf()
525 ctx->Pixel.MapStencilFlag = param ? GL_TRUE : GL_FALSE; in _mesa_PixelTransferf()
528 if (ctx->Pixel.IndexShift == (GLint) param) in _mesa_PixelTransferf()
531 ctx->Pixel.IndexShift = (GLint) param; in _mesa_PixelTransferf()
534 if (ctx->Pixel.IndexOffset == (GLint) param) in _mesa_PixelTransferf()
537 ctx->Pixel.IndexOffset = (GLint) param; in _mesa_PixelTransferf()
540 if (ctx->Pixel.RedScale == param) in _mesa_PixelTransferf()
543 ctx->Pixel.RedScale = param; in _mesa_PixelTransferf()
546 if (ctx->Pixel.RedBias == param) in _mesa_PixelTransferf()
549 ctx->Pixel.RedBias = param; in _mesa_PixelTransferf()
552 if (ctx->Pixel.GreenScale == param) in _mesa_PixelTransferf()
555 ctx->Pixel.GreenScale = param; in _mesa_PixelTransferf()
558 if (ctx->Pixel.GreenBias == param) in _mesa_PixelTransferf()
561 ctx->Pixel.GreenBias = param; in _mesa_PixelTransferf()
564 if (ctx->Pixel.BlueScale == param) in _mesa_PixelTransferf()
567 ctx->Pixel.BlueScale = param; in _mesa_PixelTransferf()
570 if (ctx->Pixel.BlueBias == param) in _mesa_PixelTransferf()
573 ctx->Pixel.BlueBias = param; in _mesa_PixelTransferf()
576 if (ctx->Pixel.AlphaScale == param) in _mesa_PixelTransferf()
579 ctx->Pixel.AlphaScale = param; in _mesa_PixelTransferf()
582 if (ctx->Pixel.AlphaBias == param) in _mesa_PixelTransferf()
585 ctx->Pixel.AlphaBias = param; in _mesa_PixelTransferf()
588 if (ctx->Pixel.DepthScale == param) in _mesa_PixelTransferf()
591 ctx->Pixel.DepthScale = param; in _mesa_PixelTransferf()
594 if (ctx->Pixel.DepthBias == param) in _mesa_PixelTransferf()
597 ctx->Pixel.DepthBias = param; in _mesa_PixelTransferf()
627 if (ctx->Pixel.RedScale != 1.0F || ctx->Pixel.RedBias != 0.0F || in update_image_transfer_state()
628 ctx->Pixel.GreenScale != 1.0F || ctx->Pixel.GreenBias != 0.0F || in update_image_transfer_state()
629 ctx->Pixel.BlueScale != 1.0F || ctx->Pixel.BlueBias != 0.0F || in update_image_transfer_state()
630 ctx->Pixel.AlphaScale != 1.0F || ctx->Pixel.AlphaBias != 0.0F) in update_image_transfer_state()
633 if (ctx->Pixel.IndexShift || ctx->Pixel.IndexOffset) in update_image_transfer_state()
636 if (ctx->Pixel.MapColorFlag) in update_image_transfer_state()
695 ctx->Pixel.RedBias = 0.0; in _mesa_init_pixel()
696 ctx->Pixel.RedScale = 1.0; in _mesa_init_pixel()
697 ctx->Pixel.GreenBias = 0.0; in _mesa_init_pixel()
698 ctx->Pixel.GreenScale = 1.0; in _mesa_init_pixel()
699 ctx->Pixel.BlueBias = 0.0; in _mesa_init_pixel()
700 ctx->Pixel.BlueScale = 1.0; in _mesa_init_pixel()
701 ctx->Pixel.AlphaBias = 0.0; in _mesa_init_pixel()
702 ctx->Pixel.AlphaScale = 1.0; in _mesa_init_pixel()
703 ctx->Pixel.DepthBias = 0.0; in _mesa_init_pixel()
704 ctx->Pixel.DepthScale = 1.0; in _mesa_init_pixel()
705 ctx->Pixel.IndexOffset = 0; in _mesa_init_pixel()
706 ctx->Pixel.IndexShift = 0; in _mesa_init_pixel()
707 ctx->Pixel.ZoomX = 1.0; in _mesa_init_pixel()
708 ctx->Pixel.ZoomY = 1.0; in _mesa_init_pixel()
709 ctx->Pixel.MapColorFlag = GL_FALSE; in _mesa_init_pixel()
710 ctx->Pixel.MapStencilFlag = GL_FALSE; in _mesa_init_pixel()
723 ctx->Pixel.ReadBuffer = GL_BACK; in _mesa_init_pixel()
726 ctx->Pixel.ReadBuffer = GL_FRONT; in _mesa_init_pixel()