mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
Remove unused imports
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
const std = @import("std");
|
||||
const terminal = @import("../terminal/main.zig");
|
||||
|
||||
// TODO: Test neverExtendBg function
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user