Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 0513cef

Browse files
authored
Fix forward declares and includes of some Skia Ganesh types (#40279)
Fix forward declares and includes of some Skia Ganesh types
1 parent db79f01 commit 0513cef

File tree

8 files changed

+14
-0
lines changed

8 files changed

+14
-0
lines changed

common/graphics/persistent_cache.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
#include "flutter/fml/unique_fd.h"
1616
#include "third_party/skia/include/gpu/GrContextOptions.h"
1717

18+
class GrDirectContext;
19+
1820
namespace flutter {
1921

2022
namespace testing {

flow/embedded_views.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include "third_party/skia/include/core/SkSize.h"
2323
#include "third_party/skia/include/core/SkSurface.h"
2424

25+
class GrDirectContext;
26+
2527
namespace flutter {
2628

2729
enum MutatorType {

flow/layers/layer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
#include "third_party/skia/include/core/SkRect.h"
3434
#include "third_party/skia/include/utils/SkNWayCanvas.h"
3535

36+
class GrDirectContext;
37+
3638
namespace flutter {
3739

3840
namespace testing {

flow/layers/layer_tree.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include "third_party/skia/include/core/SkPicture.h"
1818
#include "third_party/skia/include/core/SkSize.h"
1919

20+
class GrDirectContext;
21+
2022
namespace flutter {
2123

2224
class LayerTree {

flow/layers/offscreen_surface.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "flutter/display_list/skia/dl_sk_canvas.h"
1313
#include "third_party/skia/include/core/SkSurface.h"
1414

15+
class GrDirectContext;
16+
1517
namespace flutter {
1618

1719
class OffscreenSurface {

flow/raster_cache.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "third_party/skia/include/core/SkImage.h"
2020
#include "third_party/skia/include/core/SkSize.h"
2121

22+
class GrDirectContext;
2223
class SkColorSpace;
2324

2425
namespace flutter {

flow/skia_gpu_object.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include "flutter/fml/task_runner.h"
1414
#include "flutter/fml/trace_event.h"
1515
#include "third_party/skia/include/core/SkRefCnt.h"
16+
#include "third_party/skia/include/gpu/GrBackendSurface.h"
1617
#include "third_party/skia/include/gpu/GrDirectContext.h"
1718

1819
namespace flutter {

flow/surface.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#include "flutter/flow/surface_frame.h"
1313
#include "flutter/fml/macros.h"
1414

15+
class GrDirectContext;
16+
1517
namespace impeller {
1618
class AiksContext;
1719
} // namespace impeller

0 commit comments

Comments
 (0)