Lines Matching refs:ctx
56 intel_check_blit_fragment_ops(struct gl_context * ctx, bool src_alpha_is_one)
58 if (ctx->NewState)
59 _mesa_update_state(ctx);
61 if (ctx->FragmentProgram._Enabled) {
66 if (ctx->Color.BlendEnabled &&
67 (effective_func(ctx->Color.Blend[0].SrcRGB, src_alpha_is_one) != GL_ONE ||
68 effective_func(ctx->Color.Blend[0].DstRGB, src_alpha_is_one) != GL_ZERO ||
69 ctx->Color.Blend[0].EquationRGB != GL_FUNC_ADD ||
70 effective_func(ctx->Color.Blend[0].SrcA, src_alpha_is_one) != GL_ONE ||
71 effective_func(ctx->Color.Blend[0].DstA, src_alpha_is_one) != GL_ZERO ||
72 ctx->Color.Blend[0].EquationA != GL_FUNC_ADD)) {
77 if (ctx->Texture._MaxEnabledTexImageUnit != -1) {
82 if (!(ctx->Color.ColorMask[0][0] &&
83 ctx->Color.ColorMask[0][1] &&
84 ctx->Color.ColorMask[0][2] &&
85 ctx->Color.ColorMask[0][3])) {
90 if (ctx->Color.AlphaEnabled) {
95 if (ctx->Depth.Test) {
100 if (ctx->Fog.Enabled) {
105 if (ctx->_ImageTransferState) {
110 if (ctx->Stencil._Enabled) {
115 if (ctx->Pixel.ZoomX != 1.0F || ctx->Pixel.ZoomY != 1.0F) {
120 if (ctx->RenderMode != GL_RENDER) {