Add ShaderSource object to reflect its commonality across projects.
The ShaderSource object (and ancillary objects) started life in the glmark2 project, but have since also been adopted by the glcompbench project. Its usefulness, especially in conjunction with the Program and Shader objects already contained here beg for its inclusion into this more common archive. We might have to think about renaming libmatrix to reflect this more general GL-support aspect rather than its previous focus purely on vector and matrix math.
Blueprint information
- Status:
- Complete
- Approver:
- Jesse Barker
- Priority:
- Medium
- Drafter:
- Jesse Barker
- Direction:
- Approved
- Assignee:
- Jesse Barker
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2012.02
- Started by
- Jesse Barker
- Completed by
- Jesse Barker
Related branches
Related bugs
Sprints
Whiteboard
Headline: Functionality grows to encompass shader source management
Acceptance: ShaderSource and related functionality is available by linking in libmatrix
Status:
[jesse-barker Dec 6] Possibly a small standalone GL app that uses ShaderSource to process a pair of shader files, and successfully compiles and links a program from it would serve to test all 3 objects. Might be good to have something more directed (e.g., read the shader, spit it back out and diff the results?).
Work Items
Work items:
Add util module from glmark2: DONE
Add shader-source module from glmark2: DONE
Define a method for testing these objects: DONE
Add log module from glmark2: DONE