| Index: cc/resources/resource_provider.h
|
| diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
|
| index a9834caca3f919b1029f06495d2d65644912fbec..7f265b79a6c400ac100313b85b8784eb9b3b2158 100644
|
| --- a/cc/resources/resource_provider.h
|
| +++ b/cc/resources/resource_provider.h
|
| @@ -150,6 +150,10 @@ class CC_EXPORT ResourceProvider
|
| bool read_lock_fences_enabled);
|
|
|
| void DeleteResource(ResourceId id);
|
| + // In the case of GPU resources, we may need to flush the GL context to ensure
|
| + // that texture deletions are seen in a timely fashion. This function should
|
| + // be called after texture deletions that may happen during an idle state.
|
| + void FlushPendingDeletions() const;
|
|
|
| // Update pixels from image, copying source_rect (in image) to dest_offset (in
|
| // the resource).
|
|
|