ffreyer / Hazel.jl

MIT License
0 stars 0 forks source link

Replace `Ref{UInt32}` with `UInt32` in GPUObjects #6

Closed ffreyer closed 4 years ago

ffreyer commented 4 years ago

I want to avoid using Ref if possible, because it will increase GC times as far as I understand. I'm not sure if it's possible though. We need to research whether these references ever change...

ffreyer commented 4 years ago

CImGui.jl uses @c all over the place, which replaces &x with Ref(x)...

ffreyer commented 4 years ago

Simon is ignoring refs in GLMakie https://github.com/JuliaPlots/GLMakie.jl/blob/37abf66b367bf64f0c38e5ec31edaea36a780d86/src/GLAbstraction/GLExtendedFunctions.jl#L107

ffreyer commented 4 years ago

I changed it c9b529d80dc5156ef322b1c4ff85d6f5797d6c80