| Index: src/gpu/gl/GrGLPathRendering.h
|
| diff --git a/src/gpu/gl/GrGLPathRendering.h b/src/gpu/gl/GrGLPathRendering.h
|
| index cd4668fc88877a524ccdcdd9f3f6ce04eb62e4d0..b39c866c6f89c3f2620d32af950f33496e4ede58 100644
|
| --- a/src/gpu/gl/GrGLPathRendering.h
|
| +++ b/src/gpu/gl/GrGLPathRendering.h
|
| @@ -41,10 +41,10 @@ public:
|
| void resetContext();
|
|
|
| /**
|
| - * Called when the GPU resources have been lost and need to be abandoned
|
| - * (for example after a context loss).
|
| + * Called when the context either is about to be lost or is lost. DisconnectType indicates
|
| + * whether GPU resources should be cleaned up or abandoned when this is called.
|
| */
|
| - void abandonGpuResources();
|
| + void disconnect(GrGpu::DisconnectType);
|
|
|
| bool shouldBindFragmentInputs() const {
|
| return fCaps.bindFragmentInputSupport;
|
|
|