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

app: fix build on FreeBSD

Somehow, the explicit include and library directories needed for OpenBSD
are required for FreeBS...

d5d0a75a9bcb1abc4662efdd35204efade69fbb3 authored over 3 years ago by Elias Naur <[email protected]>
app: ignore app.Size when in fullscreen mode

Setting the window size while in fulscreen mode does not make sense.

Fixes gio#220

Signed-off-...

e92ca233f5b1175be8fd2369da763cb933f82e35 authored over 3 years ago by Pierre Curto <[email protected]>
gpu: [compute] don't leak driver.Device instance

Signed-off-by: Elias Naur <[email protected]>

173f14be78d2386ff92cb47448b9f278e99533da authored over 3 years ago by Elias Naur <[email protected]>
app: add Window.Raise to bring a window to the front

Fixes gio#252

Signed-off-by: Pierre Curto <[email protected]>

2f66ed1dc80e71f76b0c1aa9905feac1f8735701 authored over 3 years ago by Pierre Curto <[email protected]>
app: [X11] honour _NET_WM_STATE protocol

The _NET_WM_STATE protocol description[0] states that to change the
window mode for an X11,

"To...

c5d4e01e3d8fb5962be154ef098ac5fcb915ff78 authored over 3 years ago by Elias Naur <[email protected]>
app: fix invalid NewWindow config on X11

Signed-off-by: Pierre Curto <[email protected]>

b3751dd9ab8df9b052c6fad1f0c36a18fafcac73 authored over 3 years ago by Pierre Curto <[email protected]>
gpu: don't leak GPU buffer from sizedBuffer.Release

Signed-off-by: Elias Naur <[email protected]>

f3f4bacb1c87814530f67d6d37ca644e4890703a authored over 3 years ago by Elias Naur <[email protected]>
app: add Window.Config, export app.Config

A Window configuration with its current option values can now be fetched during a FrameEvent.

T...

bdc2f3f4e860cacace7937a13233d6377507c0a4 authored over 3 years ago by Pierre Curto <[email protected]>
build: check gofmt and sign-off first

Fixes #264

Signed-off-by: Pierre Curto <[email protected]>

30663a71c5a8c846af35048f3497e812a2810d23 authored over 3 years ago by Pierre Curto <[email protected]>
text: add fmt.Stringer implementation for Weight

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

0403b1ff8e49adc09d2d7bd3aaf91f3c21e568e9 authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
app: use driver defer mechanism for changing animation flag

Now that Window.driverDefer can be run in any context, the special case
of setting the animation...

74464f64dca32ecef2a45c182b6d334f7f9a282a authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl: avoid PACK/UNPACK_ROW_LENGTH on WebGL 1

Fixes gio#259

Signed-off-by: Elias Naur <[email protected]>

bde046de549651a921ffcc5e39cf884db2e2839a authored over 3 years ago by Elias Naur <[email protected]>
app: delete workarounds for driver callback deadlocks

Driver methods are invoked during event processing, but some of them may
generate events that wo...

9ffe43bc3a5c24250a6299bb57942aaa7e1161c2 authored over 3 years ago by Elias Naur <[email protected]>
app: introduce Window.driverDefer for blocking functions

Window.driverRun is designed to run functions on the driver event
goroutine, to avoid race condi...

1796f24a38f7a30575d8ea5675177bd325228d94 authored over 3 years ago by Elias Naur <[email protected]>
text/shaper: lookup closest font by weight

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

49a7b2e6f444bc606385207a4eee2c4b6fae7317 authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
app: [Android] simplify invalidate in onFrameCallback

Since onFrameCallback runs on the app UI thread, using plain
invalidate() can be used instead of...

23f6dcb868eb3ba48956eac9cc1688ca20f34b38 authored over 3 years ago by Felix Lange <[email protected]>
cmd/gogio: handle darwin/arm64 in archNDK

This makes gogio builds work for android on darwin/arm64.

Signed-off-by: Felix Lange <fjl@twurs...

0a4de4f88c3f11196cf9976c2d4f269d1502bbdc authored over 3 years ago by Felix Lange <[email protected]>
app: [Windows] avoid deadlock when changing window configuration

