glfw: update TODOs

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-16 18:28:28 -07:00 committed by Stephen Gutekanst
parent 5a5078b885
commit 3182eaa4f7
2 changed files with 4 additions and 3 deletions

View file

@ -1421,7 +1421,7 @@ test "setTitle" {
try window.setTitle("Updated title!"); try window.setTitle("Updated title!");
} }
// TODO(slimsag): test appears to fail on at least Linux, image size is potentially wrong. // TODO(window): test appears to fail on at least Linux, image size is potentially wrong.
// test "setIcon" { // test "setIcon" {
// const allocator = testing.allocator; // const allocator = testing.allocator;
// const glfw = @import("main.zig"); // const glfw = @import("main.zig");

View file

@ -4,8 +4,6 @@ const c = @import("c.zig").c;
const Error = @import("errors.zig").Error; const Error = @import("errors.zig").Error;
const getError = @import("errors.zig").getError; const getError = @import("errors.zig").getError;
// TODO(vulkan):
/// Returns whether the Vulkan loader and an ICD have been found. /// Returns whether the Vulkan loader and an ICD have been found.
/// ///
/// This function returns whether the Vulkan loader and any minimally functional ICD have been /// This function returns whether the Vulkan loader and any minimally functional ICD have been
@ -29,6 +27,7 @@ pub inline fn vulkanSupported() Error!bool {
return supported == c.GLFW_TRUE; return supported == c.GLFW_TRUE;
} }
// TODO(vulkan):
// /// Returns the Vulkan instance extensions required by GLFW. // /// Returns the Vulkan instance extensions required by GLFW.
// /// // ///
// /// This function returns an array of names of Vulkan instance extensions required by GLFW for // /// This function returns an array of names of Vulkan instance extensions required by GLFW for
@ -108,6 +107,7 @@ pub inline fn getInstanceProcAddress(vk_instance: ?*opaque {}, proc_name: [*c]co
return null; return null;
} }
// TODO(vulkan):
// /// Returns whether the specified queue family can present images. // /// Returns whether the specified queue family can present images.
// /// // ///
// /// This function returns whether the specified queue family of the specified physical device // /// This function returns whether the specified queue family of the specified physical device
@ -136,6 +136,7 @@ pub inline fn getInstanceProcAddress(vk_instance: ?*opaque {}, proc_name: [*c]co
// /// see also: vulkan_present // /// see also: vulkan_present
// GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily); // GLFWAPI int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily);
// TODO(vulkan):
// /// Creates a Vulkan surface for the specified window. // /// Creates a Vulkan surface for the specified window.
// /// // ///
// /// This function creates a Vulkan surface for the specified window. // /// This function creates a Vulkan surface for the specified window.