Makes GrGLProgramDesc's key store the lengths as well as offsets of the effect keys.
authorbsalomon <bsalomon@google.com>
Wed, 16 Jul 2014 02:41:17 +0000 (19:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 16 Jul 2014 02:41:17 +0000 (19:41 -0700)
commitc0ea398aff8254e31152cbb94c9ab6150428e252
tree9d6679780751b74228ba1613a65beb6e9daa3078
parent8339371f1ec3c57a0741932fd96bff32c53d4e54
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.

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