Skip to content

Releases: node-3d/glfw-raub

Release 5.2.0

27 Sep 16:13
Compare
Choose a tag to compare

Added optional callback onBeforeWindow to class Window constructor options. It is called right before creating every new GLFW window within Window instance - such as on construction and then on entering/leaving fullscreen. It is intended to manually tweak the GLFW window hints.

Release 5.1.0

09 May 10:56
Compare
Choose a tag to compare

Updated dependencies.

Release 5.0.0

07 Jan 11:53
Compare
Choose a tag to compare

Upgraded the GitHub build action and added Linux Aarch64 support.

Add Vulkan API

04 Dec 15:04
Compare
Choose a tag to compare

Implemented the Vulkan related methods.

See index.d.ts:

	const vulkanSupported: () => boolean;
	const getRequiredInstanceExtensions: () => string[];
	const getInstanceProcAddress: (instance: TVkInstancePtr, name: string) => TVkProcedurePtr;
	const getPhysicalDevicePresentationSupport: (
		instance: TVkInstancePtr,
		physicalDevice: TVkPhysicalDevicePtr,
		queueFamily: number,
	) => boolean;
	const createWindowSurface: (
		instance: TVkInstancePtr,
		window: TWindowPtr,
		allocator: TVkAllocationCallbacksPtr,
	) => TVkSurfacePtr;
	const vulkanCreateInstance: () => TVkInstancePtr;
	const vulkanCreateDevice: () => ({
		device: TVkDevicePtr,
		physicalDevice: TVkPhysicalDevicePtr,
		queueFamily: number,
	});
	const vulkanDestroyDevice: (instance: TVkInstancePtr, device: TVkDevicePtr) => void;
	const vulkanDestroyInstance: (instance: TVkInstancePtr) => void;

See https://www.glfw.org/docs/latest/vulkan_guide.html

There is an example creating a basic Vulkan device: vulkan.js

Update dependencies

26 Nov 11:39
Compare
Choose a tag to compare

Updated dependencies and rebuilt with the latest NAPI and Node 16 LTS.

Update TS Definitions

19 Jul 19:23
Compare
Choose a tag to compare

TS definition adjustments.

Update Build System

25 Apr 18:01
Compare
Choose a tag to compare

Switched to GitHub Actions.
Rebuilt with GitHub Actions.
Updated dependencies.

Fix ESM support

22 Feb 09:40
Compare
Choose a tag to compare

This patch fixes the error, when there is no process.mainModule in ESM mode #12

Update dependencies

29 Aug 20:03
Compare
Choose a tag to compare

Rebuilt with new AT dependency.
Resolved vulnerability issue.
Added major and minor GL version parameters to Window constructor.

Allow Dependency Patches

26 Apr 13:17
Compare
Choose a tag to compare
  • Allow patch releases for dependencies in package.json