Makes GrGLProgramDesc's key store the lengths as well as offsets of the effect keys.
authorbsalomon <bsalomon@google.com>
Thu, 17 Jul 2014 14:55:11 +0000 (07:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Jul 2014 14:55:11 +0000 (07:55 -0700)
commit929f29a5c1bffa7f7c1b5a376351d0762b8ac561
tree19e2f4bedb96946a8190d01864ec687a4d2ca260
parentb959ec7815ae0f65f2aabdeaf280a2a2ee6db955
Makes GrGLProgramDesc's key store the lengths as well as offsets of the effect keys.

Makes it possible to use GrBackendEffectFactories other than GrTBEF by moving meta-key generation out of GrTBEF.

Cleans up docs around GrBackendEffectFactory.

Committed: https://skia.googlesource.com/skia/+/c0ea398aff8254e31152cbb94c9ab6150428e252

R=robertphillips@google.com, jvanverth@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/379113004
include/gpu/GrBackendEffectFactory.h
include/gpu/GrTBackendEffectFactory.h
src/gpu/gl/GrGLProgramDesc.cpp
src/gpu/gl/GrGLProgramDesc.h
src/gpu/gl/GrGLProgramEffects.cpp
src/gpu/gl/GrGLProgramEffects.h
tests/GLProgramsTest.cpp