We don't want to render the offscreen trnsformed, we want to render it
as-is.
We lose the correct scale factor, but that requires some separate work,
so for now it gets a bit blurry on hidpi.
default:
{
- graphene_rect_t view;
graphene_rect_t clipped;
if (current_clip)
if (clipped.size.width == 0 || clipped.size.height == 0)
return NULL;
- graphene_matrix_transform_bounds (&self->mv, &clipped, &view);
-
/* assuming the unclipped bounds should go to texture coordinates 0..1,
* calculate the coordinates for the clipped texture size
*/
uploader,
semaphore,
node,
- &view);
+ &clipped);
}
}