Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Gio
Gio implements portable immediate mode GUI programs in Go.
Collective -
Host: opensource -
https://opencollective.com/gioui
- Website: https://gioui.org
- Code: https://github.com/gioui
Since onFrameCallback runs on the app UI thread, using plain
invalidate() can be used instead of...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio-example - d938fc3042be85ab112c69eaffda55d9f136f775 authored over 3 years agoThis makes gogio builds work for android on darwin/arm64.
Signed-off-by: Felix Lange <fjl@twurs...
github.com/gioui/gio - 0a4de4f88c3f11196cf9976c2d4f269d1502bbdc authored over 3 years ago
Some window configurations lead to WM_SIZE messages when changed, which
leads to deadlock becaus...
Signed-off-by: Walter Werner SCHNEIDER <[email protected]>
github.com/gioui/gio - a5625031a47c5b716dc8722c45727b6920e5db27 authored over 3 years agoSigned-off-by: Walter Werner SCHNEIDER <[email protected]>
github.com/gioui/gio - 86b685abe5e2aea54b5486b25b4d700e53b4a3e1 authored over 3 years agoSigned-off-by: Walter Werner SCHNEIDER <[email protected]>
github.com/gioui/gio - 1350b495c81bb47bca730b83954ecefba6f7b36f authored over 3 years agoSigned-off-by: Walter Werner SCHNEIDER <[email protected]>
github.com/gioui/gio - 8701c253c3753ed5fef38d076a3888a663a8b629 authored over 3 years agoSigned-off-by: Walter Werner SCHNEIDER <[email protected]>
github.com/gioui/gio - 423c8f22ef5ad5c83a9caed5a3c27573cdfa1faa authored over 3 years agoThe old one no longer works.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 671f0b18582b7172ae9ab289a82a6c5b1dd5cbbe authored over 3 years ago
While here, add new-style //go:build constraints to generated wayland
glue files.
Signed-off-by...
github.com/gioui/gio - 12aa9defe70059e99f7d1948e33f56104e2827d8 authored over 3 years ago
The Android emulator creates a broken EGL surface if it is not created
on the same thread as the...
Before this change, the renderLoop type implemented a rendering
goroutine for rendering off the ...
The support files for Android and iOS has moved from package
app/internal/wm to package app.
Si...
github.com/gioui/gio - ba421fb58307722c5e2a552fa59c176585596aad authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - b86928ceecf6800069cfd5a92e5b6f2216367fe5 authored over 3 years agoIt works for me locally, but not on the builds.sr.ht builder.
Signed-off-by: Elias Naur <mail@e...
github.com/gioui/gio - 9823e040ded24c24229947cf0146ec6b930b284b authored over 3 years ago
The Android system can in some cases replace the GioView of our Android
Activity before destroyi...
The app and app/internal/wm packages are tightly coupled, requiring
quite a bit of forwarding ty...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio-example - fb3d8bb717bbac37ba2cd4d646147203220263a8 authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - fe523571410e13442e9de448f47bf6e793605dee authored over 3 years ago
The example makes its OpenGL context current on the app.Window.Run
callback goroutine now.
Sign...
github.com/gioui/gio-example - b4680d0a489966ba44393f6e73ffef858301d511 authored over 3 years agoKitchen is a better example than gophers.
Keep the example that demonstrates the ability to inc...
github.com/gioui/giouiorg - 92699e010ebc4895ceaa2a809f60eef8a847aaa7 authored over 3 years agoThose variables didn't make it clear that they were Options.
Signed-off-by: Pierre Curto <pierr...
github.com/gioui/gio - 8aac73458acf1f5a1ab9288ced06e464eed05d44 authored over 3 years agoSigned-off-by: Pierre Curto <[email protected]>
github.com/gioui/gio - 4c2087d3758b346d91589f8035648fb9723f4bd2 authored over 3 years ago
This change implements support for compute programs in the Direct3D 11
driver. The compute rende...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - e841288b88b0fa3062ef509c5a27c11046b8631a authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - d724f61d06930107d13ea722e86ea59c4479a428 authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 32a4885c006dbf594c795cf782e10ddec450fb7f authored over 3 years ago
Before this change, transformed images would take up as much atlas
texture space to fit them. Ho...
A follow-up change will cause some transformed images to render outside
their allocated atlas bo...
The atlas allocations contains enough information to replace regions.
Signed-off-by: Elias Naur...
github.com/gioui/gio - 6818af93907077c1f6a1b78a48d744239019f058 authored over 3 years ago
It saves a roundtrip to scratch memory when the CPU fallback renderer
downloads rendered materia...
This change extends the atlas allocation machinery to images and
materials.
Updates gio#219
Si...
github.com/gioui/gio - 06ffa42d164d38900a8293337ed67e58057c79d1 authored over 3 years ago
Previously, the packer optimized for the smalles space where the image
fits. Empirically, smalle...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 1d7ed55c2954b1655865d3aec2db368d0452097b authored over 3 years ago
This change allows atlas packer clients to start with large maximum
atlas dimensions, then shrin...
window.Wakeup assumes the window.w field is never reset to nil. Avoid
doing that in gio_onClose....
On my Fedora Intel GPU, issuing a glBufferSubData immediately after a
glBufferData with no data ...
Signed-off-by: Chris Waldon <[email protected]>
github.com/gioui/gio-example - 6f37407cb9c2dd99a71cb24b67bd3e81b6f3025e authored over 3 years agoCleanup demo with modern Gio.
Signed-off-by: Jack Mordaunt <[email protected]>
github.com/gioui/gio-example - 1d5f91ecd37d900f366b8db7e75af8ecf07d3ee0 authored over 3 years ago
Change 44adf0176812f8fa2fc3899ded59c5b745142fc4 ugpraded
gioui.org/shader for the OpenGL ES 2.0 ...
Bring in gpu.GPU API changes and Metal fixes.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio-example - 7155a7091b9942f26564d6ff47e423cff006351b authored over 3 years ago
There's no meaningful reason to have them separate. The intention was to
enable rendering concur...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 7acc031ccf0273b8ee9e4e7122e2962ab7e585c9 authored over 3 years ago
One staging buffer is enough because BeginFrame waits for the completion
of the staging operatoi...
The Metal backend is particularly sensitive because its staging buffers
are synchronized to Begi...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 43a7030f6e0b798702df4528f141046391a45f89 authored over 3 years ago
We shouldn't need more than 2 drawables, but changing the count from the
default of 3 introduces...
Invalidate is no longer part of the driver contract.
Signed-off-by: Elias Naur <mail@eliasnaur....
github.com/gioui/gio - 0d009bd5344e3b4fe7d6b0e648e27cfb30a7eba5 authored over 3 years ago
Changes to the gioui.org/shader module are generally breaking changes,
which means that a partic...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 64ccb1c06db399d45ee6ef03399c75e2a382c0e5 authored over 3 years ago
There is no clear benefit and the rounding tends to waste texture
memory.
Signed-off-by: Elias ...
github.com/gioui/gio - 86e474688bf2db5f08435f805da0a607aa0563dd authored over 3 years agoFound by Dan Kortschak.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 6ee8a1cb7cb05a31f2bff8549bc5bab54c83be83 authored over 3 years ago
OpenGL ES 2.0 doesn't support glBlitFramebuffer, but does support
glCopyTexSubImage2D. Fortunate...
Pulls in a compatiblity fix for OpenGL ES 2.0 devices.
Signed-off-by: Elias Naur <mail@eliasnau...
github.com/gioui/gio - 44adf0176812f8fa2fc3899ded59c5b745142fc4 authored over 3 years agoPull in the new Metal backend to increase testing exposure.
Signed-off-by: Elias Naur <mail@eli...
github.com/gioui/gio-example - 728a93bb5b86c3661ea6f5ba0a57a4b393f948c1 authored over 3 years ago
The Metal (and presumably the D3D11) backend doesn't support transformed
framebuffer blits. The ...
In Metal, clearing a framebuffer is most efficiently done during bind.
Modify our driver accordi...
Metal needs the vertex stride at pipeline creation.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 58cc817e5fb8e65e81303754acdbf97510a2fcd5 authored over 3 years agoIt was moved to gioui.org/shader by mistake.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - d38c78d7ac0fb4cbf43e72bb1f47df091f43f0a9 authored over 3 years ago
Modern API such as Metal and Vulkan want clients to compile expensive
state changes into pipelin...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 13b93b27d87ab76aebdbff7bffabd7fa9df82d59 authored over 3 years ago
The OpenGL (ES) implementations on Apple platforms are deprecated and
don't support GPU compute ...
Metal has texture write usage flags for read and write.
Signed-off-by: Elias Naur <mail@eliasna...
github.com/gioui/gio - a7f08eedf36fa8f6e78a701f90a2df7a5a49596c authored over 3 years ago
The Go 1.17 runtime crashes on iOS 9 because clock_gettime is missing.
iOS 10 introduced clock_g...
Fixes gio#254
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio-example - d23078309112d19904875f1375919971a3528476 authored over 3 years agoSigned-off-by: Chris Waldon <[email protected]>
github.com/gioui/gio - ae3103e180777518c875bb76fd1176714825dd2c authored over 3 years ago
Chris' Linux port of the opengl example fails in mysterious ways after
rendering a few frames; e...
Add go:build tags while here.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio-example - 0d37441547dd9b6bee5305fcef91ba8f2fda4653 authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio-example - 9373e1c8c1394ca43e82e6b445f86647150d2ccc authored over 3 years ago
The opengl example has a screenshot functionality that renders to a
non-sRGB texture, whereas wi...
Avoids panics when freeing cpu resources on unsupported platforms.
Signed-off-by: Elias Naur <m...
github.com/gioui/gio - 3773daf155b49be32911a40dd0a6da710e85666b authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 8140e39c2087b33ca3317211d7a24494be752064 authored over 3 years ago
The go generate command that creates an application bundle was
missing some of the scaffolding r...
The default notifier instance used by the Push function was being
created with an init() functio...
This change uses a single package-level init function instead
of many spread throughout the diff...
Remove depth buffers since they're no longer needed by any Gio
renderer.
Signed-off-by: Elias N...
github.com/gioui/gio-example - 34293554705ce4073cacad29ecfd9b2985143261 authored over 3 years agoFixes the opengl example on macOS.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - c7ea90c4e213161d991a450f19f9791652230241 authored over 3 years ago'Manager' is very ambiguous.
Also, use zero allocation (*type)(nil) for testing interface confo...
github.com/gioui/gio-x - e544f34c2cf6f4eb6300a63002901c265b54ede5 authored over 3 years agoUndo some indirection, using interfaces directly.
Signed-off-by: Jack Mordaunt <jackmordaunt.de...
github.com/gioui/gio-x - c24ad1544e98ae745faa29142de0b243c7fad458 authored over 3 years ago
Relies on go-toast, which is a Windows notification thingy.
Given that toast supports icons, I s...
notify.Push is all you need!
Concrete type is established on package initialization.
Signed-of...
github.com/gioui/gio-x - e57f01cea19cd8f2f9879e9eb03984c20ad70b8e authored over 3 years ago
GPU.Frame now takes an explicit RenderTarget and it is no longer
necessary to bind the target.
...
github.com/gioui/gio - 6b537f0d4e8dcb77f5f2e31aef8f1e7eae61047f authored over 3 years ago
Metal is available from iOS 8 on devices, yet from version 13 on the
simulator.
Signed-off-by: ...
github.com/gioui/gio - 0d1ee09a64e970816acf9070731713f45c27478e authored over 3 years agoRefactor only.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 8d8bc19c2381695b40fcfac8f216eb3c26d17663 authored over 3 years ago
There is no longer any shared code between OpenGL backends (unlike
EGL backends).
Signed-off-by...
github.com/gioui/gio - 6c3711d95a0ee408056881ad60b321aebe4cbdea authored over 3 years ago
The affected code paths are guaranteed to be run on the main thread by
the app.Window callers.
...
github.com/gioui/gio - 71f834d26f6b6cf6372df8fb2850726c38f392bf authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 71c5a134d700c3ea449f20237916095e899834d0 authored over 3 years ago
Instead of handing the internal/wm driver a method to run code on the
(blocked) main thread, jus...
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/giouiorg - c63e529cbee3c12863d52fba25688bd6bef361f2 authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 811e2b53e0f11581e5860e6b71864a5372478c3c authored over 3 years agoSigned-off-by: Chris Waldon <[email protected]>
github.com/gioui/gio-x - fdc0104473cbe6b9ac57a98e9d1f7aba417403b4 authored over 3 years agoThe unprefixed library names are for development, and Android.
Signed-off-by: Elias Naur <mail@...
github.com/gioui/gio - c49fe63d56768eb94e78e9c3c588302e02414fad authored over 3 years agoStatic C functions don't pollute the global namespace.
Signed-off-by: Elias Naur <mail@eliasnau...
github.com/gioui/gio - 06556986c5c2a6c70854403342f9c9c43def4178 authored over 3 years agoSigned-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 6aee54323433bc3e9eee56e9d8284de0a9a37e4a authored over 3 years agoIt is no longer needed by any rendering backend.
Signed-off-by: Elias Naur <[email protected]>
github.com/gioui/gio - 18b444239379939d0ab1b6b8662433b407f0c653 authored over 3 years ago
The default renderer tracks opaque rectangle draw operations and render
them front-to-back with ...
The only reason for separate files is Objective-C callbacks into Go,
or when the Go side is comm...
Both the OpenGL and the Direct3D API are stateful and gpu.GPU renders to
the render target curre...
While here, make context Refresh useful and remove the redundant
MakeCurrent from the window loo...