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

Abierto
#2,116 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
53/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
cpp, linux

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
C++
Estrellas
931
Forks
169
Merge medio
2 d 17 h
PR fusionados (30 d)
66

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BabylonJS/BabylonNative

Todos los issues de BabylonJS/BabylonNative

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.