Package org.freedesktop.wayland.raw
Class wl_surface_interface
java.lang.Object
org.freedesktop.wayland.raw.wl_surface_interface
struct wl_surface_interface {
void (*destroy)(struct wl_client *, struct wl_resource *);
void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t);
void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t);
void (*frame)(struct wl_client *, struct wl_resource *, uint32_t);
void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *);
void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *);
void (*commit)(struct wl_client *, struct wl_resource *);
void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t);
void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t);
void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t);
void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
static class
void (*commit)(struct wl_client *, struct wl_resource *)
static class
void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static class
void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static class
void (*destroy)(struct wl_client *, struct wl_resource *)
static class
void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
static class
void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static class
void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
static class
void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
static class
void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static class
void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static MemorySegment
attach
(MemorySegment struct) Getter for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
static void
attach
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
static final AddressLayout
Layout for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
static final long
Offset for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
static MemorySegment
commit
(MemorySegment struct) Getter for field:void (*commit)(struct wl_client *, struct wl_resource *)
static void
commit
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*commit)(struct wl_client *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*commit)(struct wl_client *, struct wl_resource *)
static final long
Offset for field:void (*commit)(struct wl_client *, struct wl_resource *)
static MemorySegment
damage
(MemorySegment struct) Getter for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static void
damage
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static MemorySegment
damage_buffer
(MemorySegment struct) Getter for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static void
damage_buffer
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static final AddressLayout
Layout for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static final long
Offset for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static final AddressLayout
Layout for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static final long
Offset for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
static MemorySegment
destroy
(MemorySegment struct) Getter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static void
destroy
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static final long
Offset for field:void (*destroy)(struct wl_client *, struct wl_resource *)
static MemorySegment
frame
(MemorySegment struct) Getter for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
static void
frame
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
static final AddressLayout
Layout for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
static final long
Offset for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
static final GroupLayout
layout()
The layout of this structstatic MemorySegment
offset
(MemorySegment struct) Getter for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static void
offset
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static final AddressLayout
Layout for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static final long
Offset for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
static MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
set_buffer_scale
(MemorySegment struct) Getter for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
static void
set_buffer_scale
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
static final AddressLayout
Layout for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
static final long
Offset for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
static MemorySegment
set_buffer_transform
(MemorySegment struct) Getter for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
static void
set_buffer_transform
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
static final AddressLayout
Layout for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
static final long
Offset for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
static MemorySegment
set_input_region
(MemorySegment struct) Getter for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static void
set_input_region
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final long
Offset for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static MemorySegment
set_opaque_region
(MemorySegment struct) Getter for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static void
set_opaque_region
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final long
Offset for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static long
sizeof()
The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
destroy$layout
Layout for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
destroy$offset
public static final long destroy$offset()Offset for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
destroy
Getter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
destroy
Setter for field:void (*destroy)(struct wl_client *, struct wl_resource *)
-
attach$layout
Layout for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
-
attach$offset
public static final long attach$offset()Offset for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
-
attach
Getter for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
-
attach
Setter for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)
-
damage$layout
Layout for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
damage$offset
public static final long damage$offset()Offset for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
damage
Getter for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
damage
Setter for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
frame$layout
Layout for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
-
frame$offset
public static final long frame$offset()Offset for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
-
frame
Getter for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
-
frame
Setter for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)
-
set_opaque_region$layout
Layout for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_opaque_region$offset
public static final long set_opaque_region$offset()Offset for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_opaque_region
Getter for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_opaque_region
Setter for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_input_region$layout
Layout for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_input_region$offset
public static final long set_input_region$offset()Offset for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_input_region
Getter for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_input_region
Setter for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
commit$layout
Layout for field:void (*commit)(struct wl_client *, struct wl_resource *)
-
commit$offset
public static final long commit$offset()Offset for field:void (*commit)(struct wl_client *, struct wl_resource *)
-
commit
Getter for field:void (*commit)(struct wl_client *, struct wl_resource *)
-
commit
Setter for field:void (*commit)(struct wl_client *, struct wl_resource *)
-
set_buffer_transform$layout
Layout for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_transform$offset
public static final long set_buffer_transform$offset()Offset for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_transform
Getter for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_transform
Setter for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_scale$layout
Layout for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_scale$offset
public static final long set_buffer_scale$offset()Offset for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_scale
Getter for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
-
set_buffer_scale
Setter for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)
-
damage_buffer$layout
Layout for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
damage_buffer$offset
public static final long damage_buffer$offset()Offset for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
damage_buffer
Getter for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
damage_buffer
Setter for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)
-
offset$layout
Layout for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
offset$offset
public static final long offset$offset()Offset for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
offset
Getter for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
offset
Setter for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)
-
asSlice
Obtains a slice ofarrayParam
which selects the array element atindex
. The returned segment has addressarrayParam.address() + index * layout().byteSize()
-
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()
usingallocator
-
allocateArray
Allocate an array of sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-