Skip to content

Commit

Permalink
Fix forward declares and includes of some Skia Ganesh types (flutter#…
Browse files Browse the repository at this point in the history
…40279)

Fix forward declares and includes of some Skia Ganesh types
  • Loading branch information
kjlubick authored Mar 14, 2023
1 parent db79f01 commit 0513cef
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/graphics/persistent_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#include "flutter/fml/unique_fd.h"
#include "third_party/skia/include/gpu/GrContextOptions.h"

class GrDirectContext;

namespace flutter {

namespace testing {
Expand Down
2 changes: 2 additions & 0 deletions flow/embedded_views.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#include "third_party/skia/include/core/SkSize.h"
#include "third_party/skia/include/core/SkSurface.h"

class GrDirectContext;

namespace flutter {

enum MutatorType {
Expand Down
2 changes: 2 additions & 0 deletions flow/layers/layer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/utils/SkNWayCanvas.h"

class GrDirectContext;

namespace flutter {

namespace testing {
Expand Down
2 changes: 2 additions & 0 deletions flow/layers/layer_tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/core/SkSize.h"

class GrDirectContext;

namespace flutter {

class LayerTree {
Expand Down
2 changes: 2 additions & 0 deletions flow/layers/offscreen_surface.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include "flutter/display_list/skia/dl_sk_canvas.h"
#include "third_party/skia/include/core/SkSurface.h"

class GrDirectContext;

namespace flutter {

class OffscreenSurface {
Expand Down
1 change: 1 addition & 0 deletions flow/raster_cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkSize.h"

class GrDirectContext;
class SkColorSpace;

namespace flutter {
Expand Down
1 change: 1 addition & 0 deletions flow/skia_gpu_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "flutter/fml/task_runner.h"
#include "flutter/fml/trace_event.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/gpu/GrBackendSurface.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"

namespace flutter {
Expand Down
2 changes: 2 additions & 0 deletions flow/surface.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
#include "flutter/flow/surface_frame.h"
#include "flutter/fml/macros.h"

class GrDirectContext;

namespace impeller {
class AiksContext;
} // namespace impeller
Expand Down

0 comments on commit 0513cef

Please sign in to comment.