Lines Matching defs:thread
226 struct rasterize_traps_thread *thread = arg;
230 width = thread->bounds.x2 - thread->bounds.x1;
231 height = thread->bounds.y2 - thread->bounds.y1;
233 memset(thread->ptr, 0, thread->stride*height);
234 if (PIXMAN_FORMAT_DEPTH(thread->format) < 8)
235 image = pixman_image_create_bits(thread->format,
239 image = pixman_image_create_bits(thread->format,
241 (uint32_t *)thread->ptr,
242 thread->stride);
246 for (n = 0; n < thread->ntrap; n++)
247 if (xTrapezoidValid(&thread->traps[n]))
249 (pixman_trapezoid_t *)&thread->traps[n],
250 -thread->bounds.x1, -thread->bounds.y1);
252 if (PIXMAN_FORMAT_DEPTH(thread->format) < 8) {
257 (uint32_t *)thread->ptr,
258 thread->stride);