Evas masking: Skip GL fast path if image has fill options
If the image is not "filled", then we can't assume its image source geometry is the same as its texture geometry. Note: Implementing a fast path for non-filled images would require a hell of a lot more work (need to cut the render into a lot more triangles) for little real-life use.
This commit is contained in:
parent
0da6278af8
commit
0d794e0b37
|
@ -1825,7 +1825,7 @@ evas_render_mask_subrender(Evas_Public_Data *evas,
|
|||
mdata->redraw = EINA_FALSE;
|
||||
|
||||
if (is_image && !prev_mask && mask->func->engine_data_get &&
|
||||
ENFN->image_scaled_update)
|
||||
ENFN->image_scaled_update && evas_object_image_filled_get(mask->object))
|
||||
{
|
||||
/* Fast path (for GL) that avoids creating a map surface, render the
|
||||
* scaled image in it, when the shaders can just scale on the fly. */
|
||||
|
|
Loading…
Reference in New Issue