weBIGeo / webigeo

Rendering system for weBIGeo.
GNU General Public License v3.0
4 stars 0 forks source link

GPU Timers mapping issue #26

Closed GeraldKimmersdorfer closed 3 months ago

GeraldKimmersdorfer commented 3 months ago

We experience frequent mapping errors with the GPU Timers. In the web version this also comes with flickering black screens.

Interestingly enough, they seem to appear more often when another layer is on top of the canvas? When starting with Chrome (where the timing flag is disabled) those flickers didn't appear.

GeraldKimmersdorfer commented 3 months ago

On the web wgpuBufferGetMapState seems to return 0 in any state. 0 is not even a valid option for WGPUBufferMapState.

On native the function returns the appropriate values. Maybe an emscripten bug?

I'll introduce a manual flag in our RawBuffer-Implementation which we can then use instead.

GeraldKimmersdorfer commented 3 months ago

fixed with 9e5785c338a5c85ff8fff0e7dcc6c15b57f7f390