Add support for half float alpha textures.
authorjvanverth <jvanverth@google.com>
Fri, 5 Dec 2014 21:06:35 +0000 (13:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Dec 2014 21:06:35 +0000 (13:06 -0800)
commit28f9c606e4c8e61015e864219c4bc83a3fdb4a86
treedf7daea5295de1dcbeeb72d34bd58cbc0a4ca3a9
parent915187b71d4068f21a15a1b8f4d919e1179d8b74
Add support for half float alpha textures.

This allows us to create distance field textures with better precision,
which may help text quality.

BUG=skia:3103

Review URL: https://codereview.chromium.org/762923003
include/gpu/GrColor.h
include/gpu/GrTypes.h
src/core/SkHalf.h
src/gpu/GrDrawTarget.cpp
src/gpu/gl/GrGLCaps.cpp
src/gpu/gl/GrGLDefines.h
src/gpu/gl/GrGpuGL.cpp
tests/FloatingPointTextureTest.cpp