Searched refs:n_stops (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_gradient.c85 if use array. So use global uniform to replace for it if the number of n_stops is small. */
717 GLfloat *stop_colors, GLfloat *n_stops)
732 n_stops[count] =
753 n_stops[0] = n_stops[1];
759 n_stops[count - 1] = n_stops[count - 2];
763 n_stops[0] = n_stops[count - 2] - 1.0;
766 n_stops[coun
716 _glamor_gradient_set_stops(PicturePtr src_picture,PictGradient * pgradient,GLfloat * stop_colors,GLfloat * n_stops) argument
810 GLfloat *n_stops = NULL; local in function:glamor_generate_radial_gradient_picture
1118 GLfloat *n_stops = NULL; local in function:glamor_generate_linear_gradient_picture
[all...]
/xsrc/external/mit/pixman/dist/test/
H A Dstress-test.c647 create_random_stops (int *n_stops) argument
654 *n_stops = prng_rand_n (50) + 1;
656 step = pixman_fixed_1 / *n_stops;
658 stops = malloc (*n_stops * sizeof (pixman_gradient_stop_t));
661 for (i = 0; i < (*n_stops) - 1; ++i)
669 stops[*n_stops - 1].x = pixman_fixed_1;
670 stops[*n_stops - 1].color = random_color();
689 int n_stops; local in function:create_random_linear_image
694 stops = create_random_stops (&n_stops);
701 result = pixman_image_create_linear_gradient (&p1, &p2, stops, n_stops);
711 int n_stops; local in function:create_random_radial_image
739 int n_stops; local in function:create_random_conical_image
[all...]
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-conical-gradient.c195 int n_stops)
205 if (!_pixman_init_gradient (&conical->common, stops, n_stops))
192 pixman_image_create_conical_gradient(const pixman_point_fixed_t * center,pixman_fixed_t angle,const pixman_gradient_stop_t * stops,int n_stops) argument
H A Dpixman-image.c40 int n = gradient->n_stops;
81 int n_stops)
83 return_val_if_fail (n_stops > 0, FALSE);
96 pixman_malloc_ab (n_stops + 2, sizeof (pixman_gradient_stop_t));
101 memcpy (gradient->stops, stops, n_stops * sizeof (pixman_gradient_stop_t));
102 gradient->n_stops = n_stops;
499 for (i = 0; i < image->gradient.n_stops; ++i)
79 _pixman_init_gradient(gradient_t * gradient,const pixman_gradient_stop_t * stops,int n_stops) argument
H A Dpixman-linear-gradient.c267 int n_stops)
279 if (!_pixman_init_gradient (&linear->common, stops, n_stops))
264 pixman_image_create_linear_gradient(const pixman_point_fixed_t * p1,const pixman_point_fixed_t * p2,const pixman_gradient_stop_t * stops,int n_stops) argument
H A Dpixman-radial-gradient.c467 int n_stops)
479 if (!_pixman_init_gradient (&radial->common, stops, n_stops))
462 pixman_image_create_radial_gradient(const pixman_point_fixed_t * inner,const pixman_point_fixed_t * outer,pixman_fixed_t inner_radius,pixman_fixed_t outer_radius,const pixman_gradient_stop_t * stops,int n_stops) argument
H A Dpixman-gradient-walker.c36 walker->num_stops = gradient->n_stops;
H A Dpixman.h1152 int n_stops);
1160 int n_stops);
1166 int n_stops);
H A Dpixman-private.h134 int n_stops; member in struct:gradient
321 int n_stops);

Completed in 14 milliseconds