Skip to content

Commit eb1f04e

Browse files
authored
Build skiko with skia@m132 (#1021)
1 parent 3c54c1b commit eb1f04e

File tree

19 files changed

+46
-46
lines changed

19 files changed

+46
-46
lines changed

skiko/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kotlin.code.style=official
22
deploy.version=0.0.0
33

44

5-
dependencies.skia=m126-6fd3120c1b
5+
dependencies.skia=m132-9b3c42e2f9-1
66

77
# you can override general skia dependencies by passing platform-specific property:
88
# dependencies.skia.android-arm64

skiko/src/awtMain/cpp/windows/InternalDirectXApi.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
#include "window_util.h"
1313

1414
#include "SkColorSpace.h"
15-
#include "GrBackendSurface.h"
16-
#include "GrDirectContext.h"
15+
#include "ganesh/GrBackendSurface.h"
16+
#include "ganesh/GrDirectContext.h"
1717
#include "SkSurface.h"
1818
#include "../common/interop.hh"
1919

20-
#include "d3d/GrD3DTypes.h"
21-
#include "d3d/GrD3DBackendContext.h"
20+
#include "ganesh/d3d/GrD3DTypes.h"
21+
#include "ganesh/d3d/GrD3DBackendContext.h"
2222

2323
class DirectXOffscreenDevice
2424
{
@@ -427,4 +427,4 @@ extern "C"
427427

428428
} // extern "C"
429429

430-
#endif // SK_DIRECT3D
430+
#endif // SK_DIRECT3D

skiko/src/awtMain/cpp/windows/direct3DContext.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <jawt_md.h>
55
#include "jni_helpers.h"
66

7-
#include "GrBackendSurface.h"
8-
#include "GrDirectContext.h"
7+
#include "ganesh/GrBackendSurface.h"
8+
#include "ganesh/GrDirectContext.h"
99
#include "SkSurface.h"
1010
#include "exceptions_handler.h"
1111

skiko/src/awtMain/cpp/windows/directXRedrawer.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
#include "window_util.h"
88

99
#include "SkColorSpace.h"
10-
#include "GrBackendSurface.h"
11-
#include "GrDirectContext.h"
10+
#include "ganesh/GrBackendSurface.h"
11+
#include "ganesh/GrDirectContext.h"
1212
#include "SkSurface.h"
1313
#include "include/gpu/ganesh/SkSurfaceGanesh.h"
1414
#include "../common/interop.hh"
1515
#include "DCompLibrary.h"
1616

17-
#include "d3d/GrD3DTypes.h"
17+
#include "ganesh/d3d/GrD3DTypes.h"
1818
#include <d3d12sdklayers.h>
19-
#include "d3d/GrD3DBackendContext.h"
19+
#include "ganesh/d3d/GrD3DBackendContext.h"
2020
#include <d3d12.h>
2121
#include <dxgi1_4.h>
2222
#include <dxgi1_6.h>

skiko/src/awtMain/objectiveC/macos/MetalApi.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#import <Metal/Metal.h>
99
#import <QuartzCore/CAMetalLayer.h>
1010

11-
#import "GrBackendSurface.h"
12-
#import "GrDirectContext.h"
11+
#import "ganesh/GrBackendSurface.h"
12+
#import "ganesh/GrDirectContext.h"
1313
#import "ganesh/mtl/GrMtlBackendContext.h"
1414
#import "ganesh/mtl/GrMtlDirectContext.h"
1515
#import "ganesh/mtl/GrMtlBackendSurface.h"

skiko/src/awtMain/objectiveC/macos/MetalContextHandler.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#import <QuartzCore/CAMetalLayer.h>
77
#import <Metal/Metal.h>
8-
#import "GrDirectContext.h"
9-
#import "gpu/GrBackendSurface.h"
8+
#import "ganesh/GrDirectContext.h"
9+
#import "gpu/ganesh/GrBackendSurface.h"
1010
#import "ganesh/mtl/GrMtlBackendContext.h"
1111
#import "ganesh/mtl/GrMtlDirectContext.h"
1212
#import "ganesh/mtl/GrMtlBackendSurface.h"
@@ -91,4 +91,4 @@ JNIEXPORT void JNICALL Java_org_jetbrains_skiko_context_MetalContextHandler_fini
9191
}
9292

