gpu: remove docs TODOs (everything needs docs)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 17:45:51 -07:00 committed by Stephen Gutekanst
parent 8cb1c9ba4f
commit e9c6dcde21
5 changed files with 0 additions and 16 deletions

View file

@ -29,7 +29,6 @@ pub inline fn release(interface: Interface) void {
interface.vtable.release(interface.ptr);
}
// TODO: docs
pub const RequestAdapterOptions = struct {
// TODO:
//power_preference: PowerPreference,
@ -45,7 +44,6 @@ pub const RequestAdapterErrorCode = error{
Unknown,
};
// TODO: docs
pub const RequestAdapterError = struct {
message: []const u8,
code: RequestAdapterErrorCode,
@ -57,12 +55,10 @@ pub const RequestAdapterResponseTag = enum {
};
pub const RequestAdapterResponse = union(RequestAdapterResponseTag) {
// TODO: docs
adapter: Adapter,
err: RequestAdapterError,
};
// TODO: docs
pub fn requestAdapter(interface: Interface, options: *const RequestAdapterOptions) callconv(.Async) RequestAdapterResponse {
var frame_buffer = std.heap.page_allocator.allocAdvanced(
u8,