Commit dfdea38c authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Decouple QSGDistanceFieldGlyphNode from it's cache manager.


To implement a custom distance field glyph node currently it's
necessary to also provide a duplicate implementation of
QSGContext::createDistanceFieldGlyphCache() as the default implemention
references the cache manager created by createGlyphNode().  By isolating
references to the cache manager to just createDistanceFieldGlyph() cache
it becomes possible to just overwrite createGlyphNode() and still use
the default cache.

Change-Id: I7261bdbf247966b55512d2671e2ee85239bcca05
Reviewed-by: default avatarYoann Lopes <yoann.lopes@nokia.com>
parent e20c3516
No related merge requests found
Showing with 99 additions and 83 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment