Elias Naur
42d2c98455
app/internal/gpu: clip in floating point
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-17 15:30:37 +02:00
Elias Naur
0c75e7c605
app/internal/gpu: don't apply gamma linearization to alpha values
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-17 14:35:10 +02:00
Elias Naur
88208891de
op/paint,app/internal/gpu: post-process paths during GPU upload
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-14 22:51:52 +02:00
Elias Naur
74407a50d5
op/paint: add NewImageOp, unexport ImageOp fields
...
With public ImageOp fields there was no way to mark an image.Image as modified.
Replace them with NewImageOp that always make a copy, and use the opportunity
to ensure the copy is ready to upload to a GPU texture.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-10-14 18:06:50 +02:00
Elias Naur
beaec661d2
op/paint: move paint package below the op package
...
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-30 16:55:47 +02:00
Elias Naur
8cf35a1f97
op: add package op for operations
...
Extract operation types from package ui into package op.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-30 16:55:47 +02:00
Elias Naur
22cd88df9f
all: rename the gioui.org/ui module to gioui.org
...
The "ui" is redundant and stutters.
Signed-off-by: Elias Naur <mail@eliasnaur.com >
2019-09-30 12:37:06 +02:00