Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/gioui/gio
Mirror of the Gio main repository (https://git.sr.ht/~eliasnaur/gio)
https://github.com/gioui/gio
Signed-off-by: Elias Naur <[email protected]>
86f6765e64ae25dd404347221e4bb219aa92c468 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
659a85aae082ccecd6df46d9dde86be9f410dee0 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
34fe8726355dee7921f353e442ca346add726e8d authored over 5 years ago by Elias Naur <[email protected]>
Instead of allocating and constructing a clip path, store path data
directly in op lists. Use se...
Signed-off-by: Elias Naur <[email protected]>
a4ccc861ac140b6a26789c13387259a4161a3785 authored over 5 years ago by Elias Naur <[email protected]>
We're about to allow OpBlock for invoking ops from multiple (cached)
Ops containers. To allow fo...
Signed-off-by: Elias Naur <[email protected]>
9f58ed0fea4e7b1f8f69846d8f72bec19390d7ed authored over 5 years ago by Elias Naur <[email protected]>Allows users to refer to other (cached) Ops from a main Ops.
Signed-off-by: Elias Naur <mail@el...
bf5d083b8aa9be0a929fb23f138be61a5e732365 authored over 5 years ago by Elias Naur <[email protected]>Used for making OpBlock refer to other Ops.
Signed-off-by: Elias Naur <[email protected]>
9d661277dae71d4759d3fdd6fb710916c712ffb0 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
528a588f2e40fa443920767a80c47e8deb70f640 authored over 5 years ago by Elias Naur <[email protected]>To prepare support for cached OpBlock to refer to other Ops lists.
The exposure of OpsReader is...
5966aab77e87d1d1b46f7fd21830511face44859 authored over 5 years ago by Elias Naur <[email protected]>
Instead of exposing the entire reference slice, return the relevant
references from Next.
Signe...
0d2cffe1968819bf84e3f3c88464e3e4d011ef7a authored over 5 years ago by Elias Naur <[email protected]>Added by an earlier change, but not activated.
Signed-off-by: Elias Naur <[email protected]>
1c880f2b9de5050997d4212077caa56482598063 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
b55a02f5976bafa62cf3a5d83180b60d07b665ff authored over 5 years ago by Elias Naur <[email protected]>
Just like the other drawing state, the current image or color must
be tracked in a stack.
Signe...
7ae8fdaae7a3775c1f645f9d22bbc6c4a48db84d authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d752040f17eab2154eed391994d270f78b94a8d1 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
16a55850cb56b4693c64ee38743b909478d8bb8a authored over 5 years ago by Elias Naur <[email protected]>To avoid allocating an image.Image for OpImage.
Signed-off-by: Elias Naur <[email protected]>
00a87f542dcbc255d05a468b41d5c07a8e402386 authored over 5 years ago by Elias Naur <[email protected]>In preparation for an OpColor (and future OpGradient and similar).
Label and Editor no longer t...
0061c73a89aa026b9c0dbe326c20ae8e08c0ca7b authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
29993af4082c151c2c334a936c72b8e035e267d4 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
bb0f80902fb9c7aa675010d5b9fc83b152063276 authored over 5 years ago by Elias Naur <[email protected]>For uniformity.
Signed-off-by: Elias Naur <[email protected]>
a7874d70ef29b63bf7b77a5e1d33c77d316edda6 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
67bfa38e02a058c96037e859b5105e836ab2a052 authored over 5 years ago by Elias Naur <[email protected]>
The layout package switched from interfaces to functions for
composing layouts. The switch made ...
Signed-off-by: Elias Naur <[email protected]>
5cc9906eb824fe16317bdb2192f4e71d88aaa286 authored over 5 years ago by Elias Naur <[email protected]>
The os and gl packages were separate in the past, which required
uintptr for cross-package CFTyp...
Without locking, asynchronous OpenGL rendering crashes on macOS.
Signed-off-by: Elias Naur <mai...
a1c0693eeb163f015cf2e50e03e2b4f0c85c68f3 authored over 5 years ago by Elias Naur <[email protected]>
syscall/js.TypedArrayOf is going away in Go 1.13 and is replaced by
the CopyBytesToGo, CopyBytes...
syscall/js.TypedArrayOf is going away in Go 1.13. Avoid it for
invalidateFramebuffer by using a ...
Now that syscall/js.TypedArrayOf is going away in Go 1.13 (sse
https://golang.org/issue/31980), ...
The frame callback for macOS comes in from a different thread than
the UI thread. Serialize even...
Signed-off-by: Elias Naur <[email protected]>
da598663f7fe98a4bc748b03f5db378b331f370c authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
642318842c7027349594eefb450fdd112404ce9a authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
4513d109b17398c45122f8f8585a4dec15aca9c8 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
51d1c32c070dd27e80324c9e145df0b4b663e58d authored over 5 years ago by Elias Naur <[email protected]>And rename Pixels to Val.
Signed-off-by: Elias Naur <[email protected]>
00cb158247fe6c460d6bf774eb89bf565d830ba6 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
acf345a0f88be42d87ced0bb66e184297ec34bfe authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2d96e760d39a964c16a2de2e7f701f87ec590f22 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3e5e9b2df2a4c21d46e9ec61adbd230adbc1a8bc authored over 5 years ago by Elias Naur <[email protected]>
With layout.Widget a function instead of an interface, the amount
of per-frame garbage can be dr...
Signed-off-by: Elias Naur <[email protected]>
25ba53ea51dc568f7cea0ee2e7e478b4abfc2798 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
44e02786c6ead8f96c3c1a5afd2a5c8ea87b86f0 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
d98f579048b997871d449b6de28087de259242f4 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a6fc2b6d459a6fae547167d9eeb8fd66f27a970a authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3c9c38947d1199026e288690cc4ecb42d90f8bac authored over 5 years ago by Elias Naur <[email protected]>
GL_EXT_disjoint_timer_query_webgl2 is the WebGL 2 counterpart to
the WebGL 1 GL_EXT_disjoint_tim...
Signed-off-by: Elias Naur <[email protected]>
90d2174090eb3608056aff9cdbd27be171c0dd90 authored over 5 years ago by Elias Naur <[email protected]>
Some devices don't support floating point FBOs even though they
support OpenGL ES 3. Check suppo...
Signed-off-by: Elias Naur <[email protected]>
8f3384ffe499d1b7b32961f852d60fdee2faa965 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
379cab92c4be15827960ad45b02a36c10b1574ec authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c342054dbc08b71de3b5774145a6ba7d48fd4b10 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
1e14540a6f6345505b1810cb39fafd8655e81baa authored over 5 years ago by Elias Naur <[email protected]>Wait until click for touches.
Signed-off-by: Elias Naur <[email protected]>
701ceda4d06df1eb649e8cb5ead6dfe7a5c844ac authored over 5 years ago by Elias Naur <[email protected]>It is almost always 0.
Signed-off-by: Elias Naur <[email protected]>
530b9b09b2987fe4e7365023bfe4c29f5078ccac authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
07a5a6547eeeea02e75eb4f2a6c11b4880c40c1e authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
84f80711dc9bc23720b08d6f44e757bc50dbf355 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
31bec932d106a168adfdd72cba040303296a76c0 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
1d91555ace5dd9db949db6fe3f01816b941e0bfa authored over 5 years ago by Elias Naur <[email protected]>StageRunning and StagePaused better reflect their use.
Signed-off-by: Elias Naur <mail@eliasnau...
e2a1f07b8497a325115bcd58cd453a5045d8353c authored over 5 years ago by Elias Naur <[email protected]>
I found a convincing use case: stopping asynchronous activities
while paused. A follow up change...
Signed-off-by: Elias Naur <[email protected]>
af7a0ad2934cf44f18d25ab3ff0f40a259ed8a4b authored over 5 years ago by Elias Naur <[email protected]>
I'm not convinced the API is right. For exmaple, an event that
notifies a program when to save i...
Signed-off-by: Elias Naur <[email protected]>
314c79a7258754231088fc2f482aca629c326210 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
6d690fd3435791e8b1ee9b27ba1df5cfca5cdb4d authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
1b6a0580a7598c85ffbfa3fe998112bad87cf64d authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
801ce944f220c988200f73baeed78ad4a58c843f authored over 5 years ago by Elias Naur <[email protected]>It is still slow. And crashy: https://github.com/golang/go/issues/31980.
Signed-off-by: Elias N...
0397cbb599a37bef5a16ceb6431af127201f34ea authored over 5 years ago by Elias Naur <[email protected]>
Avoids false matches for extensions whose names are substrings of
other extensions.
Signed-off-...
f1c87417bd459c559a605555070520877ecc7b4d authored over 5 years ago by Elias Naur <[email protected]>Safari on macOS don't treat sRGB correctly.
Signed-off-by: Elias Naur <[email protected]>
c6863581e0e2cc31a35bbcdce75b4f94a834d19b authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
51482b6493a4925e4de4a936d486dabe673e16c5 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
871ae34be50a9e2522b82efca921721e62375182 authored over 5 years ago by Elias Naur <[email protected]>
It doesn't seem worth the trouble: images must be scanned for
alpha != 1 and GPUs don't like RGB...
Also applicable to WebGL.
Signed-off-by: Elias Naur <[email protected]>
f5fa968038cc43f42c8359896144df2d1a2d7f5b authored over 5 years ago by Elias Naur <[email protected]>
WebGL use opaque values for object handles, not integers. To ensure
portability, wrap handle typ...
Enables graceful fallback to OpenGL ES 2 and WebGL.
Signed-off-by: Elias Naur <[email protected]>
d118bd5a88a2f374c7429a5dc08fd2c5bcf522a7 authored over 5 years ago by Elias Naur <[email protected]>And drop a redundant error message while here.
Signed-off-by: Elias Naur <[email protected]>
2af0f63cfba4a89d0e7df8dc3484c1aa43e4a422 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2d7fb556a40dfb443d8113dd56f3c0b4e1dbf601 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
af46b2bf29a68c60ab258220f1b59451e637b9ee authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
350dc1910866bf02ced674f29e618b2079a05017 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
78421b9db95eff8b563fff68eaca01defc999d5c authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
967484ce3a4e0891eeb9eab5bc87dd9c656efed5 authored over 5 years ago by Elias Naur <[email protected]>It's no longer used.
Signed-off-by: Elias Naur <[email protected]>
20f55a4ad71e43660e4a959d281e1c5e0be843b0 authored over 5 years ago by Elias Naur <[email protected]>A more appropriate name.
Signed-off-by: Elias Naur <[email protected]>
56133632c6feefbd41ab85340c96ba87dc6faa08 authored over 5 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
f60906b8e27393452ddeeda7a03736b15fa75640 authored over 5 years ago by Elias Naur <[email protected]>
Pros:
- Much less per-frame garbage
- Allow future preprocessing of ops while building it
- Much...
Serialize the implied tree of layers and handlers into a list
that can be traversed from the end...
Signed-off-by: Elias Naur <[email protected]>
3ad94ed20e6eb3a5050018d982ca2bb2b14df3ef authored over 5 years ago by Elias Naur <[email protected]>
With an interface instead of anonymous functions, amending an
area's parameters can be done even...
And delete an unnecessary error check from Flush to make sure pending
draws are always finalized...
Signed-off-by: Elias Naur <[email protected]>
47fbe56766edfd60599122f913ebcdd92b17a26d authored over 5 years ago by Elias Naur <[email protected]>
It's not tested, we don't need v6 capabilities and using them result
in build errors on older wa...
Signed-off-by: Elias Naur <[email protected]>
d4ff577259e57c9dda18a23bc9dfd9ce12a05a9f authored over 5 years ago by Elias Naur <[email protected]>
64-bit support was added in iOS 8 on iPhone 5S and newer,
32-bit support was dropped from iOS 12...
Signed-off-by: Elias Naur <[email protected]>
afa91ed942fe375e27d5fd57508b0ba25873f421 authored almost 6 years ago by Elias Naur <[email protected]>
Signed-off-by: Anthony Starks <[email protected]>
Signed-off-by: Elias Naur <[email protected]>
Signed-off-by: Elias Naur <[email protected]>
b5d8e1cfe24a775c888569234be8026938051c2a authored almost 6 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c20255335f9b0c2a5b261b00e6ee779fe8f35db1 authored almost 6 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a876ce8a53b09954c465ea873bcadc39b299c2d3 authored almost 6 years ago by Elias Naur <[email protected]>A Sourcehut account is only required for subscribing to new posts.
Signed-off-by: Elias Naur <m...
31e06bd931f414122da3a4fbd7282a5a94f376a0 authored almost 6 years ago by Elias Naur <[email protected]>
go get -u gioui.org/ui also upgrades indirect dependencies, which
we don't want.
Signed-off-by:...
23c5bbdf48331d4e489ae0b229aa93ad68236f12 authored almost 6 years ago by Elias Naur <[email protected]>