Linux OpenGL: visual tests with hardware scaling below 1 fail readback

Aperta
#2,116 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
53/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
cpp, linux

Direzione di ricerca

Start with the visual test configuration in Apps/Playground/Scripts/config.json and locate the exclusions for the scissor test and ArcRotate legacy inertia comparison. Trace how Linux OpenGL creates the scaled backbuffer and reads pixels back, then run those tests on the Linux OpenGL CI lane. Done means both tests pass and their OpenGL exclusions are removed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

On the Linux OpenGL CI lane, visual tests that render with a hardware scaling level below 1 (a backbuffer larger than the 600x400 canvas) fail pixel comparison. The same tests pass on D3D11 and Vulkan.

Test Playground Scaling Linux OpenGL result
Scissor test with 0.9 hardware scaling #W7E7CF#34, #W7E7CF#38 0.9 56223 px differ
ArcRotate legacy inertia comparison (test 831) #UAPORV#0 0.5 readback mostly transparent, ~75% px differ

All three are excluded on OpenGL with excludedGraphicsApis: ["OpenGL"]. The symptom suggests the OpenGL backbuffer readback, or the default framebuffer size, doesn't follow the scaled render size. It doesn't look like a rendering bug in the scenes themselves.

Done when

  • The tests above pass on Linux OpenGL.
  • Their OpenGL exclusions are removed from Apps/Playground/Scripts/config.json.
Lingua principale
C++
Stelle
931
Fork
169
Merge medio
2g 17h
PR unite (30g)
66

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di BabylonJS/BabylonNative

Tutte le issue di BabylonJS/BabylonNative

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.