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: Inkeliz <[email protected]>
9dae29844c9fc77bdb728815615d85d132a27af0 authored over 3 years ago by Inkeliz <[email protected]>Signed-off-by: Elias Naur <[email protected]>
2296c80d288b4c3b811a1af3fe6c4364c99cdb00 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: pierre <[email protected]>
354f5b43d27f081c062dc911c99f0c4360ba2b4b authored over 3 years ago by pierre <[email protected]>Improves performance on Pixel 1.
Add restrict qualifiers while we're here.
Also sync with piet...
22f16d7b02453aaf4830cd17ed5e399087e15d7f authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
ff7d224a0bd0fec3b5be1c600266fa3f75f08718 authored over 3 years ago by Elias Naur <[email protected]>
GPU APIs require that barrier() calls are dynamically uniform, that is
for every barrier in the ...
Useful for debugging shader compiler issues, such as those that may
cause
https://github.com/li...
f930e3f3d782cc173fa6f6f2238c9b7eab6c7aa4 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
3b69b5ed0512d829fabf1d3392392daac697a880 authored over 3 years ago by Elias Naur <[email protected]>
The reflected uniform names are for the shader versions that don't use uniform
buffer objects. F...
It's not supported on macOS.
Updates gio#216
Signed-off-by: Elias Naur <[email protected]>
c19ce8e1d7d36b18df986458b6503b1a929ada26 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Dan Kortschak <[email protected]>
0a918581630a9e65b0117f432e935a2b9f2e2843 authored over 3 years ago by Dan Kortschak <[email protected]>Changes:
- fix BeginClip bounding box
- replace continue not supported by HLSL
Signed-off-by: ...
3a94f7bf708848ff19ac41071b4dcf4a60252d95 authored over 3 years ago by Elias Naur <[email protected]>
The recent changes to the compute shaders have fixed all errors
previously reported by fxc. Swit...
Apparently, exec.Command.Output waits for winepath's grandchildren to
exit. However, that may ta...
Wine tools can be slow to run, so it makes sense to batch their use.
Fortunately, winepath suppo...
dxc exists for Linux, and seems to work.
Signed-off-by: Elias Naur <[email protected]>
3b3d41a7ea4a2f68df7a166029b0f10c3cc2b1c3 authored over 3 years ago by Elias Naur <[email protected]>
Literal strings are a more compact than literal byte slices. A future
change will switch to go:e...
Raw strings with linebreaks are easier to read and produce smaller
diffs.
Signed-off-by: Elias ...
fbee13a07d2c491106cbec8aea67a9663aaa9f25 authored over 3 years ago by Elias Naur <[email protected]>
F10 has a special meaning on Windows, if the default handler runs the
first key press following ...
A Window can now be requested to change its options after
it has been started via its Option met...
Signed-off-by: Inkeliz <[email protected]>
96840772c75cd62229ab7fd7efda402e3951e7cb authored almost 4 years ago by Inkeliz <[email protected]>Added (*w.window).Option methods to the backends and use them for setting the initial options pa...
ce7f0da06ee396897d2ca08513613142fb599d92 authored almost 4 years ago by pierre <[email protected]>Signed-off-by: pierre <[email protected]>
b77c1628f3e342e16484495aa8e472438e498593 authored almost 4 years ago by pierre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
662cd2e97ab00ab6784f4c18885e6b78b20f65eb authored almost 4 years ago by Elias Naur <[email protected]>Switching to pointer values in Options, including using window manager defaults for size and tit...
6330caad952f3a2c1a14b663b6df5462ce1ea55d authored almost 4 years ago by pierre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
9d7b57f74aacb5dd2120b2372e419062fb7fa09a authored almost 4 years ago by Elias Naur <[email protected]>
Changes:
- faster implementation of RGBA output
- fix stroked clips and images
Signed-off-by: E...
ebf2dcea507e0478efbb6118f3d55b84f7a7e024 authored almost 4 years ago by Elias Naur <[email protected]>Fixes #185.
Signed-off-by: pierre <[email protected]>
5e1a662b940dd1177395e95999980f97c000d2c4 authored almost 4 years ago by pierre <[email protected]>Fixes gio#210
Signed-off-by: Elias Naur <[email protected]>
f3d75f38a9246c201a2e2a241c9c7c18131c7d9d authored almost 4 years ago by Elias Naur <[email protected]>Without logging, a failing child result in nondescript errors such as
windows_test.go:126: exit...
217f3f4de6ff58c516380e530598225902cd89d1 authored almost 4 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e49afe7fa14682c4129e8fecf510db951f2dfe74 authored almost 4 years ago by Elias Naur <[email protected]>Some tests are so verbose they hide the relevant error messages.
Signed-off-by: Elias Naur <mai...
c2e0910c8bb9d9f0c4312f1325e0a9d7a2fd568d authored almost 4 years ago by Elias Naur <[email protected]>Fixes gio#208
Signed-off-by: Elias Naur <[email protected]>
17ba8e28af4a2c9763de72b612e76746f40b28f1 authored almost 4 years ago by Elias Naur <[email protected]>
Currently, the redraw is called inside js.FuncOf. That PR moves the
redraw to the main function,...
Signed-off-by: Inkeliz <[email protected]>
416094a82c573541a061889b0227793444968c1a authored almost 4 years ago by Inkeliz <[email protected]>Signed-off-by: pierre <[email protected]>
3e525a0393ae23dc6808c49a009b23780674f2f5 authored almost 4 years ago by pierre <[email protected]>Counting the number of displayed elements via the ListElement function is incorrect.
Signed-off...
b796dd8e3bff5528190383409bdae8a303343ce4 authored almost 4 years ago by pierre <[email protected]>
That patch makes possible to generate Android App Bundle (`.aab`) instead
of APK. In order to ge...
The option field WindowMode allows changing the window mode of an application in either Windowed...
238dd1aa863ef9fc5a693a1a40ae7fc1f091d907 authored almost 4 years ago by pierre <[email protected]>
Before this change, the two renderers both had special case code for
approximating strokes they ...
Signed-off-by: Elias Naur <[email protected]>
06c53c3777d7d66ae52387accdcb273466a98d8e authored almost 4 years ago by Elias Naur <[email protected]>Pure refactor, preparing for use in op/clip.
Signed-off-by: Elias Naur <[email protected]>
0a4b6549da3bbf729a7c650794a5403dc49b0dd4 authored almost 4 years ago by Elias Naur <[email protected]>
To avoid an import cycle in a future change, internal/stroke can no
longer import op/clip. Move ...
Both Path.Arc and the internal stroke package needs to support arcs;
this change isolates the ap...
Complex strokes are not yet supported in either of the current renderers,
so they are converted ...
Fixes the glfw example where Gio content is composited (alpha blended)
on top of custom content....
In the old renderer, all strokes are converted to filled paths. The new
renderer can draw simple...
The fill mode is now controlled by a SetFillMode command, not by flags
on each path segment and ...
The new compute renderer can draw simple strokes. Test that clipping
works with a stroke basis, ...
Signed-off-by: pierre <[email protected]>
ac800a9d8f26b1a2ec107ed5ba834d63c1ff07cb authored almost 4 years ago by pierre <[email protected]>
There was a special case for optional symbols for macOS/iOS. It turns out
dlsym(3) works as expe...
Otherwise the padding we leave around rendered materials may contain
content from reclaimed mate...
Signed-off-by: pierre <[email protected]>
4d4b3a627a236fcac2f8c51294796147c83ed5b1 authored almost 4 years ago by pierre <[email protected]>
This is another attempt at fixing the issue described in [0], the
previous attempt was reverted[...
Border can be expressed in-terms of clip.Stroke:
clip.Stroke{
Path: clip.UniformRRect(r...
These can be nicely used together with clip.Stroke.
Signed-off-by: Egon Elbre <egonelbre@gmail....
fecfbbb050da50dc111cffafcf8dc16a7028b745 authored almost 4 years ago by Egon Elbre <[email protected]>Hoping to fix Wayland flakes:
TestEndToEnd/X11_using_go_import_path: e2e_test.go:102: starting...
a50a0db3a2fbe7672b00b628b324f097b7484959 authored almost 4 years ago by Elias Naur <[email protected]>This avoids issues with floating point drift.
Signed-off-by: Egon Elbre <[email protected]>
d994d092ae722d7a42b09d3db6b301abe58fc018 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
b9f2e0fb41c008c222d50f8ab754aa1ad76dd18f authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Egon Elbre <[email protected]>
ee8e267d221153e00406029d658ab72bb565fea3 authored almost 4 years ago by Egon Elbre <[email protected]>
This is effectively a revert of [0], reintroducing the path gaps
described in [1]. A follow-up c...
Floating point error may accumulate and the round rect may not
necessarily close up entirely. Ad...
Fixes gio#204.
Signed-off-by: pierre <[email protected]>
e0262c20e39d2ce26d1f705b04daecd2c4a36b7a authored almost 4 years ago by pierre <[email protected]>
There's an argument that rounded caps and joins are the simplest stroke,
in that it can be defin...
Signed-off-by: pierre <[email protected]>
8a7a5a4ca43ad7e4c80fa5d17761ae69ce5dca14 authored almost 4 years ago by pierre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
c4850e876d02439eadd951ad615003b1c04d335e authored almost 4 years ago by Elias Naur <[email protected]>The compute renderer supports cubic curves, so encode them as such.
Signed-off-by: Elias Naur <...
9e79cee44789c4a3bb525b278dc61143b3b60bf9 authored almost 4 years ago by Elias Naur <[email protected]>Uint32 is the garbage-free and more efficient version of Slice.
Signed-off-by: Elias Naur <mail...
fdfa48108286508caaebb253ed138c201a03cc54 authored almost 4 years ago by Elias Naur <[email protected]>
We're about to encode clip.Paths with the format compatible with the
compute renderer. This chan...
We're about to let clip.Path use more of the compute renderer features
(lines, cubic béziers). T...
The new renderer supports lines natively; encode them as such and
convert them to a quadratic be...
Signed-off-by: Elias Naur <[email protected]>
07572387e3f269a849926b9285cbb28c3feee577 authored almost 4 years ago by Elias Naur <[email protected]>
Since clip.Path now encodes paths in the format expected by
elements.comp, use that data directl...
The check for path segments in gpu is redundant; clip.Op.Add doesn't add
the Path op if there we...
All functions left in the old package unsafe were provided byte slice
views of other types. Rena...
Move SliceOf to the package of the only user and unexport it.
Signed-off-by: Elias Naur <mail@e...
86f10e33d72c59254297fcb2901136cf7c1be754 authored almost 4 years ago by Elias Naur <[email protected]>
The only users were GOOS=windows code, which can use
golang.org/x/sys/windows.BytePtrToString in...
Outline represents a clipping operations that clips all drawing outside
a closed path. Before th...
Signed-off-by: Elias Naur <[email protected]>
4b377aa896373062db0f9d289d0111a29e8fa4b0 authored almost 4 years ago by Elias Naur <[email protected]>
This change tracks materials so that only the updated materials needs to
be rendered.
Materials...
3a3ec711d388a76bfb1956d3496236cf0b8a7017 authored almost 4 years ago by Elias Naur <[email protected]>
We're about to cache the transformed materials. It's easier to do when
quads can be constructed ...
Signed-off-by: Elias Naur <[email protected]>
57750fc8a0a6d5195a2bfeada0a050b2266c16f5 authored almost 4 years ago by Elias Naur <[email protected]>
The CPU fallback of the compute renderer needs ReadPixels data in OpenGL
format (origin at botto...
For android this provides ACCESS_NETWORK_STATE
Signed-off-by: Peter Sanford <[email protected]>
2aa1cc81126097715c2606af2cfb27ad927f8088 authored almost 4 years ago by Peter Sanford <[email protected]>Regression test for 44991f355cc9938d02dc500062a20a8a61ac2cfa
Signed-off-by: Egon Elbre <egonelb...
5393a051101bd40829fae33abb0011420994b800 authored almost 4 years ago by Egon Elbre <[email protected]>Signed-off-by: Elias Naur <[email protected]>
cb1defbc63d1f58d2e50d6411bdb770062c31678 authored almost 4 years ago by Elias Naur <[email protected]>
Package wm (for "window manager") is a better fit for the package, and
distinguishes it from the...
"driver" is the new more specific name for gpu backends.
Signed-off-by: Elias Naur <mail@eliasn...
91a14c7fa235651187338ab737304a3b1c021077 authored almost 4 years ago by Elias Naur <[email protected]>
Now that the OpenGL driver package is named "opengl", we can finally get
rid of the ugly "glimpl...
Signed-off-by: Elias Naur <[email protected]>
26d9e7fe5f05fe353423fa462f86e30d57bb4491 authored almost 4 years ago by Elias Naur <[email protected]>
It is no longer necessary for outside users of package gpu to explicitly
initialize a specific d...
There are no longer any importers of package backend outside of
gioui.org/gpu. Move it internall...
The package app/internal/d3d11 now contains only the GPU backend on
Direct3D. Move it below pack...
The convert program is only used by the shaders from package gpu, and
we're about to make the ba...
Package headless is more about rendering that windows. Move it
accordingly.
Signed-off-by: Elia...
2a66bfb2b4fe2d1b86a701521d40c8be45f08119 authored almost 4 years ago by Elias Naur <[email protected]>
We're about to move app/headless to gpu/headless, and it imports
cocoainit.
Signed-off-by: Elia...
5a9edc9af85d3f6be409bcbd86f9fc29ea40f531 authored almost 4 years ago by Elias Naur <[email protected]>
We're about to move package app/headless to gpu/headless, and it needs
the egl package.
Signed-...
3af4e6accfbfcadc37403ece3bd4a98ff8bd59ba authored almost 4 years ago by Elias Naur <[email protected]>
We're about to move app/headless to gpu/headless, and it imports
package srgb indirectly.
Signe...
86d17efc2c9f7ec045c271b3b2bf26e6070f17e9 authored almost 4 years ago by Elias Naur <[email protected]>
We're about the merge the Direct3D backend into package gpu. Extract the
raw Direct3D API to its...
NewDevice creates a Device given an API, which is the necessary GPU
resources for a backend.
Co...
8ff6546285319c5e9c4825f83ba1cc83648cd648 authored almost 4 years ago by Elias Naur <[email protected]>