~wrnr/gio unlisted

example/gesture/gesture.go: Example of pinch gesture
Signed-off-by: Werner Laurensse
app/internal/window/os_macos.go: Only lookup magnification or rotation when necessary
Signed-off-by: Werner Laurensse
app/internal/window/{gl_macos.m|os_macos.go}: Support pinch and rotate event on osx
io/pointer/pointer.go: Add Pinch and Rotate pointer.Type
Signed-off-by: Werner Laurensse
widget/material: remove unused fill helper

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
widget/material: update buttons to use new paint Fill API

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
op/paint: add Fill helpers for painting an area with a solid color

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
op/clip: add UniformRRect to create rects with uniform corner radii

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
op/clip: export Op method of clip shapes

This allows passing the resulting clip.Op types into functions that
draw shapes.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
cmd/gogio: use GOOS=ios to target iOS with Go 1.16 and newer

Signed-off-by: Elias Naur <mail@eliasnaur.com>
gpu: delete redundant drawOps.reset

Noticed by Steve Lam

Signed-off-by: Elias Naur <mail@eliasnaur.com>
.builds: fix apple builder

The python package is gone, we may not need it and/or Debian installs
python3 by default.

curl is needed for automatically applying patches from the mailing list.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
f32: optimize Affine2D

encode/decode seem to introduce significant overhead. Inline them
manually. It'll make code harder to read, however the performance wins
are significant.

name \ time/op                 before       after        delta
TransformOffset-32             2.64ns ± 0%  0.25ns ± 0%   ~     (p=0.100 n=3+3)
TransformScale-32              2.64ns ± 0%  0.25ns ± 1%   ~     (p=0.100 n=3+3)
TransformRotate-32             2.65ns ± 0%  0.24ns ± 3%   ~     (p=0.100 n=3+3)
TransformTranslateMultiply-32  42.5ns ± 0%  12.9ns ± 0%   ~     (p=0.100 n=3+3)
TransformScaleMultiply-32      42.6ns ± 0%  12.9ns ± 0%   ~     (p=0.100 n=3+3)
TransformMultiply-32           42.2ns ± 0%  12.9ns ± 2%   ~     (p=0.100 n=3+3)

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
cmd/gogio: lower minimum OpenGL ES to 2.0 on Android

The Fairphone 2 only supports OpenGL ES 2.0, but otherwise seems
capable of running Gio. By lowering the minimum requirement, Gio apps
will be available in the Play Store for Fairphone 2 devices.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
layout: added documentation

Added comment on the use of Dimension.Baseline and Direction.Layout constraint minimum clearing.
Also, renamed the Direction receiver for consistency and removed unnecessary conversions.

Signed-off-by: Pierre.Curto <pierre.curto@gmail.com>
io/system: note CommandEvent is delivered as a pointer

For gio#163

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget: update Editor dimensions after input

Fixes gio#162

Signed-off-by: Elias Naur <mail@eliasnaur.com>
internal/f32color: add colorspace-correct function for alpha scaling

Package material's ad-hoc mulAlpha didn't take the sRGB color-space
into account, which meant that alpha-scaled colors were subtly wrong.
Introduce f32color.MulAlpha and convert all uses to it.

Thanks to René Post for finding and debugging the issue.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
app/internal/window: default to X11 on unix systems

Wayland doesn't guarantee the presence of server-side window decorations
(border, close/maximize/minimize buttons), and Gio doesn't have client-side
decorations either (issue #29). The issue is more than a year old, so it's time
to default to X11 to have a good out-of-the-box experience on unix systems.

Updates gio#29

Signed-off-by: Elias Naur <mail@eliasnaur.com>
widget: delete whole words with key modifier

Delete entire words with key modifier, ie "ctrl + delete".

Signed-off-by: Jack Mordaunt <jackmordaunt@gmail.com>
widget: make editor skip words with key modifier

Signed-off-by: Jack Mordaunt <jackmordaunt@gmail.com>
app/permission/camera,cmd/gogio: add support for camera permission

Signed-off-by: Sebastien Binet <s@sbinet.org>
Next