Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/cairo" | |
| 10 | 11 | "github.com/bnema/puregotk/v4/glib" | |
| @@ -91,7 +92,6 @@ type DmabufTextureBuilder struct { | |||
| 91 | 92 | var xDmabufTextureBuilderGLibType func() types.GType | |
| 92 | 93 | ||
| 93 | 94 | func DmabufTextureBuilderGLibType() types.GType { | |
| 94 | - | core.LazyRegister(&xDmabufTextureBuilderGLibType, "GDK", "gdk_dmabuf_texture_builder_get_type", false) | |
| 95 | 95 | return xDmabufTextureBuilderGLibType() | |
| 96 | 96 | } | |
| 97 | 97 | ||
| @@ -105,7 +105,6 @@ var xNewDmabufTextureBuilder func() uintptr | |||
| 105 | 105 | ||
| 106 | 106 | // Creates a new texture builder. | |
| 107 | 107 | func NewDmabufTextureBuilder() *DmabufTextureBuilder { | |
| 108 | - | core.LazyRegister(&xNewDmabufTextureBuilder, "GDK", "gdk_dmabuf_texture_builder_new", false) | |
| 109 | 108 | var cls *DmabufTextureBuilder | |
| 110 | 109 | ||
| 111 | 110 | cret := xNewDmabufTextureBuilder() | |
| @@ -137,7 +136,6 @@ var xDmabufTextureBuilderBuild func(uintptr, uintptr, uintptr, **glib.Error) uin | |||
| 137 | 136 | // It is possible to call this function multiple times to create multiple textures, | |
| 138 | 137 | // possibly with changing properties in between. | |
| 139 | 138 | func (x *DmabufTextureBuilder) Build(DestroyVar *glib.DestroyNotify, DataVar uintptr) (*Texture, error) { | |
| 140 | - | core.LazyRegister(&xDmabufTextureBuilderBuild, "GDK", "gdk_dmabuf_texture_builder_build", false) | |
| 141 | 139 | var cls *Texture | |
| 142 | 140 | var cerr *glib.Error | |
| 143 | 141 | ||
| @@ -158,8 +156,6 @@ var xDmabufTextureBuilderGetColorState func(uintptr) uintptr | |||
| 158 | 156 | ||
| 159 | 157 | // Gets the color state previously set via gdk_dmabuf_texture_builder_set_color_state(). | |
| 160 | 158 | func (x *DmabufTextureBuilder) GetColorState() *ColorState { | |
| 161 | - | core.LazyRegister(&xDmabufTextureBuilderGetColorState, "GDK", "gdk_dmabuf_texture_builder_get_color_state", false) | |
| 162 | - | ||
| 163 | 159 | cret := xDmabufTextureBuilderGetColorState(x.GoPointer()) | |
| 164 | 160 | if cret == 0 { | |
| 165 | 161 | return nil | |
| @@ -172,7 +168,6 @@ var xDmabufTextureBuilderGetDisplay func(uintptr) uintptr | |||
| 172 | 168 | // Returns the display that this texture builder is | |
| 173 | 169 | // associated with. | |
| 174 | 170 | func (x *DmabufTextureBuilder) GetDisplay() *Display { | |
| 175 | - | core.LazyRegister(&xDmabufTextureBuilderGetDisplay, "GDK", "gdk_dmabuf_texture_builder_get_display", false) | |
| 176 | 171 | var cls *Display | |
| 177 | 172 | ||
| 178 | 173 | cret := xDmabufTextureBuilderGetDisplay(x.GoPointer()) | |
| @@ -190,8 +185,6 @@ var xDmabufTextureBuilderGetFd func(uintptr, uint) int | |||
| 190 | 185 | ||
| 191 | 186 | // Gets the file descriptor for a plane. | |
| 192 | 187 | func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int { | |
| 193 | - | core.LazyRegister(&xDmabufTextureBuilderGetFd, "GDK", "gdk_dmabuf_texture_builder_get_fd", false) | |
| 194 | - | ||
| 195 | 188 | cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar) | |
| 196 | 189 | return cret | |
| 197 | 190 | } | |
| @@ -203,8 +196,6 @@ var xDmabufTextureBuilderGetFourcc func(uintptr) uint32 | |||
| 203 | 196 | // | |
| 204 | 197 | // The format is specified as a fourcc code. | |
| 205 | 198 | func (x *DmabufTextureBuilder) GetFourcc() uint32 { | |
| 206 | - | core.LazyRegister(&xDmabufTextureBuilderGetFourcc, "GDK", "gdk_dmabuf_texture_builder_get_fourcc", false) | |
| 207 | - | ||
| 208 | 199 | cret := xDmabufTextureBuilderGetFourcc(x.GoPointer()) | |
| 209 | 200 | return cret | |
| 210 | 201 | } | |
| @@ -214,8 +205,6 @@ var xDmabufTextureBuilderGetHeight func(uintptr) uint | |||
| 214 | 205 | // Gets the height previously set via gdk_dmabuf_texture_builder_set_height() or | |
| 215 | 206 | // 0 if the height wasn't set. | |
| 216 | 207 | func (x *DmabufTextureBuilder) GetHeight() uint { | |
| 217 | - | core.LazyRegister(&xDmabufTextureBuilderGetHeight, "GDK", "gdk_dmabuf_texture_builder_get_height", false) | |
| 218 | - | ||
| 219 | 208 | cret := xDmabufTextureBuilderGetHeight(x.GoPointer()) | |
| 220 | 209 | return cret | |
| 221 | 210 | } | |
| @@ -224,8 +213,6 @@ var xDmabufTextureBuilderGetModifier func(uintptr) uint64 | |||
| 224 | 213 | ||
| 225 | 214 | // Gets the modifier value. | |
| 226 | 215 | func (x *DmabufTextureBuilder) GetModifier() uint64 { | |
| 227 | - | core.LazyRegister(&xDmabufTextureBuilderGetModifier, "GDK", "gdk_dmabuf_texture_builder_get_modifier", false) | |
| 228 | - | ||
| 229 | 216 | cret := xDmabufTextureBuilderGetModifier(x.GoPointer()) | |
| 230 | 217 | return cret | |
| 231 | 218 | } | |
| @@ -234,8 +221,6 @@ var xDmabufTextureBuilderGetNPlanes func(uintptr) uint | |||
| 234 | 221 | ||
| 235 | 222 | // Gets the number of planes. | |
| 236 | 223 | func (x *DmabufTextureBuilder) GetNPlanes() uint { | |
| 237 | - | core.LazyRegister(&xDmabufTextureBuilderGetNPlanes, "GDK", "gdk_dmabuf_texture_builder_get_n_planes", false) | |
| 238 | - | ||
| 239 | 224 | cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer()) | |
| 240 | 225 | return cret | |
| 241 | 226 | } | |
| @@ -244,8 +229,6 @@ var xDmabufTextureBuilderGetOffset func(uintptr, uint) uint | |||
| 244 | 229 | ||
| 245 | 230 | // Gets the offset value for a plane. | |
| 246 | 231 | func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint { | |
| 247 | - | core.LazyRegister(&xDmabufTextureBuilderGetOffset, "GDK", "gdk_dmabuf_texture_builder_get_offset", false) | |
| 248 | - | ||
| 249 | 232 | cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar) | |
| 250 | 233 | return cret | |
| 251 | 234 | } | |
| @@ -254,8 +237,6 @@ var xDmabufTextureBuilderGetPremultiplied func(uintptr) bool | |||
| 254 | 237 | ||
| 255 | 238 | // Whether the data is premultiplied. | |
| 256 | 239 | func (x *DmabufTextureBuilder) GetPremultiplied() bool { | |
| 257 | - | core.LazyRegister(&xDmabufTextureBuilderGetPremultiplied, "GDK", "gdk_dmabuf_texture_builder_get_premultiplied", false) | |
| 258 | - | ||
| 259 | 240 | cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer()) | |
| 260 | 241 | return cret | |
| 261 | 242 | } | |
| @@ -264,8 +245,6 @@ var xDmabufTextureBuilderGetStride func(uintptr, uint) uint | |||
| 264 | 245 | ||
| 265 | 246 | // Gets the stride value for a plane. | |
| 266 | 247 | func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint { | |
| 267 | - | core.LazyRegister(&xDmabufTextureBuilderGetStride, "GDK", "gdk_dmabuf_texture_builder_get_stride", false) | |
| 268 | - | ||
| 269 | 248 | cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar) | |
| 270 | 249 | return cret | |
| 271 | 250 | } | |
| @@ -275,8 +254,6 @@ var xDmabufTextureBuilderGetUpdateRegion func(uintptr) uintptr | |||
| 275 | 254 | // Gets the region previously set via gdk_dmabuf_texture_builder_set_update_region() or | |
| 276 | 255 | // %NULL if none was set. | |
| 277 | 256 | func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region { | |
| 278 | - | core.LazyRegister(&xDmabufTextureBuilderGetUpdateRegion, "GDK", "gdk_dmabuf_texture_builder_get_update_region", false) | |
| 279 | - | ||
| 280 | 257 | cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer()) | |
| 281 | 258 | if cret == 0 { | |
| 282 | 259 | return nil | |
| @@ -289,7 +266,6 @@ var xDmabufTextureBuilderGetUpdateTexture func(uintptr) uintptr | |||
| 289 | 266 | // Gets the texture previously set via gdk_dmabuf_texture_builder_set_update_texture() or | |
| 290 | 267 | // %NULL if none was set. | |
| 291 | 268 | func (x *DmabufTextureBuilder) GetUpdateTexture() *Texture { | |
| 292 | - | core.LazyRegister(&xDmabufTextureBuilderGetUpdateTexture, "GDK", "gdk_dmabuf_texture_builder_get_update_texture", false) | |
| 293 | 269 | var cls *Texture | |
| 294 | 270 | ||
| 295 | 271 | cret := xDmabufTextureBuilderGetUpdateTexture(x.GoPointer()) | |
| @@ -308,8 +284,6 @@ var xDmabufTextureBuilderGetWidth func(uintptr) uint | |||
| 308 | 284 | // Gets the width previously set via gdk_dmabuf_texture_builder_set_width() or | |
| 309 | 285 | // 0 if the width wasn't set. | |
| 310 | 286 | func (x *DmabufTextureBuilder) GetWidth() uint { | |
| 311 | - | core.LazyRegister(&xDmabufTextureBuilderGetWidth, "GDK", "gdk_dmabuf_texture_builder_get_width", false) | |
| 312 | - | ||
| 313 | 287 | cret := xDmabufTextureBuilderGetWidth(x.GoPointer()) | |
| 314 | 288 | return cret | |
| 315 | 289 | } | |
| @@ -322,8 +296,6 @@ var xDmabufTextureBuilderSetColorState func(uintptr, *ColorState) | |||
| 322 | 296 | // correct colorstate based on the format. | |
| 323 | 297 | // If you don't know what colorstates are, this is probably the right thing. | |
| 324 | 298 | func (x *DmabufTextureBuilder) SetColorState(ColorStateVar *ColorState) { | |
| 325 | - | core.LazyRegister(&xDmabufTextureBuilderSetColorState, "GDK", "gdk_dmabuf_texture_builder_set_color_state", false) | |
| 326 | - | ||
| 327 | 299 | xDmabufTextureBuilderSetColorState(x.GoPointer(), ColorStateVar) | |
| 328 | 300 | } | |
| 329 | 301 | ||
| @@ -335,8 +307,6 @@ var xDmabufTextureBuilderSetDisplay func(uintptr, uintptr) | |||
| 335 | 307 | // The display is used to determine the supported | |
| 336 | 308 | // dma-buf formats. | |
| 337 | 309 | func (x *DmabufTextureBuilder) SetDisplay(DisplayVar *Display) { | |
| 338 | - | core.LazyRegister(&xDmabufTextureBuilderSetDisplay, "GDK", "gdk_dmabuf_texture_builder_set_display", false) | |
| 339 | - | ||
| 340 | 310 | xDmabufTextureBuilderSetDisplay(x.GoPointer(), DisplayVar.GoPointer()) | |
| 341 | 311 | } | |
| 342 | 312 | ||
| @@ -344,8 +314,6 @@ var xDmabufTextureBuilderSetFd func(uintptr, uint, int) | |||
| 344 | 314 | ||
| 345 | 315 | // Sets the file descriptor for a plane. | |
| 346 | 316 | func (x *DmabufTextureBuilder) SetFd(PlaneVar uint, FdVar int) { | |
| 347 | - | core.LazyRegister(&xDmabufTextureBuilderSetFd, "GDK", "gdk_dmabuf_texture_builder_set_fd", false) | |
| 348 | - | ||
| 349 | 317 | xDmabufTextureBuilderSetFd(x.GoPointer(), PlaneVar, FdVar) | |
| 350 | 318 | } | |
| 351 | 319 | ||
| @@ -357,8 +325,6 @@ var xDmabufTextureBuilderSetFourcc func(uintptr, uint32) | |||
| 357 | 325 | // | |
| 358 | 326 | // The format must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | |
| 359 | 327 | func (x *DmabufTextureBuilder) SetFourcc(FourccVar uint32) { | |
| 360 | - | core.LazyRegister(&xDmabufTextureBuilderSetFourcc, "GDK", "gdk_dmabuf_texture_builder_set_fourcc", false) | |
| 361 | - | ||
| 362 | 328 | xDmabufTextureBuilderSetFourcc(x.GoPointer(), FourccVar) | |
| 363 | 329 | } | |
| 364 | 330 | ||
| @@ -368,8 +334,6 @@ var xDmabufTextureBuilderSetHeight func(uintptr, uint) | |||
| 368 | 334 | // | |
| 369 | 335 | // The height must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | |
| 370 | 336 | func (x *DmabufTextureBuilder) SetHeight(HeightVar uint) { | |
| 371 | - | core.LazyRegister(&xDmabufTextureBuilderSetHeight, "GDK", "gdk_dmabuf_texture_builder_set_height", false) | |
| 372 | - | ||
| 373 | 337 | xDmabufTextureBuilderSetHeight(x.GoPointer(), HeightVar) | |
| 374 | 338 | } | |
| 375 | 339 | ||
| @@ -377,8 +341,6 @@ var xDmabufTextureBuilderSetModifier func(uintptr, uint64) | |||
| 377 | 341 | ||
| 378 | 342 | // Sets the modifier. | |
| 379 | 343 | func (x *DmabufTextureBuilder) SetModifier(ModifierVar uint64) { | |
| 380 | - | core.LazyRegister(&xDmabufTextureBuilderSetModifier, "GDK", "gdk_dmabuf_texture_builder_set_modifier", false) | |
| 381 | - | ||
| 382 | 344 | xDmabufTextureBuilderSetModifier(x.GoPointer(), ModifierVar) | |
| 383 | 345 | } | |
| 384 | 346 | ||
| @@ -386,8 +348,6 @@ var xDmabufTextureBuilderSetNPlanes func(uintptr, uint) | |||
| 386 | 348 | ||
| 387 | 349 | // Sets the number of planes of the texture. | |
| 388 | 350 | func (x *DmabufTextureBuilder) SetNPlanes(NPlanesVar uint) { | |
| 389 | - | core.LazyRegister(&xDmabufTextureBuilderSetNPlanes, "GDK", "gdk_dmabuf_texture_builder_set_n_planes", false) | |
| 390 | - | ||
| 391 | 351 | xDmabufTextureBuilderSetNPlanes(x.GoPointer(), NPlanesVar) | |
| 392 | 352 | } | |
| 393 | 353 | ||
| @@ -395,8 +355,6 @@ var xDmabufTextureBuilderSetOffset func(uintptr, uint, uint) | |||
| 395 | 355 | ||
| 396 | 356 | // Sets the offset for a plane. | |
| 397 | 357 | func (x *DmabufTextureBuilder) SetOffset(PlaneVar uint, OffsetVar uint) { | |
| 398 | - | core.LazyRegister(&xDmabufTextureBuilderSetOffset, "GDK", "gdk_dmabuf_texture_builder_set_offset", false) | |
| 399 | - | ||
| 400 | 358 | xDmabufTextureBuilderSetOffset(x.GoPointer(), PlaneVar, OffsetVar) | |
| 401 | 359 | } | |
| 402 | 360 | ||
| @@ -407,8 +365,6 @@ var xDmabufTextureBuilderSetPremultiplied func(uintptr, bool) | |||
| 407 | 365 | // Unless otherwise specified, all formats including alpha channels are assumed | |
| 408 | 366 | // to be premultiplied. | |
| 409 | 367 | func (x *DmabufTextureBuilder) SetPremultiplied(PremultipliedVar bool) { | |
| 410 | - | core.LazyRegister(&xDmabufTextureBuilderSetPremultiplied, "GDK", "gdk_dmabuf_texture_builder_set_premultiplied", false) | |
| 411 | - | ||
| 412 | 368 | xDmabufTextureBuilderSetPremultiplied(x.GoPointer(), PremultipliedVar) | |
| 413 | 369 | } | |
| 414 | 370 | ||
| @@ -418,8 +374,6 @@ var xDmabufTextureBuilderSetStride func(uintptr, uint, uint) | |||
| 418 | 374 | // | |
| 419 | 375 | // The stride must be set for all planes before calling [method@Gdk.DmabufTextureBuilder.build]. | |
| 420 | 376 | func (x *DmabufTextureBuilder) SetStride(PlaneVar uint, StrideVar uint) { | |
| 421 | - | core.LazyRegister(&xDmabufTextureBuilderSetStride, "GDK", "gdk_dmabuf_texture_builder_set_stride", false) | |
| 422 | - | ||
| 423 | 377 | xDmabufTextureBuilderSetStride(x.GoPointer(), PlaneVar, StrideVar) | |
| 424 | 378 | } | |
| 425 | 379 | ||
| @@ -436,8 +390,6 @@ var xDmabufTextureBuilderSetUpdateRegion func(uintptr, *cairo.Region) | |||
| 436 | 390 | // | |
| 437 | 391 | // An example would be a screen recording where only the mouse pointer moves. | |
| 438 | 392 | func (x *DmabufTextureBuilder) SetUpdateRegion(RegionVar *cairo.Region) { | |
| 439 | - | core.LazyRegister(&xDmabufTextureBuilderSetUpdateRegion, "GDK", "gdk_dmabuf_texture_builder_set_update_region", false) | |
| 440 | - | ||
| 441 | 393 | xDmabufTextureBuilderSetUpdateRegion(x.GoPointer(), RegionVar) | |
| 442 | 394 | } | |
| 443 | 395 | ||
| @@ -446,8 +398,6 @@ var xDmabufTextureBuilderSetUpdateTexture func(uintptr, uintptr) | |||
| 446 | 398 | // Sets the texture to be updated by this texture. See | |
| 447 | 399 | // [method@Gdk.DmabufTextureBuilder.set_update_region] for an explanation. | |
| 448 | 400 | func (x *DmabufTextureBuilder) SetUpdateTexture(TextureVar *Texture) { | |
| 449 | - | core.LazyRegister(&xDmabufTextureBuilderSetUpdateTexture, "GDK", "gdk_dmabuf_texture_builder_set_update_texture", false) | |
| 450 | - | ||
| 451 | 401 | xDmabufTextureBuilderSetUpdateTexture(x.GoPointer(), TextureVar.GoPointer()) | |
| 452 | 402 | } | |
| 453 | 403 | ||
| @@ -457,8 +407,6 @@ var xDmabufTextureBuilderSetWidth func(uintptr, uint) | |||
| 457 | 407 | // | |
| 458 | 408 | // The width must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | |
| 459 | 409 | func (x *DmabufTextureBuilder) SetWidth(WidthVar uint) { | |
| 460 | - | core.LazyRegister(&xDmabufTextureBuilderSetWidth, "GDK", "gdk_dmabuf_texture_builder_set_width", false) | |
| 461 | - | ||
| 462 | 410 | xDmabufTextureBuilderSetWidth(x.GoPointer(), WidthVar) | |
| 463 | 411 | } | |
| 464 | 412 | ||
| @@ -622,4 +570,44 @@ func (x *DmabufTextureBuilder) GetPropertyWidth() uint { | |||
| 622 | 570 | func init() { | |
| 623 | 571 | core.SetPackageName("GDK", "gtk4") | |
| 624 | 572 | core.SetSharedLibraries("GDK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | |
| 573 | + | var libs []uintptr | |
| 574 | + | for _, libPath := range core.GetPaths("GDK") { | |
| 575 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 576 | + | if err != nil { | |
| 577 | + | panic(err) | |
| 578 | + | } | |
| 579 | + | libs = append(libs, lib) | |
| 580 | + | } | |
| 581 | + | ||
| 582 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGLibType, libs, "gdk_dmabuf_texture_builder_get_type") | |
| 583 | + | ||
| 584 | + | core.PuregoSafeRegister(&xNewDmabufTextureBuilder, libs, "gdk_dmabuf_texture_builder_new") | |
| 585 | + | ||
| 586 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderBuild, libs, "gdk_dmabuf_texture_builder_build") | |
| 587 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetColorState, libs, "gdk_dmabuf_texture_builder_get_color_state") | |
| 588 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetDisplay, libs, "gdk_dmabuf_texture_builder_get_display") | |
| 589 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetFd, libs, "gdk_dmabuf_texture_builder_get_fd") | |
| 590 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetFourcc, libs, "gdk_dmabuf_texture_builder_get_fourcc") | |
| 591 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetHeight, libs, "gdk_dmabuf_texture_builder_get_height") | |
| 592 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetModifier, libs, "gdk_dmabuf_texture_builder_get_modifier") | |
| 593 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetNPlanes, libs, "gdk_dmabuf_texture_builder_get_n_planes") | |
| 594 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetOffset, libs, "gdk_dmabuf_texture_builder_get_offset") | |
| 595 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetPremultiplied, libs, "gdk_dmabuf_texture_builder_get_premultiplied") | |
| 596 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetStride, libs, "gdk_dmabuf_texture_builder_get_stride") | |
| 597 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetUpdateRegion, libs, "gdk_dmabuf_texture_builder_get_update_region") | |
| 598 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetUpdateTexture, libs, "gdk_dmabuf_texture_builder_get_update_texture") | |
| 599 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetWidth, libs, "gdk_dmabuf_texture_builder_get_width") | |
| 600 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetColorState, libs, "gdk_dmabuf_texture_builder_set_color_state") | |
| 601 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetDisplay, libs, "gdk_dmabuf_texture_builder_set_display") | |
| 602 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetFd, libs, "gdk_dmabuf_texture_builder_set_fd") | |
| 603 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetFourcc, libs, "gdk_dmabuf_texture_builder_set_fourcc") | |
| 604 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetHeight, libs, "gdk_dmabuf_texture_builder_set_height") | |
| 605 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetModifier, libs, "gdk_dmabuf_texture_builder_set_modifier") | |
| 606 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetNPlanes, libs, "gdk_dmabuf_texture_builder_set_n_planes") | |
| 607 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetOffset, libs, "gdk_dmabuf_texture_builder_set_offset") | |
| 608 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetPremultiplied, libs, "gdk_dmabuf_texture_builder_set_premultiplied") | |
| 609 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetStride, libs, "gdk_dmabuf_texture_builder_set_stride") | |
| 610 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetUpdateRegion, libs, "gdk_dmabuf_texture_builder_set_update_region") | |
| 611 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetUpdateTexture, libs, "gdk_dmabuf_texture_builder_set_update_texture") | |
| 612 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetWidth, libs, "gdk_dmabuf_texture_builder_set_width") | |
| 625 | 613 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/cairo" | 10 | "github.com/bnema/puregotk/v4/cairo" | ||
| 10 | "github.com/bnema/puregotk/v4/glib" | 11 | "github.com/bnema/puregotk/v4/glib" | ||
| @@ -91,7 +92,6 @@ type DmabufTextureBuilder struct { | |||||
| 91 | var xDmabufTextureBuilderGLibType func() types.GType | 92 | var xDmabufTextureBuilderGLibType func() types.GType | ||
| 92 | 93 | ||||
| 93 | func DmabufTextureBuilderGLibType() types.GType { | 94 | func DmabufTextureBuilderGLibType() types.GType { | ||
| 94 | - | core.LazyRegister(&xDmabufTextureBuilderGLibType, "GDK", "gdk_dmabuf_texture_builder_get_type", false) | |||
| 95 | return xDmabufTextureBuilderGLibType() | 95 | return xDmabufTextureBuilderGLibType() | ||
| 96 | } | 96 | } | ||
| 97 | 97 | ||||
| @@ -105,7 +105,6 @@ var xNewDmabufTextureBuilder func() uintptr | |||||
| 105 | 105 | ||||
| 106 | // Creates a new texture builder. | 106 | // Creates a new texture builder. | ||
| 107 | func NewDmabufTextureBuilder() *DmabufTextureBuilder { | 107 | func NewDmabufTextureBuilder() *DmabufTextureBuilder { | ||
| 108 | - | core.LazyRegister(&xNewDmabufTextureBuilder, "GDK", "gdk_dmabuf_texture_builder_new", false) | |||
| 109 | var cls *DmabufTextureBuilder | 108 | var cls *DmabufTextureBuilder | ||
| 110 | 109 | ||||
| 111 | cret := xNewDmabufTextureBuilder() | 110 | cret := xNewDmabufTextureBuilder() | ||
| @@ -137,7 +136,6 @@ var xDmabufTextureBuilderBuild func(uintptr, uintptr, uintptr, **glib.Error) uin | |||||
| 137 | // It is possible to call this function multiple times to create multiple textures, | 136 | // It is possible to call this function multiple times to create multiple textures, | ||
| 138 | // possibly with changing properties in between. | 137 | // possibly with changing properties in between. | ||
| 139 | func (x *DmabufTextureBuilder) Build(DestroyVar *glib.DestroyNotify, DataVar uintptr) (*Texture, error) { | 138 | func (x *DmabufTextureBuilder) Build(DestroyVar *glib.DestroyNotify, DataVar uintptr) (*Texture, error) { | ||
| 140 | - | core.LazyRegister(&xDmabufTextureBuilderBuild, "GDK", "gdk_dmabuf_texture_builder_build", false) | |||
| 141 | var cls *Texture | 139 | var cls *Texture | ||
| 142 | var cerr *glib.Error | 140 | var cerr *glib.Error | ||
| 143 | 141 | ||||
| @@ -158,8 +156,6 @@ var xDmabufTextureBuilderGetColorState func(uintptr) uintptr | |||||
| 158 | 156 | ||||
| 159 | // Gets the color state previously set via gdk_dmabuf_texture_builder_set_color_state(). | 157 | // Gets the color state previously set via gdk_dmabuf_texture_builder_set_color_state(). | ||
| 160 | func (x *DmabufTextureBuilder) GetColorState() *ColorState { | 158 | func (x *DmabufTextureBuilder) GetColorState() *ColorState { | ||
| 161 | - | core.LazyRegister(&xDmabufTextureBuilderGetColorState, "GDK", "gdk_dmabuf_texture_builder_get_color_state", false) | |||
| 162 | - | ||||
| 163 | cret := xDmabufTextureBuilderGetColorState(x.GoPointer()) | 159 | cret := xDmabufTextureBuilderGetColorState(x.GoPointer()) | ||
| 164 | if cret == 0 { | 160 | if cret == 0 { | ||
| 165 | return nil | 161 | return nil | ||
| @@ -172,7 +168,6 @@ var xDmabufTextureBuilderGetDisplay func(uintptr) uintptr | |||||
| 172 | // Returns the display that this texture builder is | 168 | // Returns the display that this texture builder is | ||
| 173 | // associated with. | 169 | // associated with. | ||
| 174 | func (x *DmabufTextureBuilder) GetDisplay() *Display { | 170 | func (x *DmabufTextureBuilder) GetDisplay() *Display { | ||
| 175 | - | core.LazyRegister(&xDmabufTextureBuilderGetDisplay, "GDK", "gdk_dmabuf_texture_builder_get_display", false) | |||
| 176 | var cls *Display | 171 | var cls *Display | ||
| 177 | 172 | ||||
| 178 | cret := xDmabufTextureBuilderGetDisplay(x.GoPointer()) | 173 | cret := xDmabufTextureBuilderGetDisplay(x.GoPointer()) | ||
| @@ -190,8 +185,6 @@ var xDmabufTextureBuilderGetFd func(uintptr, uint) int | |||||
| 190 | 185 | ||||
| 191 | // Gets the file descriptor for a plane. | 186 | // Gets the file descriptor for a plane. | ||
| 192 | func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int { | 187 | func (x *DmabufTextureBuilder) GetFd(PlaneVar uint) int { | ||
| 193 | - | core.LazyRegister(&xDmabufTextureBuilderGetFd, "GDK", "gdk_dmabuf_texture_builder_get_fd", false) | |||
| 194 | - | ||||
| 195 | cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar) | 188 | cret := xDmabufTextureBuilderGetFd(x.GoPointer(), PlaneVar) | ||
| 196 | return cret | 189 | return cret | ||
| 197 | } | 190 | } | ||
| @@ -203,8 +196,6 @@ var xDmabufTextureBuilderGetFourcc func(uintptr) uint32 | |||||
| 203 | // | 196 | // | ||
| 204 | // The format is specified as a fourcc code. | 197 | // The format is specified as a fourcc code. | ||
| 205 | func (x *DmabufTextureBuilder) GetFourcc() uint32 { | 198 | func (x *DmabufTextureBuilder) GetFourcc() uint32 { | ||
| 206 | - | core.LazyRegister(&xDmabufTextureBuilderGetFourcc, "GDK", "gdk_dmabuf_texture_builder_get_fourcc", false) | |||
| 207 | - | ||||
| 208 | cret := xDmabufTextureBuilderGetFourcc(x.GoPointer()) | 199 | cret := xDmabufTextureBuilderGetFourcc(x.GoPointer()) | ||
| 209 | return cret | 200 | return cret | ||
| 210 | } | 201 | } | ||
| @@ -214,8 +205,6 @@ var xDmabufTextureBuilderGetHeight func(uintptr) uint | |||||
| 214 | // Gets the height previously set via gdk_dmabuf_texture_builder_set_height() or | 205 | // Gets the height previously set via gdk_dmabuf_texture_builder_set_height() or | ||
| 215 | // 0 if the height wasn't set. | 206 | // 0 if the height wasn't set. | ||
| 216 | func (x *DmabufTextureBuilder) GetHeight() uint { | 207 | func (x *DmabufTextureBuilder) GetHeight() uint { | ||
| 217 | - | core.LazyRegister(&xDmabufTextureBuilderGetHeight, "GDK", "gdk_dmabuf_texture_builder_get_height", false) | |||
| 218 | - | ||||
| 219 | cret := xDmabufTextureBuilderGetHeight(x.GoPointer()) | 208 | cret := xDmabufTextureBuilderGetHeight(x.GoPointer()) | ||
| 220 | return cret | 209 | return cret | ||
| 221 | } | 210 | } | ||
| @@ -224,8 +213,6 @@ var xDmabufTextureBuilderGetModifier func(uintptr) uint64 | |||||
| 224 | 213 | ||||
| 225 | // Gets the modifier value. | 214 | // Gets the modifier value. | ||
| 226 | func (x *DmabufTextureBuilder) GetModifier() uint64 { | 215 | func (x *DmabufTextureBuilder) GetModifier() uint64 { | ||
| 227 | - | core.LazyRegister(&xDmabufTextureBuilderGetModifier, "GDK", "gdk_dmabuf_texture_builder_get_modifier", false) | |||
| 228 | - | ||||
| 229 | cret := xDmabufTextureBuilderGetModifier(x.GoPointer()) | 216 | cret := xDmabufTextureBuilderGetModifier(x.GoPointer()) | ||
| 230 | return cret | 217 | return cret | ||
| 231 | } | 218 | } | ||
| @@ -234,8 +221,6 @@ var xDmabufTextureBuilderGetNPlanes func(uintptr) uint | |||||
| 234 | 221 | ||||
| 235 | // Gets the number of planes. | 222 | // Gets the number of planes. | ||
| 236 | func (x *DmabufTextureBuilder) GetNPlanes() uint { | 223 | func (x *DmabufTextureBuilder) GetNPlanes() uint { | ||
| 237 | - | core.LazyRegister(&xDmabufTextureBuilderGetNPlanes, "GDK", "gdk_dmabuf_texture_builder_get_n_planes", false) | |||
| 238 | - | ||||
| 239 | cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer()) | 224 | cret := xDmabufTextureBuilderGetNPlanes(x.GoPointer()) | ||
| 240 | return cret | 225 | return cret | ||
| 241 | } | 226 | } | ||
| @@ -244,8 +229,6 @@ var xDmabufTextureBuilderGetOffset func(uintptr, uint) uint | |||||
| 244 | 229 | ||||
| 245 | // Gets the offset value for a plane. | 230 | // Gets the offset value for a plane. | ||
| 246 | func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint { | 231 | func (x *DmabufTextureBuilder) GetOffset(PlaneVar uint) uint { | ||
| 247 | - | core.LazyRegister(&xDmabufTextureBuilderGetOffset, "GDK", "gdk_dmabuf_texture_builder_get_offset", false) | |||
| 248 | - | ||||
| 249 | cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar) | 232 | cret := xDmabufTextureBuilderGetOffset(x.GoPointer(), PlaneVar) | ||
| 250 | return cret | 233 | return cret | ||
| 251 | } | 234 | } | ||
| @@ -254,8 +237,6 @@ var xDmabufTextureBuilderGetPremultiplied func(uintptr) bool | |||||
| 254 | 237 | ||||
| 255 | // Whether the data is premultiplied. | 238 | // Whether the data is premultiplied. | ||
| 256 | func (x *DmabufTextureBuilder) GetPremultiplied() bool { | 239 | func (x *DmabufTextureBuilder) GetPremultiplied() bool { | ||
| 257 | - | core.LazyRegister(&xDmabufTextureBuilderGetPremultiplied, "GDK", "gdk_dmabuf_texture_builder_get_premultiplied", false) | |||
| 258 | - | ||||
| 259 | cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer()) | 240 | cret := xDmabufTextureBuilderGetPremultiplied(x.GoPointer()) | ||
| 260 | return cret | 241 | return cret | ||
| 261 | } | 242 | } | ||
| @@ -264,8 +245,6 @@ var xDmabufTextureBuilderGetStride func(uintptr, uint) uint | |||||
| 264 | 245 | ||||
| 265 | // Gets the stride value for a plane. | 246 | // Gets the stride value for a plane. | ||
| 266 | func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint { | 247 | func (x *DmabufTextureBuilder) GetStride(PlaneVar uint) uint { | ||
| 267 | - | core.LazyRegister(&xDmabufTextureBuilderGetStride, "GDK", "gdk_dmabuf_texture_builder_get_stride", false) | |||
| 268 | - | ||||
| 269 | cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar) | 248 | cret := xDmabufTextureBuilderGetStride(x.GoPointer(), PlaneVar) | ||
| 270 | return cret | 249 | return cret | ||
| 271 | } | 250 | } | ||
| @@ -275,8 +254,6 @@ var xDmabufTextureBuilderGetUpdateRegion func(uintptr) uintptr | |||||
| 275 | // Gets the region previously set via gdk_dmabuf_texture_builder_set_update_region() or | 254 | // Gets the region previously set via gdk_dmabuf_texture_builder_set_update_region() or | ||
| 276 | // %NULL if none was set. | 255 | // %NULL if none was set. | ||
| 277 | func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region { | 256 | func (x *DmabufTextureBuilder) GetUpdateRegion() *cairo.Region { | ||
| 278 | - | core.LazyRegister(&xDmabufTextureBuilderGetUpdateRegion, "GDK", "gdk_dmabuf_texture_builder_get_update_region", false) | |||
| 279 | - | ||||
| 280 | cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer()) | 257 | cret := xDmabufTextureBuilderGetUpdateRegion(x.GoPointer()) | ||
| 281 | if cret == 0 { | 258 | if cret == 0 { | ||
| 282 | return nil | 259 | return nil | ||
| @@ -289,7 +266,6 @@ var xDmabufTextureBuilderGetUpdateTexture func(uintptr) uintptr | |||||
| 289 | // Gets the texture previously set via gdk_dmabuf_texture_builder_set_update_texture() or | 266 | // Gets the texture previously set via gdk_dmabuf_texture_builder_set_update_texture() or | ||
| 290 | // %NULL if none was set. | 267 | // %NULL if none was set. | ||
| 291 | func (x *DmabufTextureBuilder) GetUpdateTexture() *Texture { | 268 | func (x *DmabufTextureBuilder) GetUpdateTexture() *Texture { | ||
| 292 | - | core.LazyRegister(&xDmabufTextureBuilderGetUpdateTexture, "GDK", "gdk_dmabuf_texture_builder_get_update_texture", false) | |||
| 293 | var cls *Texture | 269 | var cls *Texture | ||
| 294 | 270 | ||||
| 295 | cret := xDmabufTextureBuilderGetUpdateTexture(x.GoPointer()) | 271 | cret := xDmabufTextureBuilderGetUpdateTexture(x.GoPointer()) | ||
| @@ -308,8 +284,6 @@ var xDmabufTextureBuilderGetWidth func(uintptr) uint | |||||
| 308 | // Gets the width previously set via gdk_dmabuf_texture_builder_set_width() or | 284 | // Gets the width previously set via gdk_dmabuf_texture_builder_set_width() or | ||
| 309 | // 0 if the width wasn't set. | 285 | // 0 if the width wasn't set. | ||
| 310 | func (x *DmabufTextureBuilder) GetWidth() uint { | 286 | func (x *DmabufTextureBuilder) GetWidth() uint { | ||
| 311 | - | core.LazyRegister(&xDmabufTextureBuilderGetWidth, "GDK", "gdk_dmabuf_texture_builder_get_width", false) | |||
| 312 | - | ||||
| 313 | cret := xDmabufTextureBuilderGetWidth(x.GoPointer()) | 287 | cret := xDmabufTextureBuilderGetWidth(x.GoPointer()) | ||
| 314 | return cret | 288 | return cret | ||
| 315 | } | 289 | } | ||
| @@ -322,8 +296,6 @@ var xDmabufTextureBuilderSetColorState func(uintptr, *ColorState) | |||||
| 322 | // correct colorstate based on the format. | 296 | // correct colorstate based on the format. | ||
| 323 | // If you don't know what colorstates are, this is probably the right thing. | 297 | // If you don't know what colorstates are, this is probably the right thing. | ||
| 324 | func (x *DmabufTextureBuilder) SetColorState(ColorStateVar *ColorState) { | 298 | func (x *DmabufTextureBuilder) SetColorState(ColorStateVar *ColorState) { | ||
| 325 | - | core.LazyRegister(&xDmabufTextureBuilderSetColorState, "GDK", "gdk_dmabuf_texture_builder_set_color_state", false) | |||
| 326 | - | ||||
| 327 | xDmabufTextureBuilderSetColorState(x.GoPointer(), ColorStateVar) | 299 | xDmabufTextureBuilderSetColorState(x.GoPointer(), ColorStateVar) | ||
| 328 | } | 300 | } | ||
| 329 | 301 | ||||
| @@ -335,8 +307,6 @@ var xDmabufTextureBuilderSetDisplay func(uintptr, uintptr) | |||||
| 335 | // The display is used to determine the supported | 307 | // The display is used to determine the supported | ||
| 336 | // dma-buf formats. | 308 | // dma-buf formats. | ||
| 337 | func (x *DmabufTextureBuilder) SetDisplay(DisplayVar *Display) { | 309 | func (x *DmabufTextureBuilder) SetDisplay(DisplayVar *Display) { | ||
| 338 | - | core.LazyRegister(&xDmabufTextureBuilderSetDisplay, "GDK", "gdk_dmabuf_texture_builder_set_display", false) | |||
| 339 | - | ||||
| 340 | xDmabufTextureBuilderSetDisplay(x.GoPointer(), DisplayVar.GoPointer()) | 310 | xDmabufTextureBuilderSetDisplay(x.GoPointer(), DisplayVar.GoPointer()) | ||
| 341 | } | 311 | } | ||
| 342 | 312 | ||||
| @@ -344,8 +314,6 @@ var xDmabufTextureBuilderSetFd func(uintptr, uint, int) | |||||
| 344 | 314 | ||||
| 345 | // Sets the file descriptor for a plane. | 315 | // Sets the file descriptor for a plane. | ||
| 346 | func (x *DmabufTextureBuilder) SetFd(PlaneVar uint, FdVar int) { | 316 | func (x *DmabufTextureBuilder) SetFd(PlaneVar uint, FdVar int) { | ||
| 347 | - | core.LazyRegister(&xDmabufTextureBuilderSetFd, "GDK", "gdk_dmabuf_texture_builder_set_fd", false) | |||
| 348 | - | ||||
| 349 | xDmabufTextureBuilderSetFd(x.GoPointer(), PlaneVar, FdVar) | 317 | xDmabufTextureBuilderSetFd(x.GoPointer(), PlaneVar, FdVar) | ||
| 350 | } | 318 | } | ||
| 351 | 319 | ||||
| @@ -357,8 +325,6 @@ var xDmabufTextureBuilderSetFourcc func(uintptr, uint32) | |||||
| 357 | // | 325 | // | ||
| 358 | // The format must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | 326 | // The format must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | ||
| 359 | func (x *DmabufTextureBuilder) SetFourcc(FourccVar uint32) { | 327 | func (x *DmabufTextureBuilder) SetFourcc(FourccVar uint32) { | ||
| 360 | - | core.LazyRegister(&xDmabufTextureBuilderSetFourcc, "GDK", "gdk_dmabuf_texture_builder_set_fourcc", false) | |||
| 361 | - | ||||
| 362 | xDmabufTextureBuilderSetFourcc(x.GoPointer(), FourccVar) | 328 | xDmabufTextureBuilderSetFourcc(x.GoPointer(), FourccVar) | ||
| 363 | } | 329 | } | ||
| 364 | 330 | ||||
| @@ -368,8 +334,6 @@ var xDmabufTextureBuilderSetHeight func(uintptr, uint) | |||||
| 368 | // | 334 | // | ||
| 369 | // The height must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | 335 | // The height must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | ||
| 370 | func (x *DmabufTextureBuilder) SetHeight(HeightVar uint) { | 336 | func (x *DmabufTextureBuilder) SetHeight(HeightVar uint) { | ||
| 371 | - | core.LazyRegister(&xDmabufTextureBuilderSetHeight, "GDK", "gdk_dmabuf_texture_builder_set_height", false) | |||
| 372 | - | ||||
| 373 | xDmabufTextureBuilderSetHeight(x.GoPointer(), HeightVar) | 337 | xDmabufTextureBuilderSetHeight(x.GoPointer(), HeightVar) | ||
| 374 | } | 338 | } | ||
| 375 | 339 | ||||
| @@ -377,8 +341,6 @@ var xDmabufTextureBuilderSetModifier func(uintptr, uint64) | |||||
| 377 | 341 | ||||
| 378 | // Sets the modifier. | 342 | // Sets the modifier. | ||
| 379 | func (x *DmabufTextureBuilder) SetModifier(ModifierVar uint64) { | 343 | func (x *DmabufTextureBuilder) SetModifier(ModifierVar uint64) { | ||
| 380 | - | core.LazyRegister(&xDmabufTextureBuilderSetModifier, "GDK", "gdk_dmabuf_texture_builder_set_modifier", false) | |||
| 381 | - | ||||
| 382 | xDmabufTextureBuilderSetModifier(x.GoPointer(), ModifierVar) | 344 | xDmabufTextureBuilderSetModifier(x.GoPointer(), ModifierVar) | ||
| 383 | } | 345 | } | ||
| 384 | 346 | ||||
| @@ -386,8 +348,6 @@ var xDmabufTextureBuilderSetNPlanes func(uintptr, uint) | |||||
| 386 | 348 | ||||
| 387 | // Sets the number of planes of the texture. | 349 | // Sets the number of planes of the texture. | ||
| 388 | func (x *DmabufTextureBuilder) SetNPlanes(NPlanesVar uint) { | 350 | func (x *DmabufTextureBuilder) SetNPlanes(NPlanesVar uint) { | ||
| 389 | - | core.LazyRegister(&xDmabufTextureBuilderSetNPlanes, "GDK", "gdk_dmabuf_texture_builder_set_n_planes", false) | |||
| 390 | - | ||||
| 391 | xDmabufTextureBuilderSetNPlanes(x.GoPointer(), NPlanesVar) | 351 | xDmabufTextureBuilderSetNPlanes(x.GoPointer(), NPlanesVar) | ||
| 392 | } | 352 | } | ||
| 393 | 353 | ||||
| @@ -395,8 +355,6 @@ var xDmabufTextureBuilderSetOffset func(uintptr, uint, uint) | |||||
| 395 | 355 | ||||
| 396 | // Sets the offset for a plane. | 356 | // Sets the offset for a plane. | ||
| 397 | func (x *DmabufTextureBuilder) SetOffset(PlaneVar uint, OffsetVar uint) { | 357 | func (x *DmabufTextureBuilder) SetOffset(PlaneVar uint, OffsetVar uint) { | ||
| 398 | - | core.LazyRegister(&xDmabufTextureBuilderSetOffset, "GDK", "gdk_dmabuf_texture_builder_set_offset", false) | |||
| 399 | - | ||||
| 400 | xDmabufTextureBuilderSetOffset(x.GoPointer(), PlaneVar, OffsetVar) | 358 | xDmabufTextureBuilderSetOffset(x.GoPointer(), PlaneVar, OffsetVar) | ||
| 401 | } | 359 | } | ||
| 402 | 360 | ||||
| @@ -407,8 +365,6 @@ var xDmabufTextureBuilderSetPremultiplied func(uintptr, bool) | |||||
| 407 | // Unless otherwise specified, all formats including alpha channels are assumed | 365 | // Unless otherwise specified, all formats including alpha channels are assumed | ||
| 408 | // to be premultiplied. | 366 | // to be premultiplied. | ||
| 409 | func (x *DmabufTextureBuilder) SetPremultiplied(PremultipliedVar bool) { | 367 | func (x *DmabufTextureBuilder) SetPremultiplied(PremultipliedVar bool) { | ||
| 410 | - | core.LazyRegister(&xDmabufTextureBuilderSetPremultiplied, "GDK", "gdk_dmabuf_texture_builder_set_premultiplied", false) | |||
| 411 | - | ||||
| 412 | xDmabufTextureBuilderSetPremultiplied(x.GoPointer(), PremultipliedVar) | 368 | xDmabufTextureBuilderSetPremultiplied(x.GoPointer(), PremultipliedVar) | ||
| 413 | } | 369 | } | ||
| 414 | 370 | ||||
| @@ -418,8 +374,6 @@ var xDmabufTextureBuilderSetStride func(uintptr, uint, uint) | |||||
| 418 | // | 374 | // | ||
| 419 | // The stride must be set for all planes before calling [method@Gdk.DmabufTextureBuilder.build]. | 375 | // The stride must be set for all planes before calling [method@Gdk.DmabufTextureBuilder.build]. | ||
| 420 | func (x *DmabufTextureBuilder) SetStride(PlaneVar uint, StrideVar uint) { | 376 | func (x *DmabufTextureBuilder) SetStride(PlaneVar uint, StrideVar uint) { | ||
| 421 | - | core.LazyRegister(&xDmabufTextureBuilderSetStride, "GDK", "gdk_dmabuf_texture_builder_set_stride", false) | |||
| 422 | - | ||||
| 423 | xDmabufTextureBuilderSetStride(x.GoPointer(), PlaneVar, StrideVar) | 377 | xDmabufTextureBuilderSetStride(x.GoPointer(), PlaneVar, StrideVar) | ||
| 424 | } | 378 | } | ||
| 425 | 379 | ||||
| @@ -436,8 +390,6 @@ var xDmabufTextureBuilderSetUpdateRegion func(uintptr, *cairo.Region) | |||||
| 436 | // | 390 | // | ||
| 437 | // An example would be a screen recording where only the mouse pointer moves. | 391 | // An example would be a screen recording where only the mouse pointer moves. | ||
| 438 | func (x *DmabufTextureBuilder) SetUpdateRegion(RegionVar *cairo.Region) { | 392 | func (x *DmabufTextureBuilder) SetUpdateRegion(RegionVar *cairo.Region) { | ||
| 439 | - | core.LazyRegister(&xDmabufTextureBuilderSetUpdateRegion, "GDK", "gdk_dmabuf_texture_builder_set_update_region", false) | |||
| 440 | - | ||||
| 441 | xDmabufTextureBuilderSetUpdateRegion(x.GoPointer(), RegionVar) | 393 | xDmabufTextureBuilderSetUpdateRegion(x.GoPointer(), RegionVar) | ||
| 442 | } | 394 | } | ||
| 443 | 395 | ||||
| @@ -446,8 +398,6 @@ var xDmabufTextureBuilderSetUpdateTexture func(uintptr, uintptr) | |||||
| 446 | // Sets the texture to be updated by this texture. See | 398 | // Sets the texture to be updated by this texture. See | ||
| 447 | // [method@Gdk.DmabufTextureBuilder.set_update_region] for an explanation. | 399 | // [method@Gdk.DmabufTextureBuilder.set_update_region] for an explanation. | ||
| 448 | func (x *DmabufTextureBuilder) SetUpdateTexture(TextureVar *Texture) { | 400 | func (x *DmabufTextureBuilder) SetUpdateTexture(TextureVar *Texture) { | ||
| 449 | - | core.LazyRegister(&xDmabufTextureBuilderSetUpdateTexture, "GDK", "gdk_dmabuf_texture_builder_set_update_texture", false) | |||
| 450 | - | ||||
| 451 | xDmabufTextureBuilderSetUpdateTexture(x.GoPointer(), TextureVar.GoPointer()) | 401 | xDmabufTextureBuilderSetUpdateTexture(x.GoPointer(), TextureVar.GoPointer()) | ||
| 452 | } | 402 | } | ||
| 453 | 403 | ||||
| @@ -457,8 +407,6 @@ var xDmabufTextureBuilderSetWidth func(uintptr, uint) | |||||
| 457 | // | 407 | // | ||
| 458 | // The width must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | 408 | // The width must be set before calling [method@Gdk.DmabufTextureBuilder.build]. | ||
| 459 | func (x *DmabufTextureBuilder) SetWidth(WidthVar uint) { | 409 | func (x *DmabufTextureBuilder) SetWidth(WidthVar uint) { | ||
| 460 | - | core.LazyRegister(&xDmabufTextureBuilderSetWidth, "GDK", "gdk_dmabuf_texture_builder_set_width", false) | |||
| 461 | - | ||||
| 462 | xDmabufTextureBuilderSetWidth(x.GoPointer(), WidthVar) | 410 | xDmabufTextureBuilderSetWidth(x.GoPointer(), WidthVar) | ||
| 463 | } | 411 | } | ||
| 464 | 412 | ||||
| @@ -622,4 +570,44 @@ func (x *DmabufTextureBuilder) GetPropertyWidth() uint { | |||||
| 622 | func init() { | 570 | func init() { | ||
| 623 | core.SetPackageName("GDK", "gtk4") | 571 | core.SetPackageName("GDK", "gtk4") | ||
| 624 | core.SetSharedLibraries("GDK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | 572 | core.SetSharedLibraries("GDK", []string{"libgtk-4.so.1", "libgtk-4.1.dylib"}) | ||
| 573 | + | var libs []uintptr | |||
| 574 | + | for _, libPath := range core.GetPaths("GDK") { | |||
| 575 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 576 | + | if err != nil { | |||
| 577 | + | panic(err) | |||
| 578 | + | } | |||
| 579 | + | libs = append(libs, lib) | |||
| 580 | + | } | |||
| 581 | + | ||||
| 582 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGLibType, libs, "gdk_dmabuf_texture_builder_get_type") | |||
| 583 | + | ||||
| 584 | + | core.PuregoSafeRegister(&xNewDmabufTextureBuilder, libs, "gdk_dmabuf_texture_builder_new") | |||
| 585 | + | ||||
| 586 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderBuild, libs, "gdk_dmabuf_texture_builder_build") | |||
| 587 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetColorState, libs, "gdk_dmabuf_texture_builder_get_color_state") | |||
| 588 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetDisplay, libs, "gdk_dmabuf_texture_builder_get_display") | |||
| 589 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetFd, libs, "gdk_dmabuf_texture_builder_get_fd") | |||
| 590 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetFourcc, libs, "gdk_dmabuf_texture_builder_get_fourcc") | |||
| 591 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetHeight, libs, "gdk_dmabuf_texture_builder_get_height") | |||
| 592 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetModifier, libs, "gdk_dmabuf_texture_builder_get_modifier") | |||
| 593 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetNPlanes, libs, "gdk_dmabuf_texture_builder_get_n_planes") | |||
| 594 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetOffset, libs, "gdk_dmabuf_texture_builder_get_offset") | |||
| 595 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetPremultiplied, libs, "gdk_dmabuf_texture_builder_get_premultiplied") | |||
| 596 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetStride, libs, "gdk_dmabuf_texture_builder_get_stride") | |||
| 597 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetUpdateRegion, libs, "gdk_dmabuf_texture_builder_get_update_region") | |||
| 598 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetUpdateTexture, libs, "gdk_dmabuf_texture_builder_get_update_texture") | |||
| 599 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderGetWidth, libs, "gdk_dmabuf_texture_builder_get_width") | |||
| 600 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetColorState, libs, "gdk_dmabuf_texture_builder_set_color_state") | |||
| 601 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetDisplay, libs, "gdk_dmabuf_texture_builder_set_display") | |||
| 602 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetFd, libs, "gdk_dmabuf_texture_builder_set_fd") | |||
| 603 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetFourcc, libs, "gdk_dmabuf_texture_builder_set_fourcc") | |||
| 604 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetHeight, libs, "gdk_dmabuf_texture_builder_set_height") | |||
| 605 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetModifier, libs, "gdk_dmabuf_texture_builder_set_modifier") | |||
| 606 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetNPlanes, libs, "gdk_dmabuf_texture_builder_set_n_planes") | |||
| 607 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetOffset, libs, "gdk_dmabuf_texture_builder_set_offset") | |||
| 608 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetPremultiplied, libs, "gdk_dmabuf_texture_builder_set_premultiplied") | |||
| 609 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetStride, libs, "gdk_dmabuf_texture_builder_set_stride") | |||
| 610 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetUpdateRegion, libs, "gdk_dmabuf_texture_builder_set_update_region") | |||
| 611 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetUpdateTexture, libs, "gdk_dmabuf_texture_builder_set_update_texture") | |||
| 612 | + | core.PuregoSafeRegister(&xDmabufTextureBuilderSetWidth, libs, "gdk_dmabuf_texture_builder_set_width") | |||
| 625 | } | 613 | } | ||