Fix includes of SkColorSpace et al (flutter/engine#32382)
This commit is contained in:
@@ -268,8 +268,8 @@ class RenderSurface {
|
||||
class RenderEnvironment {
|
||||
public:
|
||||
static RenderEnvironment Make565() {
|
||||
return RenderEnvironment(SkImageInfo::Make({1, 1}, kRGB_565_SkColorType,
|
||||
kOpaque_SkAlphaType, nullptr));
|
||||
return RenderEnvironment(
|
||||
SkImageInfo::Make({1, 1}, kRGB_565_SkColorType, kOpaque_SkAlphaType));
|
||||
}
|
||||
|
||||
static RenderEnvironment MakeN32() {
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "flutter/fml/trace_event.h"
|
||||
#include "third_party/skia/include/core/SkCanvas.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/core/SkPicture.h"
|
||||
#include "third_party/skia/include/core/SkSurface.h"
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/core/SkSize.h"
|
||||
|
||||
class SkColorSpace;
|
||||
|
||||
namespace flutter {
|
||||
|
||||
class RasterCacheResult {
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include "flutter/flow/raster_cache.h"
|
||||
#include "flutter/flow/testing/mock_layer.h"
|
||||
#include "flutter/testing/mock_canvas.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/core/SkPicture.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "include/core/SkColorSpace.h"
|
||||
#include "include/core/SkImage.h"
|
||||
#include "include/core/SkImageInfo.h"
|
||||
#include "include/core/SkPicture.h"
|
||||
#include "include/core/SkSerialProcs.h"
|
||||
#include "include/core/SkStream.h"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "include/core/SkImage.h"
|
||||
#include "include/core/SkPicture.h"
|
||||
#include "include/core/SkStream.h"
|
||||
#include "include/core/SkTypeface.h"
|
||||
|
||||
namespace flutter {
|
||||
|
||||
@@ -10,7 +10,10 @@
|
||||
#include "flutter/fml/size.h"
|
||||
#include "flutter/fml/trace_event.h"
|
||||
#include "flutter/shell/common/context_options.h"
|
||||
#include "third_party/skia/include/core/SkAlphaType.h"
|
||||
#include "third_party/skia/include/core/SkColorFilter.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkSurface.h"
|
||||
#include "third_party/skia/include/gpu/GrBackendSurface.h"
|
||||
#include "third_party/skia/include/gpu/GrContextOptions.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "fml/trace_event.h"
|
||||
#include "include/core/SkColorSpace.h"
|
||||
#include "include/core/SkSize.h"
|
||||
#include "third_party/swiftshader/include/vulkan/vulkan_core.h"
|
||||
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
|
||||
#include <GLES/glext.h>
|
||||
|
||||
#include "third_party/skia/include/core/SkAlphaType.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/gpu/GrBackendSurface.h"
|
||||
#include "third_party/skia/include/gpu/GrDirectContext.h"
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
#include "flutter/shell/platform/embedder/embedder_external_texture_gl.h"
|
||||
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "third_party/skia/include/core/SkAlphaType.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/core/SkSize.h"
|
||||
#include "third_party/skia/include/gpu/GrBackendSurface.h"
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "flutter/shell/platform/embedder/embedder_surface_software.h"
|
||||
|
||||
#include "flutter/fml/trace_event.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkImageInfo.h"
|
||||
#include "third_party/skia/include/gpu/GrDirectContext.h"
|
||||
|
||||
namespace flutter {
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "flutter/shell/platform/embedder/tests/embedder_test_backingstore_producer.h"
|
||||
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkImageInfo.h"
|
||||
#include "third_party/skia/include/core/SkSize.h"
|
||||
#include "third_party/skia/include/core/SkSurface.h"
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
|
||||
#include "flutter/fml/build_config.h"
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkSurface.h"
|
||||
#include "third_party/skia/include/gpu/gl/GrGLAssembleInterface.h"
|
||||
#include "third_party/skia/src/gpu/gl/GrGLDefines.h"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "flutter/testing/test_vulkan_context.h"
|
||||
|
||||
#include "third_party/skia/include/core/SkColorSpace.h"
|
||||
#include "third_party/skia/include/core/SkColorType.h"
|
||||
#include "third_party/skia/include/core/SkSurface.h"
|
||||
#include "third_party/skia/include/core/SkSurfaceProps.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user