Some window configurations lead to WM_SIZE messages when changed, which
leads to deadlock becaus...

d03f6186607067ba04a09689711c6987a1bf7b68 authored over 3 years ago by Elias Naur <[email protected]>
text/shaper: add fmt.Stringer() implementation for Style

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

a5625031a47c5b716dc8722c45727b6920e5db27 authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
text/shaper: update fmt.Stringer() error message for Alignment

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

86b685abe5e2aea54b5486b25b4d700e53b4a3e1 authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
text/shaper: use consistent method receiver name

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

1350b495c81bb47bca730b83954ecefba6f7b36f authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
material: update label type scales to match the MD spec

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

8701c253c3753ed5fef38d076a3888a663a8b629 authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
text: add missing open-type weights

Signed-off-by: Walter Werner SCHNEIDER <[email protected]>

423c8f22ef5ad5c83a9caed5a3c27573cdfa1faa authored over 3 years ago by Walter Werner SCHNEIDER <[email protected]>
.builds: update Google Chrome repository URL

The old one no longer works.

Signed-off-by: Elias Naur <[email protected]>

671f0b18582b7172ae9ab289a82a6c5b1dd5cbbe authored over 3 years ago by Elias Naur <[email protected]>
app: fix build constraints for nowayland,nox11 on OpenBSD, FreeBSD

While here, add new-style //go:build constraints to generated wayland
glue files.

Signed-off-by...

12aa9defe70059e99f7d1948e33f56104e2827d8 authored over 3 years ago by Elias Naur <[email protected]>
cmd/gogio: disable Wayland end-to-end tests

It works for me locally, but not on the builds.sr.ht builder.

Signed-off-by: Elias Naur <mail@e...

9823e040ded24c24229947cf0146ec6b930b284b authored over 3 years ago by Elias Naur <[email protected]>
app: render on event loop thread

Before this change, the renderLoop type implemented a rendering
goroutine for rendering off the ...

4f198b3f87e0ea9888c74cf0092050b63719a284 authored over 3 years ago by Elias Naur <[email protected]>
app: [Android] use simpler postInvalidate instead of Choreographer

Signed-off-by: Elias Naur <[email protected]>

b86928ceecf6800069cfd5a92e5b6f2216367fe5 authored over 3 years ago by Elias Naur <[email protected]>
app: [Android] work around broken EGL surfaces on the emulator

The Android emulator creates a broken EGL surface if it is not created
on the same thread as the...

fd008f39afe53b4e4adb51fb5f4f80428fbc23a4 authored over 3 years ago by Elias Naur <[email protected]>
app: [Android] detach previous View when another is created

The Android system can in some cases replace the GioView of our Android
Activity before destroyi...

07e1df3676f93e423f5cc5fc219a28e209fec6d6 authored over 3 years ago by Elias Naur <[email protected]>
cmd: upgrade gio version

The support files for Android and iOS has moved from package
app/internal/wm to package app.

Si...

ba421fb58307722c5e2a552fa59c176585596aad authored over 3 years ago by Elias Naur <[email protected]>
app: merge app/internal/wm into package app

The app and app/internal/wm packages are tightly coupled, requiring
quite a bit of forwarding ty...

45da52cee7aaa828d793733be0c9c6c4adaaa77b authored over 3 years ago by Elias Naur <[email protected]>
internal/egl: remove unused field

Signed-off-by: Elias Naur <[email protected]>

fe523571410e13442e9de448f47bf6e793605dee authored over 3 years ago by Elias Naur <[email protected]>
app: set the type of the orientation and Windowed/Fullscreen options

Those variables didn't make it clear that they were Options.

Signed-off-by: Pierre Curto <pierr...

8aac73458acf1f5a1ab9288ced06e464eed05d44 authored over 3 years ago by Pierre Curto <[email protected]>
app: update comments for Options

Signed-off-by: Pierre Curto <[email protected]>

4c2087d3758b346d91589f8035648fb9723f4bd2 authored over 3 years ago by Pierre Curto <[email protected]>
gpu/internal/d3d11,internal/d3d11: add DirectCompute support

