diff options
author | wangyix <wangyix@google.com> | 2015-08-04 07:59:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-04 07:59:37 -0700 |
commit | 4b3050b410254d0cb38df9a30ae2e209124fa1a2 (patch) | |
tree | 060bac88523db4058c11c364319ace7368749848 /src/gpu/gl/GrGLProgramDesc.cpp | |
parent | c369348aa596d7be05c9ce0ca5d349e5d1903789 (diff) |
Added registerChild; transforms, textures, glKey automatically handled.
BUG=skia:
Review URL: https://codereview.chromium.org/1266633003
Diffstat (limited to 'src/gpu/gl/GrGLProgramDesc.cpp')
-rw-r--r-- | src/gpu/gl/GrGLProgramDesc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp index 7eb4fe1517..2522f7a24f 100644 --- a/src/gpu/gl/GrGLProgramDesc.cpp +++ b/src/gpu/gl/GrGLProgramDesc.cpp @@ -115,7 +115,9 @@ bool GrGLProgramDescBuilder::Build(GrProgramDesc* desc, for (int s = 0; s < pipeline.numFragmentStages(); ++s) { const GrPendingFragmentStage& fps = pipeline.getFragmentStage(s); const GrFragmentProcessor& fp = *fps.processor(); + fp.getGLProcessorKey(*gpu->glCaps().glslCaps(), &b); + //**** use glslCaps here? if (!get_meta_key(fp, gpu->glCaps(), primProc.getTransformKey(fp.coordTransforms()), &b)) { glDesc->key().reset(); |