| 1 |
/* |
| 2 |
* Copyright 2023 Google LLC |
| 3 |
* |
| 4 |
* Use of this source code is governed by a BSD-style license that can be |
| 5 |
* found in the LICENSE file. |
| 6 |
*/ |
| 7 |
#ifndef GrCanvas_DEFINED |
| 8 |
#define GrCanvas_DEFINED |
| 9 |
|
| 10 |
class GrRenderTargetProxy; |
| 11 |
class SkCanvas; |
| 12 |
|
| 13 |
namespace skgpu::ganesh { |
| 14 |
class SurfaceDrawContext; |
| 15 |
class SurfaceFillContext; |
| 16 |
|
| 17 |
SurfaceDrawContext* TopDeviceSurfaceDrawContext(const SkCanvas*); |
| 18 |
SurfaceFillContext* TopDeviceSurfaceFillContext(const SkCanvas*); |
| 19 |
GrRenderTargetProxy* TopDeviceTargetProxy(const SkCanvas*); |
| 20 |
} |
| 21 |
#endif |