This change implements support for compute programs in the Direct3D 11
driver. The compute rende...

1362acb85a2360b0ebf4d82f8e381583c715baea authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/d3d11: introduce newBuffer for common buffer creation

Signed-off-by: Elias Naur <[email protected]>

e841288b88b0fa3062ef509c5a27c11046b8631a authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/d3d11: fix partial uploads in Buffer.Upload

Signed-off-by: Elias Naur <[email protected]>

d724f61d06930107d13ea722e86ea59c4479a428 authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal: fix AccessBits to be a bitset and support read+write

Signed-off-by: Elias Naur <[email protected]>

32a4885c006dbf594c795cf782e10ddec450fb7f authored over 3 years ago by Elias Naur <[email protected]>
gpu: [compute] get rid of material regions

The atlas allocations contains enough information to replace regions.

Signed-off-by: Elias Naur...

6818af93907077c1f6a1b78a48d744239019f058 authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/internal: support variable strides in ReadPixels

It saves a roundtrip to scratch memory when the CPU fallback renderer
downloads rendered materia...

7f6e376424973602752b23f1c8013b8a0b5721bf authored over 3 years ago by Elias Naur <[email protected]>
gpu: [compute] support unlimited number of materials and images

This change extends the atlas allocation machinery to images and
materials.

Updates gio#219

Si...

06ffa42d164d38900a8293337ed67e58057c79d1 authored over 3 years ago by Elias Naur <[email protected]>
gpu: [compute] clip image materials to their rendered size

Before this change, transformed images would take up as much atlas
texture space to fit them. Ho...

2749eb91f32d15d2f588d2f6ab5f6941fa9e3af1 authored over 3 years ago by Elias Naur <[email protected]>
gpu: [compute] clip transformed images to their bounds

A follow-up change will cause some transformed images to render outside
their allocated atlas bo...

9e9cb17a5d0d8ad0a8ef391356d986cc4b1164c0 authored over 3 years ago by Elias Naur <[email protected]>
gpu: tolerate changing maximum dimensions in packer.tryAdd

This change allows atlas packer clients to start with large maximum
atlas dimensions, then shrin...

8c2913c2e67a6d5a031f59bbbd887943f4ccfbe5 authored over 3 years ago by Elias Naur <[email protected]>
gpu: optimize atlas packer for smallest sizes

Previously, the packer optimized for the smalles space where the image
fits. Empirically, smalle...

589c94e64b1c94d8947d37c37bf32ab3a702bedc authored over 3 years ago by Elias Naur <[email protected]>
gpu: support rectangular atlas packers

Signed-off-by: Elias Naur <[email protected]>

1d7ed55c2954b1655865d3aec2db368d0452097b authored over 3 years ago by Elias Naur <[email protected]>
app/internal/wm: [macOS] avoid crash in window.Wakeup

window.Wakeup assumes the window.w field is never reset to nil. Avoid
doing that in gio_onClose....

baa98e7737774ba0c9f28abcb43a444f1d27d38b authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl,internal/gl: avoid glBufferSubData after glBufferData

On my Fedora Intel GPU, issuing a glBufferSubData immediately after a
glBufferData with no data ...

b9ede6d7350d03dab50fbc78b034d43b10047bdd authored over 3 years ago by Elias Naur <[email protected]>
go.*: upgrade to gioui.org/[email protected]

Change 44adf0176812f8fa2fc3899ded59c5b745142fc4 ugpraded
gioui.org/shader for the OpenGL ES 2.0 ...

b90e80f03e569fb2153952756e29d1088468df40 authored over 3 years ago by Elias Naur <[email protected]>
gpu: Merge GPU.Collect and GPU.Frame

There's no meaningful reason to have them separate. The intention was to
enable rendering concur...

414be0a0b344516a975692273908aba68984ad04 authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/metal: merge buffer address and size calls

Signed-off-by: Elias Naur <[email protected]>

7acc031ccf0273b8ee9e4e7122e2962ab7e585c9 authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/metal: don't double-buffer staging memory

