Provide a shader implementation of repeat wrap modes in cairo-gles2
Provide a shader implementation of repeat wrap modes in cairo-gles2 for hardware not supporting GL_OES_texture_npot (e.g. SGX and Tegra).
Blueprint information
- Status:
- Complete
- Approver:
- Jesse Barker
- Priority:
- High
- Drafter:
- Alexandros Frantzis
- Direction:
- Approved
- Assignee:
- Alexandros Frantzis
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2012.05
- Started by
- Alexandros Frantzis
- Completed by
- Alexandros Frantzis
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Headline: Add full cairo-gles2 support for platforms not supporting GL_OES_texture_npot (e.g. SGX and Tegra) by implementing repeat wrap modes in shaders.
Acceptance: Results of cairo-test-suite using shader-side repeat wrap modes for platforms that don't support NPOT are comparable to those of platforms having native NPOT support. No regressions on platforms supporting NPOT.
Work Items
Work items:
Implement (optional) repeat wrap modes in shaders: DONE
Set up code paths to use shader-side repeat wrap modes when GL_OES_texture_npot is missing: DONE
Ensure there are no regressions when using cairo with desktop GL: DONE
Test that shader implementation of repeat wrap modes works with mesa gallium ES2: DONE
Test that shader implementation of repeat wrap modes works with sgx and mali hardware: DONE
Send code upstream for review and perform any requested changes: DONE