| Index: src/gpu/GrContext.cpp
 | 
| ===================================================================
 | 
| --- src/gpu/GrContext.cpp	(revision 9928)
 | 
| +++ src/gpu/GrContext.cpp	(working copy)
 | 
| @@ -541,6 +541,16 @@
 | 
|      }
 | 
|  }
 | 
|  
 | 
| +void GrContext::OverbudgetCB(void* data) {
 | 
| +    GrAssert(NULL != data);
 | 
| +
 | 
| +    GrContext* context = reinterpret_cast<GrContext*>(data);
 | 
| +
 | 
| +    // Flush the InOrderDrawBuffer to possibly free up some textures
 | 
| +    context->flush();
 | 
| +}
 | 
| +
 | 
| +
 | 
|  GrTexture* GrContext::createUncachedTexture(const GrTextureDesc& descIn,
 | 
|                                              void* srcData,
 | 
|                                              size_t rowBytes) {
 | 
| 
 |