One staging buffer is enough because BeginFrame waits for the completion
of the staging operatoi...

b47653b808ddd1e8d6154bdcc2f98d206fde1fe8 authored over 3 years ago by Elias Naur <[email protected]>
gpu: don't invoke GPU backend outside BeginFrame/EndFrame

The Metal backend is particularly sensitive because its staging buffers
are synchronized to Begi...

0f81bf02c14d12c363b91d4abb08fd8f4bbaa87c authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/metal: use optimal CPU cache mode for staging buffers

Signed-off-by: Elias Naur <[email protected]>

43a7030f6e0b798702df4528f141046391a45f89 authored over 3 years ago by Elias Naur <[email protected]>
app/internal/wm: [Metal] don't limit CAMetalDrawable count

We shouldn't need more than 2 drawables, but changing the count from the
default of 3 introduces...

a4a2d517e7577cc693d44ab272b54ef758d7edd9 authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/d3d11: remove unused method

Invalidate is no longer part of the driver contract.

Signed-off-by: Elias Naur <mail@eliasnaur....

0d009bd5344e3b4fe7d6b0e648e27cfb30a7eba5 authored over 3 years ago by Elias Naur <[email protected]>
go.*,gpu: don't (badly) re-implement Go module versioning

Changes to the gioui.org/shader module are generally breaking changes,
which means that a partic...

d80992fc66e96eb22a37edd5ba04344af213a92e authored over 3 years ago by Elias Naur <[email protected]>
gpu: [compute] add missing error handling

Signed-off-by: Elias Naur <[email protected]>

64ccb1c06db399d45ee6ef03399c75e2a382c0e5 authored over 3 years ago by Elias Naur <[email protected]>
gpu: [compute] don't round atlas dimensions to power-of-twos

There is no clear benefit and the rounding tends to waste texture
memory.

Signed-off-by: Elias ...

86e474688bf2db5f08435f805da0a607aa0563dd authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl: avoid crash when uniform buffers are not supported

Found by Dan Kortschak.

Signed-off-by: Elias Naur <[email protected]>

6ee8a1cb7cb05a31f2bff8549bc5bab54c83be83 authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/internal,internal/gl: replace BlitFramebuffer with CopyTexture

OpenGL ES 2.0 doesn't support glBlitFramebuffer, but does support
glCopyTexSubImage2D. Fortunate...

c9970cb8e3aa1b26b981b85c3a185c03bc614820 authored over 3 years ago by Elias Naur <[email protected]>
go.*,gpu: update gioui.org/shader version

Pulls in a compatiblity fix for OpenGL ES 2.0 devices.

Signed-off-by: Elias Naur <mail@eliasnau...

44adf0176812f8fa2fc3899ded59c5b745142fc4 authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/internal: move InputDesc back from gioui.org/shader module

It was moved to gioui.org/shader by mistake.

Signed-off-by: Elias Naur <[email protected]>

d38c78d7ac0fb4cbf43e72bb1f47df091f43f0a9 authored over 3 years ago by Elias Naur <[email protected]>
gpu: introduce pipeline abstraction

Modern API such as Metal and Vulkan want clients to compile expensive
state changes into pipelin...

afaa31eca817308a0f95f75547356e97eea76234 authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/internal: drop implied transformation from BlitFramebuffer

The Metal (and presumably the D3D11) backend doesn't support transformed
framebuffer blits. The ...

07fdc1a2de1de2a1ea20570aa2aac2fcccf7c89b authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/internal: split shader storage usage into read and write

Metal has texture write usage flags for read and write.

Signed-off-by: Elias Naur <mail@eliasna...

a7f08eedf36fa8f6e78a701f90a2df7a5a49596c authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/internal: move vertex buffer stride to pipeline state

Metal needs the vertex stride at pipeline creation.

Signed-off-by: Elias Naur <[email protected]>

58cc817e5fb8e65e81303754acdbf97510a2fcd5 authored over 3 years ago by Elias Naur <[email protected]>
gpu: fold buffer clearing into framebuffer bind

In Metal, clearing a framebuffer is most efficiently done during bind.
Modify our driver accordi...

