~eliasnaur/gio

gpu/shaders: [compute] remove unused command from kernel4

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: [compute] use correct usage flags for output image

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gogio: fix icon/resources for Android

Previously that patch, gogio unzip the `link.apk` (generated by AAPT2) to an temporary folder and then compress it again to a new `app.ap_` file.

For some unknown reason, that unzip-then-zip doesn't work. The resources are included but is corrupted in somehow. That PR aims to fix that by avoid the extraction to an temporary folder.

Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
app/internal/window: fix Wayland clipboard reading

The Wayland protocol implicitly dup(2)s the pipe write end descriptor passed to
wl_data_offer_receive. As long as we also have an open descriptor for the write
end, the pipe will not close and signal the completion of the clipboard read.

This change explicitly and immediately closes our write descriptor. Before this
change, reading the Wayland clipboard worked with some delay because the Go
garbage collector closed the write end of the transfer pipe after some time.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: [compute] fix path gaps by eliminating redundant path points

See https://github.com/linebender/piet-gpu/issues/62 for description
of the issue. The fix is the Gio copy of the piet-gpu fix.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: [compute] use array type for scene elements

All scene elements have a fixed size in uint32s. Model them accordingly.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: [compute] pre-transform images before rendering

We're about to change the last stage of the compute pipeline to only
accept images, not sampled textures. This change prepares materials
for pixel-aligned image copying by pre-rendering images to a texture,
applying transforms.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu/shader: fix mem.h comments

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gogio/testdata: always clear background to white

The webassembly port changed to use transparent black to allow content
below Gio to show through. However, the end-to-end tests expect a white
background.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
.builds: enable headless rendering tests on FreeBSD

Signed-off-by: Elias Naur <mail@eliasnaur.com>
cmd/gogio: remove obsolete headless chrome workaround

The two listed issues are fixed, and the builders pass with the
workaround removed.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
.builds: don't set EGL_PLATFORM for chrome tests

EGL_PLATFORM=surfaceless allows rendering tests to complete in headless
mode. However, the headless chrome tests fail with that setting. Change
the linux builder to only set the variable when needed.

Enable verbose output of tests while here. We can keep an eye on skipped
tests that way.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app: change background for js

Default window background is white.
JS default background is transparent black.

Signed-off-by: Paulo Melo <paulo.durrer.melo@gmail.com>
.builds: remove cross compiler arguments

A recent change to the native toolchain or system on the builder infrastructure
made the arguments for the apple cross compiler needed always, not just in
CGO_CFLAGS and CGO_LDFLAGS.

Remove them altogether and rely on a recent change to the giouiorg repository
for including them in the clang-ios and clang-macos wrappers.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
a8a48bb8 — vsariola 2 months ago
widget: fix bug how f.pos is calculated in widget.Float

The order of subtraction when calculating f.pos from value was wrong,
so setting a minimum value for a Float never really worked, although
min = 0 worked as intended which is why this probably went unnoticed.

Signed-off-by: vsariola <5684185+vsariola@users.noreply.github.com>
internal/cmd/convertshaders: use wine for running the HLSL compiler

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: give compute.atlas a more precise name, reset atlas efficiently

Refactor only, in preparation for adding another atlas with pre-processed
materials.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu/gl: add support for read-only images to BindImageTexture

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: replace toRectF with layout.FRect

Signed-off-by: Elias Naur <mail@eliasnaur.com>
io/pointer: added the grab cursor

Signed-off-by: pierre <pierre.curto@gmail.com>
widget/material: use more readable editor default selection color

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
Next