Closed
Bug 834876
Opened 12 years ago
Closed 12 years ago
[layers-refactoring] Use texture coords in Effects rather than texture/source rects in Compositor::DrawQuad
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
People
(Reporter: nrc, Unassigned)
References
Details
(Whiteboard: [metro-gfx])
No description provided.
Reporter | ||
Comment 1•12 years ago
|
||
If we do this we have to expose a lot of crap out of the compositor. Check out LayerManagerOGL::BindAndDrawQuadWithTextureRect. We would need to know about the compositor's ability to do/not do non power of two textures and that we optimise non-repeat textures by breaking them into triangles, which really seems like stuff that should be kept in the compositor.
We always know the texture size and source rect, so I don't see the problem with keeping them as the interface to the compositor.
Reporter | ||
Comment 2•12 years ago
|
||
We can always use (0, 0, 1, 1) for the texture rect and texture coords for the source rect, if you want a texture coords kind of interface.
Reporter | ||
Comment 3•12 years ago
|
||
Looks like Bas has done this.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Blocks: metro-omtc
Updated•12 years ago
|
No longer blocks: metro-omtc
You need to log in
before you can comment on or make changes to this bug.
Description
•