1af910959bb78893c966e4c26d8ff7942ef2fb14 authored over 3 years ago by Elias Naur <[email protected]>
gpu: update gioui.org/shader for portable materials.vert shader

Signed-off-by: Elias Naur <[email protected]>

13b93b27d87ab76aebdbff7bffabd7fa9df82d59 authored over 3 years ago by Elias Naur <[email protected]>
gpu,app/internal/wm: add Metal port

The OpenGL (ES) implementations on Apple platforms are deprecated and
don't support GPU compute ...

3b2992c37ecce1d303436b46447758218cc9566b authored over 3 years ago by Elias Naur <[email protected]>
cmd/gogio: bump minimum iOS version to 10.0

The Go 1.17 runtime crashes on iOS 9 because clock_gettime is missing.
iOS 10 introduced clock_g...

04cc616e1fdb1c59351506d1d27d2d6a7e880049 authored over 3 years ago by Elias Naur <[email protected]>
app/internal/wm: implement ViewEvent for X11

Signed-off-by: Chris Waldon <[email protected]>

ae3103e180777518c875bb76fd1176714825dd2c authored over 3 years ago by Chris Waldon <[email protected]>
gpu/internal/opengl: handle switch from non-sRGB output to sRGB output

The opengl example has a screenshot functionality that renders to a
non-sRGB texture, whereas wi...

f4750872963839f8c6798113331b0fd64e331520 authored over 3 years ago by Elias Naur <[email protected]>
go.*: update gioui.org/cpu dependency

Avoids panics when freeing cpu resources on unsupported platforms.

Signed-off-by: Elias Naur <m...

3773daf155b49be32911a40dd0a6da710e85666b authored over 3 years ago by Elias Naur <[email protected]>
go.*,gpu: use gioui.org/cpu.Supported to determine CPU fallback support

Signed-off-by: Elias Naur <[email protected]>

8140e39c2087b33ca3317211d7a24494be752064 authored over 3 years ago by Elias Naur <[email protected]>
gpu,go.*: update gioui.org/shader dependency

Fixes the opengl example on macOS.

Signed-off-by: Elias Naur <[email protected]>

c7ea90c4e213161d991a450f19f9791652230241 authored over 3 years ago by Elias Naur <[email protected]>
gpu/headless: remove useless framebuffer bind

GPU.Frame now takes an explicit RenderTarget and it is no longer
necessary to bind the target.

...

6b537f0d4e8dcb77f5f2e31aef8f1e7eae61047f authored over 3 years ago by Elias Naur <[email protected]>
cmd/gogio: set minimum iOS simulator version to 13

Metal is available from iOS 8 on devices, yet from version 13 on the
simulator.

Signed-off-by: ...

0d1ee09a64e970816acf9070731713f45c27478e authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl: remove "gpu" prefix from type names

Refactor only.

Signed-off-by: Elias Naur <[email protected]>

8d8bc19c2381695b40fcfac8f216eb3c26d17663 authored over 3 years ago by Elias Naur <[email protected]>
gpu/headless: remove useless headless_gl.go abstraction

There is no longer any shared code between OpenGL backends (unlike
EGL backends).

Signed-off-by...

6c3711d95a0ee408056881ad60b321aebe4cbdea authored over 3 years ago by Elias Naur <[email protected]>
app/internal/wm: remove superfluous main thread switching

The affected code paths are guaranteed to be run on the main thread by
the app.Window callers.

...

71f834d26f6b6cf6372df8fb2850726c38f392bf authored over 3 years ago by Elias Naur <[email protected]>
gpu: correct GPU.Profile reference to profile.Op

Signed-off-by: Elias Naur <[email protected]>

71c5a134d700c3ea449f20237916095e899834d0 authored over 3 years ago by Elias Naur <[email protected]>
app,app/internal/wm: create contexts on the main thread

Instead of handing the internal/wm driver a method to run code on the
(blocked) main thread, jus...

23640ec38fd56a6ad7a09d2d2ce2ddd1481d5f37 authored over 3 years ago by Elias Naur <[email protected]>
app: ensure context is nil after release

Signed-off-by: Elias Naur <[email protected]>

