commit | 169612621f00b3fe9f71014079991287d311751a | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Tue Aug 26 14:01:07 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 26 14:01:07 2014 -0700 |
tree | 5a1ab159dc1515cb5d12fc759db2f611b0961eff | |
parent | 9407eceb2784dd13c135f8f266ffbeb1ffe5fd48 [diff] [blame] |
Make GrGpuResources register with GrResourceCache2 after fully constructed. Committed: https://skia.googlesource.com/skia/+/d68b3e491bb765beb7ca5e4ac8e0c80dedf5a83b R=robertphillips@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/504313002
diff --git a/src/gpu/gl/GrGLVertexArray.cpp b/src/gpu/gl/GrGLVertexArray.cpp index 66feb82..39fd48c 100644 --- a/src/gpu/gl/GrGLVertexArray.cpp +++ b/src/gpu/gl/GrGLVertexArray.cpp
@@ -73,6 +73,7 @@ , fID(id) , fAttribArrays(attribCount) , fIndexBufferIDIsValid(false) { + this->registerWithCache(); } void GrGLVertexArray::onAbandon() {