~eliasnaur/gio-patches

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH gio] app: change clear color to transparent

Paulo Melo
Details
Message ID
<20210215174911.63040-1-paulo.durrer.melo@gmail.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
on wasm canvas the background can be transparent.
this change is to permit the usage of black transparent instead
of white opaque.

Signed-off-by: Paulo Melo <paulo.durrer.melo@gmail.com>
---
 app/loop.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/loop.go b/app/loop.go
index cf00c41..0dadeac 100644
--- a/app/loop.go
+++ b/app/loop.go
@@ -86,7 +86,7 @@ func (l *renderLoop) renderLoop(ctx window.Context) error {
				l.refreshErr <- ctx.MakeCurrent()
			case frame := <-l.frames:
				ctx.Lock()
				g.Clear(color.NRGBA{A: 0xff, R: 0xff, G: 0xff, B: 0xff})
				g.Clear(color.NRGBA{A: 0x00, R: 0x00, G: 0x00, B: 0x00})
				g.Collect(frame.viewport, frame.ops)
				// Signal that we're done with the frame ops.
				l.ack <- struct{}{}
-- 
2.26.2

[gio/patches] build failed

builds.sr.ht
Details
Message ID
<C9AB2UCNPD3I.9UC43JF94O85@cirno>
In-Reply-To
<20210215174911.63040-1-paulo.durrer.melo@gmail.com> (view parent)
DKIM signature
missing
Download raw message
gio/patches: FAILED in 20m48s

[app: change clear color to transparent][0] from [Paulo Melo][1]

[0]: https://lists.sr.ht/~eliasnaur/gio-patches/patches/20286
[1]: mailto:paulo.durrer.melo@gmail.com

✗ #427003 FAILED  gio/patches/linux.yml   https://builds.sr.ht/~eliasnaur/job/427003
✓ #427001 SUCCESS gio/patches/apple.yml   https://builds.sr.ht/~eliasnaur/job/427001
✓ #427004 SUCCESS gio/patches/openbsd.yml https://builds.sr.ht/~eliasnaur/job/427004
✓ #427002 SUCCESS gio/patches/freebsd.yml https://builds.sr.ht/~eliasnaur/job/427002
Reply to thread Export thread (mbox)