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]>
43c5082dab6a1960f9d79e7a4f439a98d8470a5f authored over 3 years ago by Elias Naur <[email protected]>
Icons are meant to be shared among multiple widgets, but their Color
state may end up with unexp...
This change adds a CPU fallback for devices that don't support the old
renderer nor have GPU sup...
The compute renderer doesn't run on Windows yet, but the d3d11 backend needs
the method to satis...
The CPU fallback for the compute renderer is contained in a separate
module for space reasons, b...
Refactor only; separateTransform is needed in the following change.
Signed-off-by: Elias Naur <...
318ddd06441be23fdaa6eec11f600aad5b1763e2 authored over 3 years ago by Elias Naur <[email protected]>
The compute renderer is more expensive to run than the old renderer on
low-end GPUs, and even mo...
The hash of the clipping paths that affect drawing operations are computed
and used to quickly d...
To re-use previously cached layers, the compute renderer must know
whether two drawing operation...
To re-use drawing operations common to two layers, every operation must
exactly match, including...
The performance difference is negligible, but is useful when the compute
pipeline can skip rende...
Rename all resource release methods to "Release", and release all
resources with a slice and loo...
Until now, the two renderers have shared structures and code for
decoding drawing ops and conver...
The CPU fallback of the compute renderer needs to upload subtextures
from a larger image.
Signe...
60a47e7de5644265328577b3959f8bd46f0e8b97 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
b7a983d7ff1bf51b175036b4a7de6df579f822d4 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
9188690e9ed18c9b4b692a2db3c29e99c5df903b authored over 3 years ago by Elias Naur <[email protected]>I gave up figuring out how to run it under Go 1.17.
Signed-off-by: Elias Naur <[email protected]>
a77d74f20a3e71be49b196a59d8510cbd6e35a84 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
17e9896e584b062c4498539dd6e9ee064bfaa249 authored over 3 years ago by Elias Naur <[email protected]>
Otherwise, making a context current on another thread may result in
an EGL_BAD_ACCESS error.
Fi...
7da315eb2b6e72f0ff7d4d95410bc43df161359f authored over 3 years ago by Elias Naur <[email protected]>
The CPU fallback renderer relies on posix_memalign, which was exposed in
Android 4.2. Support fo...
They're automatically added by Go 1.17 source formatters. This change
adds them all now.
Signed...
060ae1cdf9e11f0a3c13438beafc9f459aea6e3b authored over 3 years ago by Elias Naur <[email protected]>This is a port of https://github.com/linebender/piet-gpu/pull/108.
Updates gio#214
Updates gio#...
The transformation information in ops.Key is a layer violation.
Introduce a key type specific to...
Fixes gio#245
Signed-off-by: Elias Naur <[email protected]>
e4fe56c456eb5586698670143980f937433d9f6c authored over 3 years ago by Elias Naur <[email protected]>Updates gio#245
Signed-off-by: Elias Naur <[email protected]>
ca5a05bb359f64ea148543398cd16b9e428de1fa authored over 3 years ago by Elias Naur <[email protected]>
Releasing the renderer is fine, but releasing the underlying context
introduces flicker when res...
This commit ensures that the dimensions returned by material.List
include the size of the scroll...
This change ensures that the scrollbar anchors to the proper edge of the
content even when the l...
For some reason, commit d331f63d20c706cba1688d76c68241fc1844f160 didn't
update the generated cod...
Move the code from Java to Go.
Signed-off-by: Inkeliz <[email protected]>
ca722508ce9438db4bb924d196e1c29b29d1980a authored over 3 years ago by Inkeliz <[email protected]>
The scrollbar implementation prior to this change only adjusted
list.Position.Offset. This works...
To use these lists instead of layout.List, callers simply need to
change declarations of layout....
This commit adds a Length field to the
layout.Position. This field contains an approximation
of ...
This is a breaking change as Icon.Layout no longer requests a size.
Before:
sz := unit.Dp(20)...
This creates a floating-point analog to layout.Axis.Convert
for converting from (x,y) coordinate...
Signed-off-by: Elias Naur <[email protected]>
d331f63d20c706cba1688d76c68241fc1844f160 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
a87206c3647cbcb9b8706a5fcd11e2e4508ab946 authored over 3 years ago by Elias Naur <[email protected]>Found by Christophe Meessen.
Signed-off-by: Elias Naur <[email protected]>
bc7f7f670611c5f97193ccb7b9ce80710f00e84d authored over 3 years ago by Elias Naur <[email protected]>
That change makes the Samsung Keyboard compatible with Gio, with minimal
changes.
Fixes gio#116...
5b8da35a798bfe4aa106ecdda979c7a4d4f787ab authored over 3 years ago by Inkeliz <[email protected]>
The platform GPU context must be Refreshed on the window event thread,
but our rendering loop mu...
Updates gio#235
Signed-off-by: Elias Naur <[email protected]>
f24232dac52e539025a0f02017359442ad100838 authored over 3 years ago by Elias Naur <[email protected]>Updates gio#235
Signed-off-by: Elias Naur <[email protected]>
75c9736708723a121ab44c381edaf61f2625a6ad authored over 3 years ago by Elias Naur <[email protected]>
The app.Window owner may run SetAnimating just before window close,
which in turn rely on an act...
The macOS app menu would respond to clicks, only to shotcuts (Cmd-Q,
Cmd-H). Moving setActivatio...
Signed-off-by: Elias Naur <[email protected]>
e256d52409a05c6c649be1bea4fe6015adf77617 authored over 3 years ago by Elias Naur <[email protected]>
The NSViewGlobalFrameDidChangeNotification notification is documented to
be fired every time [NS...
To ease the integration with foreign OpenGL contexts, carefully save the
context state before re...
Signed-off-by: Elias Naur <[email protected]>
200957f92455f425923bf9265917896838ea1733 authored over 3 years ago by Elias Naur <[email protected]>Fixes gio#224
Signed-off-by: Inkeliz <[email protected]>
39eeaaff941d93a4f8218c4303442aa86d8dbf3f authored over 3 years ago by Inkeliz <[email protected]>
Now, it's possible to use `app.Fullscreen` on Android devices. It uses
the "Fullscreen Sticky Im...
Signed-off-by: Inkeliz <[email protected]>
1842b61935361fde41bc88f7672c20e1945079d6 authored over 3 years ago by Inkeliz <[email protected]>Signed-off-by: Inkeliz <[email protected]>
c92a75948d919e8bdec4b8ae244c218b41d9f466 authored over 3 years ago by Inkeliz <[email protected]>Fixes gio#233
Signed-off-by: Inkeliz <[email protected]>
b4e6d3efba0c5c098da2b021520b470e9986bb0e authored over 3 years ago by Inkeliz <[email protected]>Signed-off-by: Inkeliz <[email protected]>
dd86c9706f5d6db676f33821e3785c30172112aa authored over 3 years ago by Inkeliz <[email protected]>Fixes gio#230 (again)
Signed-off-by: Elias Naur <[email protected]>
b0b469d54044090b5b80d0822513f212d35359e3 authored over 3 years ago by Elias Naur <[email protected]>
Previously, the on-screen keyboard always displays the text keyboard,
(QWERTY or equivalent).
F...
9b4b91fec0828f47c01992970b000dfbc21f3530 authored over 3 years ago by Inkeliz <[email protected]>Signed-off-by: Elias Naur <[email protected]>
e68ee35c86cb317e36af2b67cbaab9a4c4f41bca authored over 3 years ago by Elias Naur <[email protected]>
Instead of a single racy window.driver field, maintain a driver
reference for each goroutine tha...
Fixes gio#231
Signed-off-by: Inkeliz <[email protected]>
965792c1a908ca7b3efcdd1014a2cadc7c3b1a52 authored over 3 years ago by Inkeliz <[email protected]>
This changes moves the macOS specific setup for desktop OpenGL to the
portable opengl package. T...
Attempting to fix a segmentation during make.bash.
Signed-off-by: Elias Naur <[email protected]>
c21897620b072c8732394ac0b97ef18bb91a6786 authored over 3 years ago by Elias Naur <[email protected]>The C functions can then be static, and we save a set of declarations.
Signed-off-by: Elias Nau...
5f631209eadd1f957654210be55f6b2281836234 authored over 3 years ago by Elias Naur <[email protected]>
The previous change wasn't enough, because the `dead` channel wasn't
being closed in an orderly ...
Signed-off-by: Elias Naur <[email protected]>
d5b70c439cf5d36fd989880cea10d58ea132746a authored over 3 years ago by Elias Naur <[email protected]>
The event input channel is closed after receiving a DestroyEvent, to
catch any events erronously...
The WriteTo, Seek, Read methods implement a more efficient access to
the Editor content than Tex...
Native window callbacks now run in the same context as the event loop.
However, a call to Close ...
GioActivity is final to avoid the brittle base class problem. However,
to permit replacement of ...
Upgrade gogio's version of the gioui.org module while here.
Signed-off-by: Elias Naur <mail@eli...
a7be7cc22bd027fcbad357ee5573bf512750f3aa authored over 3 years ago by Elias Naur <[email protected]>
app.Window implements a method for safely running functions against the
underlying native window...
Signed-off-by: Elias Naur <[email protected]>
c91493516963c1752ab92c6e5cc69f8d72f6a798 authored over 3 years ago by Elias Naur <[email protected]>
Move the deprecated setWantsBestResolutionOpenGLSurface to GL-specific
code while we're here.
S...
1ec408280e5358949c5de30bc988be6613594821 authored over 3 years ago by Elias Naur <[email protected]>
CustomRenderer disables the construction and binding of a GPU
context to the Window. Combined wi...
Signed-off-by: Elias Naur <[email protected]>
d1f2f61ebf908b131c015664eb8105cb59993411 authored over 3 years ago by Elias Naur <[email protected]>
Desktop OpenGL implements a GL_FRAMEBUFFER_SRGB setting; query that instead
of the frambuffer co...
macOS is the only platform where desktop OpenGL is used. To support
foreign ANGLE contexts add a...
After handling WM_DESTROY, the system will destroy the window for us.
This change makes sure des...
We're about to load OpenGL function pointers into gl.Function structs.
Make sure iOS internally ...
When using Gio with ANGLE, the isFlipped coordinate system flip will
apply to rendering as well....
Signed-off-by: Elias Naur <[email protected]>
351ede917ccb9850518b0ab7af8d4bed5b6824f8 authored over 3 years ago by Elias Naur <[email protected]>
Programs such as gio-example/glfw rely on Gio drawing blending with
the framebuffer background. ...
Signed-off-by: Elias Naur <[email protected]>
d5fc7fc8f68659a3378e0a62bdaf091e71e6e291 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
566b4b166bc7b498b9cff9c6ea723ce15832fdc4 authored over 3 years ago by Elias Naur <[email protected]>There is only one driver but several backends (EGL, WebGL).
Signed-off-by: Elias Naur <mail@eli...
21c319ace557472c1440c7b098739d234b8371c9 authored over 3 years ago by Elias Naur <[email protected]>
glFinish depends on package gl which is about to require a function
pointer loader. eglWaitClien...
NSOpenGLContextView couples the window manager logic tightly with
OpenGL. Use generic NSViews, a...
The caller should ensure the proper destruction.
Signed-off-by: Elias Naur <[email protected]>
fcca1c11ee1b2b9739a616d75311d0af3746355e authored over 3 years ago by Elias Naur <[email protected]>It's only used for the backwards incompatible macOS GL core profile.
Signed-off-by: Elias Naur ...
d6859744baf05a5f91dd5d57d9ca4b5a55de4376 authored over 3 years ago by Elias Naur <[email protected]>Apparently, Cgo can link to static C functions from the preamble.
Signed-off-by: Elias Naur <ma...
551c43b502643e405c4b59cefb0fd7cc88b50b15 authored over 3 years ago by Elias Naur <[email protected]>Signed-off-by: Elias Naur <[email protected]>
82fff0178bed10337c6b6ae781f2cac08f7a0b10 authored over 3 years ago by Elias Naur <[email protected]>
The clear background is the most useful, and the old behaviour can
be achieved by filling the en...
The old renderer depends on the old behaviour of Union, so change that
reference to a copy.
Sig...
3322e211c921fd47f312f28694670855dd10115f authored over 3 years ago by Elias Naur <[email protected]>
GPU operations logically belong in the Frame method, and it's probably
best to keep them inside ...
Signed-off-by: Elias Naur <[email protected]>
d43f513e638469194bc02bc689c4623ec42ca3eb authored over 3 years ago by Elias Naur <[email protected]>
The current renderer transforms and processes paths before sending them
to the GPU. It can compu...
Signed-off-by: Elias Naur <[email protected]>
f6550271100ff58696b27357005c798a003343e8 authored over 3 years ago by Elias Naur <[email protected]>
Collect is for converting ops to GPU commands, Frame is for actual
rendering. There's little pra...
In the new compute renderer, clipping to a complex shape is slower than
filling it. Swap the cli...
Signed-off-by: Inkeliz <[email protected]>
d51d8b46c3c7f9c695be344e2a9fb681995f74d1 authored over 3 years ago by Inkeliz <[email protected]>Instead of
app.WindowMode(app.Fullscreen)
programs can now just use
app.Fullscreen
Signed-of...
a06a7a4b3c1078e876816862227b5cfcea915070 authored over 3 years ago by Elias Naur <[email protected]>