Ganesh text rendering cleanup.
authorjvanverth <jvanverth@google.com>
Thu, 4 Dec 2014 18:46:50 +0000 (10:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Dec 2014 18:46:52 +0000 (10:46 -0800)
commit787cdf9ab06c5afc6fe480ab88268e983505bd32
tree2bc8edf88bcff616bef07a40f7a193db37241ab1
parent32fee2907e2109ef420c3fec5f44e655ebc55c2a
Ganesh text rendering cleanup.

Rename GrTextStrike.{cpp.h} to GrFontCache.{cpp,h}
Move contents of GrTextStrike_impl.h to GrFontCache.h
Move glyph uploading to a separate function and remove harmful gotos
Add assert on glyph upload failure (shouldn't happen)

Review URL: https://codereview.chromium.org/780923002
gyp/gpu.gypi
src/gpu/GrBitmapTextContext.cpp
src/gpu/GrBitmapTextContext.h
src/gpu/GrContext.cpp
src/gpu/GrDistanceFieldTextContext.cpp
src/gpu/GrDistanceFieldTextContext.h
src/gpu/GrFlushToGpuDrawTarget.cpp
src/gpu/GrFontCache.cpp [moved from src/gpu/GrTextStrike.cpp with 99% similarity]
src/gpu/GrFontCache.h [moved from src/gpu/GrTextStrike.h with 68% similarity]
src/gpu/GrInOrderDrawBuffer.cpp
src/gpu/GrTextStrike_impl.h [deleted file]