9393
} // extern C
94-
#endif
94+
#endif

skiko/src/awtMain/objectiveC/macos/MetalRedrawer.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#import <Metal/Metal.h>
99
#import <QuartzCore/CAMetalLayer.h>
1010

11-
#import "GrBackendSurface.h"
12-
#import "GrDirectContext.h"
11+
#import "ganesh/GrBackendSurface.h"
12+
#import "ganesh/GrDirectContext.h"
1313
#import "ganesh/mtl/GrMtlBackendContext.h"
1414
#import "ganesh/mtl/GrMtlDirectContext.h"
1515
#import "ganesh/mtl/GrMtlTypes.h"

skiko/src/awtMain/objectiveC/macos/MetalSwingRedrawer.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
#import <QuartzCore/CAMetalLayer.h>
77
#import <Metal/Metal.h>
8-
#import "GrDirectContext.h"
9-
#import "gpu/GrBackendSurface.h"
8+
#import "ganesh/GrDirectContext.h"
9+
#import "gpu/ganesh/GrBackendSurface.h"
1010
#import "ganesh/mtl/GrMtlBackendContext.h"
1111
#import "ganesh/mtl/GrMtlDirectContext.h"
1212
#import "ganesh/mtl/GrMtlBackendSurface.h"
@@ -67,4 +67,4 @@ JNIEXPORT jlong JNICALL Java_org_jetbrains_skiko_swing_MetalSwingRedrawer_makeMe
6767
}
6868

6969
} // extern C
70-
#endif
70+
#endif

skiko/src/jvmMain/cpp/common/BackendRenderTarget.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <iostream>
22
#include <jni.h>
33
#include <ganesh/gl/GrGLBackendSurface.h>
4-
#include "GrBackendSurface.h"
4+
#include "ganesh/GrBackendSurface.h"
55
#ifdef SK_METAL
66
#include "ganesh/mtl/GrMtlBackendSurface.h"
77
#include "ganesh/mtl/GrMtlTypes.h"
@@ -38,7 +38,7 @@ extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skia_BackendRenderTargetKt
3838
#endif
3939

4040
#ifdef SK_DIRECT3D
41-
#include "d3d/GrD3DTypes.h"
41+
#include "ganesh/d3d/GrD3DTypes.h"
4242

4343
extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skia_BackendRenderTargetKt__1nMakeDirect3D
4444
(JNIEnv* env, jclass jclass, jint width, jint height, jlong texturePtr, jint format, jint sampleCnt, jint levelCnt) {
@@ -52,4 +52,4 @@ extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skia_BackendRenderTargetKt
5252
GrBackendRenderTarget* instance = new GrBackendRenderTarget(width, height, texResInfo);
5353
return reinterpret_cast<jlong>(instance);
5454
}
55-
#endif //SK_DIRECT3D
55+
#endif //SK_DIRECT3D

skiko/src/jvmMain/cpp/common/DirectContext.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include <iostream>
22
#include <jni.h>
3-
#include "GrDirectContext.h"
3+
#include "ganesh/GrDirectContext.h"
44
#include "ganesh/gl/GrGLDirectContext.h"
55

66
extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skia_DirectContextKt__1nMakeGL
@@ -25,7 +25,7 @@ extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skia_DirectContextKt__1nMa
2525
#endif
2626

2727
#ifdef SK_DIRECT3D
28-
#include "d3d/GrD3DBackendContext.h"
28+
#include "ganesh/d3d/GrD3DBackendContext.h"
2929

3030
extern "C" JNIEXPORT jlong JNICALL Java_org_jetbrains_skia_DirectContextKt__1nMakeDirect3D
3131
(JNIEnv* env, jclass jclass, jlong adapterPtr, jlong devicePtr, jlong queuePtr) {

0 commit comments

Comments
 (0)