gl programs rewrite

BUG=skia:

Review URL: https://codereview.chromium.org/628633003
8 files changed