new identity
This commit is contained in:
+1
-4
@@ -54,11 +54,8 @@ pub const SwapchainKHR = @import("wsi/SwapchainKHR.zig");
|
||||
|
||||
pub const VULKAN_VENDOR_ID = @typeInfo(vk.VendorId).@"enum".fields[@typeInfo(vk.VendorId).@"enum".fields.len - 1].value + 1;
|
||||
|
||||
pub const DRIVER_DEBUG_ALLOCATOR_ENV_NAME = "STROLL_DEBUG_ALLOCATOR";
|
||||
pub const DRIVER_LOGS_ENV_NAME = "STROLL_LOGS_LEVEL";
|
||||
|
||||
/// Default driver name
|
||||
pub const DRIVER_NAME = "Unnamed Stroll Driver";
|
||||
pub const DRIVER_NAME = "Unnamed Ape Driver";
|
||||
/// Default Vulkan version
|
||||
pub const VULKAN_VERSION = vk.makeApiVersion(0, 1, 0, 0);
|
||||
|
||||
|
||||
+162
-162
File diff suppressed because it is too large
Load Diff
@@ -87,7 +87,7 @@ pub fn log(comptime level: std.log.Level, comptime scope: @EnumLiteral(), compti
|
||||
};
|
||||
|
||||
term.setColor(.magenta) catch {};
|
||||
writer.writeAll("[StrollDriver") catch continue;
|
||||
writer.writeAll("[ApeDriver") catch continue;
|
||||
if (!builtin.is_test) {
|
||||
term.setColor(.cyan) catch {};
|
||||
writer.writeAll(" " ++ root.DRIVER_NAME ++ " ") catch continue;
|
||||
|
||||
@@ -156,7 +156,7 @@ pub fn presentImage(interface: *Interface, allocator: std.mem.Allocator, image:
|
||||
}
|
||||
|
||||
fn createShmFile(size: usize) VkError!std.posix.fd_t {
|
||||
const name = "stroll_vk_wayland_surface";
|
||||
const name = "ape_vk_wayland_surface";
|
||||
|
||||
const fd = std.posix.memfd_create(name, std.posix.FD_CLOEXEC) catch return VkError.Unknown;
|
||||
errdefer std.c.close(fd);
|
||||
|
||||
Reference in New Issue
Block a user