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 classvoid (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)static classvoid (*commit)(struct wl_client *, struct wl_resource *)static classvoid (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static classvoid (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static classvoid (*destroy)(struct wl_client *, struct wl_resource *)static classvoid (*frame)(struct wl_client *, struct wl_resource *, uint32_t)static classvoid (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static classvoid (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)static classvoid (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)static classvoid (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static classvoid (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *) -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentattach(MemorySegment struct) Getter for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)static voidattach(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)static final AddressLayoutLayout for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)static final longOffset for field:void (*attach)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t)static MemorySegmentcommit(MemorySegment struct) Getter for field:void (*commit)(struct wl_client *, struct wl_resource *)static voidcommit(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*commit)(struct wl_client *, struct wl_resource *)static final AddressLayoutLayout for field:void (*commit)(struct wl_client *, struct wl_resource *)static final longOffset for field:void (*commit)(struct wl_client *, struct wl_resource *)static MemorySegmentdamage(MemorySegment struct) Getter for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static voiddamage(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static MemorySegmentdamage_buffer(MemorySegment struct) Getter for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static voiddamage_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 AddressLayoutLayout for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static final longOffset for field:void (*damage_buffer)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static final AddressLayoutLayout for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static final longOffset for field:void (*damage)(struct wl_client *, struct wl_resource *, int32_t, int32_t, int32_t, int32_t)static MemorySegmentdestroy(MemorySegment struct) Getter for field:void (*destroy)(struct wl_client *, struct wl_resource *)static voiddestroy(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*destroy)(struct wl_client *, struct wl_resource *)static final AddressLayoutLayout for field:void (*destroy)(struct wl_client *, struct wl_resource *)static final longOffset for field:void (*destroy)(struct wl_client *, struct wl_resource *)static MemorySegmentframe(MemorySegment struct) Getter for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)static voidframe(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)static final AddressLayoutLayout for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)static final longOffset for field:void (*frame)(struct wl_client *, struct wl_resource *, uint32_t)static final GroupLayoutlayout()The layout of this structstatic MemorySegmentoffset(MemorySegment struct) Getter for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static voidoffset(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static final AddressLayoutLayout for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static final longOffset for field:void (*offset)(struct wl_client *, struct wl_resource *, int32_t, int32_t)static MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentset_buffer_scale(MemorySegment struct) Getter for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)static voidset_buffer_scale(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)static final AddressLayoutLayout for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)static final longOffset for field:void (*set_buffer_scale)(struct wl_client *, struct wl_resource *, int32_t)static MemorySegmentset_buffer_transform(MemorySegment struct) Getter for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)static voidset_buffer_transform(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)static final AddressLayoutLayout for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)static final longOffset for field:void (*set_buffer_transform)(struct wl_client *, struct wl_resource *, int32_t)static MemorySegmentset_input_region(MemorySegment struct) Getter for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static voidset_input_region(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final AddressLayoutLayout for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final longOffset for field:void (*set_input_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static MemorySegmentset_opaque_region(MemorySegment struct) Getter for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static voidset_opaque_region(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final AddressLayoutLayout for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static final longOffset for field:void (*set_opaque_region)(struct wl_client *, struct wl_resource *, struct wl_resource *)static longsizeof()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 ofarrayParamwhich 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 sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-