Commit ce634e84 authored by Committed by Eric Anholt
glamor_render: Only recalculate texture for repeat case.
Slightly optimize the fragment shader, as if we are not repeat case and not exceed the valid texture range, then we don't need to recalculate the coords. Signed-off-by: Zhigang Gong <email@example.com>
Showing with 30 additions and 6 deletions