third_party/cairo/src/cairo-gl-shaders.c
static cairo_bool_t
_cairo_gl_shader_needs_border_fade (cairo_gl_operand_t *operand)
{
    cairo_extend_t extend =_cairo_gl_operand_get_extend (operand);

    return extend == CAIRO_EXTEND_NONE &&
	   (operand->type == CAIRO_GL_OPERAND_TEXTURE ||
	    operand->type == CAIRO_GL_OPERAND_LINEAR_GRADIENT ||
	    operand->type == CAIRO_GL_OPERAND_RADIAL_GRADIENT_NONE ||
	    operand->type == CAIRO_GL_OPERAND_RADIAL_GRADIENT_A0);
}
/*
 * Returns whether an operand needs a special border fade fragment shader
 * to simulate the GL_CLAMP_TO_BORDER wrapping method that is missing in GLES2.
 */
Returns whether an operand needs a special border fade fragment shader
to simulate the GL_CLAMP_TO_BORDER wrapping method that is missing in GLES2.
Returns whether an operand needs a special border fade fragment shader to simulate the GL_CLAMP_TO_BORDER wrapping method that is missing in GLES2 .
static cairo_bool_t
_cairo_gl_shader_needs_border_fade (cairo_gl_operand_t *operand)
{
    cairo_extend_t extend =_cairo_gl_operand_get_extend (operand);
    return extend == CAIRO_EXTEND_NONE &&
	   (operand->type == CAIRO_GL_OPERAND_TEXTURE ||
	    operand->type == CAIRO_GL_OPERAND_LINEAR_GRADIENT ||
	    operand->type == CAIRO_GL_OPERAND_RADIAL_GRADIENT_NONE ||
	    operand->type == CAIRO_GL_OPERAND_RADIAL_GRADIENT_A0);
}
static cairo_bool_t _cairo_gl_shader_needs_border_fade ( cairo_gl_operand_t * operand ) { cairo_extend_t extend = _cairo_gl_operand_get_extend ( operand ) ; return extend == CAIRO_EXTEND_NONE && ( operand -> type == CAIRO_GL_OPERAND_TEXTURE || operand -> type == CAIRO_GL_OPERAND_LINEAR_GRADIENT || operand -> type == CAIRO_GL_OPERAND_RADIAL_GRADIENT_NONE || operand -> type == CAIRO_GL_OPERAND_RADIAL_GRADIENT_A0 ) ; }
Returns whether an operand needs a special border fade fragment shader
 to simulate the GL_CLAMP_TO_BORDER wrapping method that is missing in GLES2.
Returns whether an operand needs a special border fade fragment shader to simulate the GL_CLAMP_TO_BORDER wrapping method that is missing in GLES2 .