@asdf-overlay/core 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addon-aarch64.node +0 -0
- package/addon-x64.node +0 -0
- package/asdf_overlay-aarch64.dll +0 -0
- package/asdf_overlay-x64.dll +0 -0
- package/asdf_overlay-x86.dll +0 -0
- package/lib/addon.d.ts +0 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -3
- package/package.json +1 -1
package/addon-aarch64.node
CHANGED
|
Binary file
|
package/addon-x64.node
CHANGED
|
Binary file
|
package/asdf_overlay-aarch64.dll
CHANGED
|
Binary file
|
package/asdf_overlay-x64.dll
CHANGED
|
Binary file
|
package/asdf_overlay-x86.dll
CHANGED
|
Binary file
|
package/lib/addon.d.ts
CHANGED
|
@@ -15,5 +15,4 @@ export type Addon = {
|
|
|
15
15
|
surfaceClear(id: unknown): void;
|
|
16
16
|
surfaceUpdateBitmap(id: unknown, width: number, data: Buffer): UpdateSharedHandle | null;
|
|
17
17
|
surfaceUpdateShtex(id: unknown, width: number, height: number, handle: Buffer, rect?: CopyRect): UpdateSharedHandle | null;
|
|
18
|
-
surfaceDestroy(id: unknown): void;
|
|
19
18
|
};
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -177,11 +177,11 @@ export class OverlaySurface {
|
|
|
177
177
|
addon.surfaceClear(this[idSym]);
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
|
+
* @deprecated Do not need to be called.
|
|
181
|
+
*
|
|
180
182
|
* Destroy the surface.
|
|
181
183
|
*/
|
|
182
|
-
destroy() {
|
|
183
|
-
addon.surfaceDestroy(this[idSym]);
|
|
184
|
-
}
|
|
184
|
+
destroy() { }
|
|
185
185
|
/**
|
|
186
186
|
* Create a new overlay surface.
|
|
187
187
|
* @param luid The GPU LUID for surface textures.
|