| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2014 Google Inc. | 2  * Copyright 2014 Google Inc. | 
| 3  * | 3  * | 
| 4  * Use of this source code is governed by a BSD-style license that can be | 4  * Use of this source code is governed by a BSD-style license that can be | 
| 5  * found in the LICENSE file. | 5  * found in the LICENSE file. | 
| 6  */ | 6  */ | 
| 7 | 7 | 
| 8 #include "GrProgramElement.h" | 8 #include "GrProgramElement.h" | 
| 9 #include "GrGpuResourceRef.h" | 9 #include "GrGpuResourceRef.h" | 
| 10 | 10 | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 27     for (int i = 0; i < fGpuResources.count(); ++i) { | 27     for (int i = 0; i < fGpuResources.count(); ++i) { | 
| 28         fGpuResources[i]->removeRef(); | 28         fGpuResources[i]->removeRef(); | 
| 29     } | 29     } | 
| 30 } | 30 } | 
| 31 | 31 | 
| 32 void GrProgramElement::pendingIOComplete() const { | 32 void GrProgramElement::pendingIOComplete() const { | 
| 33     for (int i = 0; i < fGpuResources.count(); ++i) { | 33     for (int i = 0; i < fGpuResources.count(); ++i) { | 
| 34         fGpuResources[i]->pendingIOComplete(); | 34         fGpuResources[i]->pendingIOComplete(); | 
| 35     } | 35     } | 
| 36 } | 36 } | 
| 37 |  | 
| OLD | NEW | 
|---|