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

Đang mở
#2,116 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
53/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, linux
Lĩnh vực
computer-graphics, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
C++
Star
931
Fork
169
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
66

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BabylonJS/BabylonNative

Tất cả issue của BabylonJS/BabylonNative

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.