blob: 61b5659292286347af9fe3f6c7d46ab83ea07b4c [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// !!! THIS FILE IS NOT YET USED !!!
// See //zircon/system/public/zircon/syscalls.banjo.
// !!! THIS FILE IS NOT YET USED !!!
library zz;
[Transport="Syscall"]
protocol Framebuffer {
[In0="handle<resource>:kind=ROOT"]
GetInfo(handle<resource> resource) ->
(status status, uint32 format, uint32 width, uint32 height, uint32 stride);
// TODO(ZX-2967): vmo ZX_OBJ_TYPE_VMO; No rights required?
[In0="handle<resource>:kind=ROOT"]
SetRange(handle<resource> resource,
handle<vmo> vmo,
uint32 len,
uint32 format,
uint32 width,
uint32 height,
uint32 stride) ->
(status status);
};