811e2b53e0f11581e5860e6b71864a5372478c3c authored over 3 years ago by Elias Naur <[email protected]>
internal/gl: use libGLESv2.so.2 for Unix platforms

The unprefixed library names are for development, and Android.

Signed-off-by: Elias Naur <mail@...

c49fe63d56768eb94e78e9c3c588302e02414fad authored over 3 years ago by Elias Naur <[email protected]>
app/internal/wm: remove gio_ prefixes from static (local) C functions

Static C functions don't pollute the global namespace.

Signed-off-by: Elias Naur <mail@eliasnau...

06556986c5c2a6c70854403342f9c9c43def4178 authored over 3 years ago by Elias Naur <[email protected]>
all: switch to external shaders in the gioui.org/shaders module

Signed-off-by: Elias Naur <[email protected]>

6aee54323433bc3e9eee56e9d8284de0a9a37e4a authored over 3 years ago by Elias Naur <[email protected]>
all: remove Z buffer support

It is no longer needed by any rendering backend.

Signed-off-by: Elias Naur <[email protected]>

18b444239379939d0ab1b6b8662433b407f0c653 authored over 3 years ago by Elias Naur <[email protected]>
all: merge .m files with their .go counterparts

The only reason for separate files is Objective-C callbacks into Go,
or when the Go side is comm...

2059862416eb04149f00a6dd56184d4a10d0253d authored over 3 years ago by Elias Naur <[email protected]>
gpu: remove opaque rectangle optimization

The default renderer tracks opaque rectangle draw operations and render
them front-to-back with ...

cea8e21f97b90787679fb2e565bd15cf6584288a authored over 3 years ago by Elias Naur <[email protected]>
gpu,gpu/headless,app/internal/wm: add explicit RenderTarget API

Both the OpenGL and the Direct3D API are stateful and gpu.GPU renders to
the render target curre...

7d84e419c981712604773f2e187509816e277c01 authored over 3 years ago by Elias Naur <[email protected]>
.builds: upgrade Apple builder to Go 1.16

Signed-off-by: Elias Naur <[email protected]>

4dd6a5067036cb1d2e215c270f43cee7c7591cd7 authored over 3 years ago by Elias Naur <[email protected]>
app,app/internal/wm: fold context MakeCurrent/ReleaseCurrent into Lock/Unlock

While here, make context Refresh useful and remove the redundant
MakeCurrent from the window loo...

0bdc2e04322b71d24bbe60ca4065a4100ff8a332 authored over 3 years ago by Elias Naur <[email protected]>
op/paint: remove duplicate word

Signed-off-by: Petr Karmashev <[email protected]>

1efe68c1540bf6b95dfdea62a00bcb2bde1a4a9c authored over 3 years ago by Petr Karmashev <[email protected]>
gpu,gpu/shaders: [compute] decode sRGB texels in shader when EXT_sRGB is missing

This change avoids the hard dependency on GPU support for sRGB encoded
textures in the compute r...

8cec7e04eb71783caf03a8ac0e272d78491ec14b authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl: use the linear colorspace when EXT_sRGB is missing

The SRGBFBO emulates a framebuffer in the sRGB colorspace. However, some
low-end devices may not...

d8f8740574ce693de541b071de382a5be94f6ce9 authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/driver: introduce and use FeatureSRGB

No functional changes; a follow-up will implement graceful fallback in
the compute renderer.

Si...

970fadf852069f6ee2883e7166802101d50cbc29 authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/opengl: detect sRGB triple in terms of srgbaTripleFor

Refactor in preparation for relaxing sRGB format requirements.

Signed-off-by: Elias Naur <mail@...

68fa64dfd5dadc529de3b8dcf915f03acdd4ecff authored over 3 years ago by Elias Naur <[email protected]>
gpu/internal/driver: rename TextureFormatSRGB to TextureFormatSRGBA

The format implies an alpha channel; name it accordingly.

Signed-off-by: Elias Naur <mail@elias...

b3a8c24334a0f52b350e25deedbfdde99f56e7d8 authored over 3 years ago by Elias Naur <[email protected]>