Move GrAtlasTextBatch blob regeneration to template
authorjoshualitt <joshualitt@chromium.org>
Mon, 23 Nov 2015 21:08:22 +0000 (13:08 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 Nov 2015 21:08:22 +0000 (13:08 -0800)
commit60ce86d4718dab83f33488ec41710ad6763fc7f8
treeed3933f0387cb03f35eac4cba1528ea11b7f89f9
parent095530389d8211895309107a4f74beefacce638c
Move GrAtlasTextBatch blob regeneration to template

This will remove the runtime branches.  I don't think it makes the
code any harder to read either

BUG=skia:

Review URL: https://codereview.chromium.org/1466333003
src/gpu/batches/GrAtlasTextBatch.cpp
src/gpu/batches/GrAtlasTextBatch.h