aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SKPBench.h
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2014-12-10 21:43:27 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-10 21:43:28 -0800
commit3490263287e9432119c501884e45840de4d986bc (patch)
tree2ba9e1c9f5accf46d281e2c2c24f4722ad24e7d5 /bench/SKPBench.h
parent294738268d3a9317282224f03063eb38ad19717c (diff)
Replace use of deprecated CG methods.
OSX10.9 and iOS7.0 deprecated CGContextShowGlyphsAtPoint so a new API should be used. OSX10.7 and iOS4.2 replace CGContextShowGlyphsAtPoint with CTFontDrawGlyphs. OSX10.5 and iOS2.0 have CGContextShowGlyphsAtPositions which works similarly to CTFontDrawGlyphs and has not yet been deprecated. This change allows the use of CTFontDrawGlyphs when it is available, falling back to CGContextShowGlyphsAtPositions when it isn't. Review URL: https://codereview.chromium.org/770383002
Diffstat (limited to 'bench/SKPBench.h')
0 files changed, 0 insertions, 0 deletions