Remove unused imports

This commit is contained in:
Mitchell Hashimoto
2025-11-27 13:35:56 -08:00
parent d8aeffe1e9
commit dbfc3eb679
150 changed files with 0 additions and 275 deletions

View File

@@ -2,7 +2,6 @@
pub const OpenGL = @This();
const std = @import("std");
const assert = @import("../quirks.zig").inlineAssert;
const Allocator = std.mem.Allocator;
const builtin = @import("builtin");
const gl = @import("opengl");

View File

@@ -3,7 +3,6 @@
const apprt = @import("../apprt.zig");
const font = @import("../font/main.zig");
const renderer = @import("../renderer.zig");
const Config = @import("../config.zig").Config;
/// The derived configuration for this renderer implementation.
config: renderer.Renderer.DerivedConfig,

View File

@@ -4,7 +4,6 @@ pub const Thread = @This();
const std = @import("std");
const builtin = @import("builtin");
const assert = @import("../quirks.zig").inlineAssert;
const xev = @import("../global.zig").xev;
const crash = @import("../crash/main.zig");
const internal_os = @import("../os/main.zig");

View File

@@ -2,7 +2,6 @@ const std = @import("std");
const assert = std.debug.assert;
const Allocator = std.mem.Allocator;
const oni = @import("oniguruma");
const configpkg = @import("../config.zig");
const inputpkg = @import("../input.zig");
const terminal = @import("../terminal/main.zig");
const point = terminal.point;

View File

@@ -1,5 +1,4 @@
const std = @import("std");
const assert = @import("../quirks.zig").inlineAssert;
const Allocator = std.mem.Allocator;
const ArenaAllocator = std.heap.ArenaAllocator;
const configpkg = @import("../config.zig");

View File

@@ -3,17 +3,13 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const objc = @import("objc");
const mtl = @import("api.zig");
const Renderer = @import("../generic.zig").Renderer(Metal);
const Metal = @import("../Metal.zig");
const Target = @import("Target.zig");
const Pipeline = @import("Pipeline.zig");
const RenderPass = @import("RenderPass.zig");
const Buffer = @import("buffer.zig").Buffer;
const Health = @import("../../renderer.zig").Health;

View File

@@ -4,8 +4,6 @@ const IOSurfaceLayer = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const objc = @import("objc");
const macos = @import("macos");

View File

@@ -3,14 +3,10 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const macos = @import("macos");
const objc = @import("objc");
const mtl = @import("api.zig");
const Texture = @import("Texture.zig");
const Metal = @import("../Metal.zig");
const log = std.log.scoped(.metal);

View File

@@ -3,8 +3,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const objc = @import("objc");
const mtl = @import("api.zig");
@@ -12,8 +10,6 @@ const Pipeline = @import("Pipeline.zig");
const Sampler = @import("Sampler.zig");
const Texture = @import("Texture.zig");
const Target = @import("Target.zig");
const Metal = @import("../Metal.zig");
const Buffer = @import("buffer.zig").Buffer;
const log = std.log.scoped(.metal);

View File

@@ -3,8 +3,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const objc = @import("objc");
const mtl = @import("api.zig");

View File

@@ -5,8 +5,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const objc = @import("objc");
const macos = @import("macos");
const graphics = macos.graphics;

View File

@@ -4,7 +4,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const objc = @import("objc");
const mtl = @import("api.zig");

View File

@@ -1,6 +1,5 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const objc = @import("objc");
const macos = @import("macos");

View File

@@ -1,6 +1,5 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const macos = @import("macos");
const objc = @import("objc");
const math = @import("../../math.zig");

View File

@@ -3,16 +3,12 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const gl = @import("opengl");
const Renderer = @import("../generic.zig").Renderer(OpenGL);
const OpenGL = @import("../OpenGL.zig");
const Target = @import("Target.zig");
const Pipeline = @import("Pipeline.zig");
const RenderPass = @import("RenderPass.zig");
const Buffer = @import("buffer.zig").Buffer;
const Health = @import("../../renderer.zig").Health;

View File

@@ -3,14 +3,8 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const gl = @import("opengl");
const OpenGL = @import("../OpenGL.zig");
const Texture = @import("Texture.zig");
const Buffer = @import("buffer.zig").Buffer;
const log = std.log.scoped(.opengl);
/// Options for initializing a render pipeline.

View File

@@ -3,16 +3,12 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const gl = @import("opengl");
const OpenGL = @import("../OpenGL.zig");
const Sampler = @import("Sampler.zig");
const Target = @import("Target.zig");
const Texture = @import("Texture.zig");
const Pipeline = @import("Pipeline.zig");
const RenderPass = @import("RenderPass.zig");
const Buffer = @import("buffer.zig").Buffer;
/// Options for beginning a render pass.

View File

@@ -3,8 +3,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const gl = @import("opengl");
const OpenGL = @import("../OpenGL.zig");

View File

@@ -5,8 +5,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const gl = @import("opengl");
const log = std.log.scoped(.opengl);

View File

@@ -3,8 +3,6 @@ const Self = @This();
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const builtin = @import("builtin");
const gl = @import("opengl");
const OpenGL = @import("../OpenGL.zig");

View File

@@ -1,6 +1,5 @@
const std = @import("std");
const Allocator = std.mem.Allocator;
const assert = @import("../../quirks.zig").inlineAssert;
const gl = @import("opengl");
const OpenGL = @import("../OpenGL.zig");

View File

@@ -1,4 +1,3 @@
const std = @import("std");
const terminal = @import("../terminal/main.zig");
// TODO: Test neverExtendBg function

View File

@@ -1,6 +1,5 @@
const std = @import("std");
const builtin = @import("builtin");
const assert = @import("../quirks.zig").inlineAssert;
const Allocator = std.mem.Allocator;
const ArenaAllocator = std.heap.ArenaAllocator;
const glslang = @import("glslang");