commit | 2f55e596ff1005e7a180e2718ccdb22f8d89726a | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Tue Oct 28 17:08:44 2014 -0700 |
committer | Bo Hu <bohu@google.com> | Tue Nov 18 21:53:45 2014 +0000 |
tree | a5ff2cee573bd9f82a227302d7093ac5d6c80f5d | |
parent | da28cf0cb266a4f6a0e621807ca415cc123a87ae [diff] |
Properly handle shader deletion When deleting a shader that is still attached to program, it should not be deleted immediately. Instead, it should be marked for deletion. When a program is deleted, its shaders should be detached. When a shader is detached, it should be deleted if it is marked for deletion. Change-Id: I481dbfe37e3ad4af454574b75d157bdfeb1c9cdd (cherry picked from commit bc42a0598f6e5ffb0ebd646e0bad8d94c50ec193)