UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #5514 SDL2 GLES arm port produces broken screenshots
Go to the next issue (open or closed)
Go to the next open issue
Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Linux
  • Architecture
    arm
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
The screenshot feature of the GLES port is not able to capture the screen correctly - all that's created is a black frame.
After discovering that glshim enables the OpenGL arm version to produce normal screenshots, it was logical to ask the man responsible for the original ufoai 2.4 port his opinion.

ptitSeb suggests:

"[...] I guess the screenshot are made using a glReadPixels with not GL_RGBA GL_UNSIGNED_BYTE... In most GLES implementation, you can rely only on this to make glReadPixels and then convert the data to, for example GL_RGB GL_UNSIGNED_SHORT_5_6_5..."

Hopefully with this input the issue can be tracked down quickly.
Steps to reproduce this issue
From within a running GLES ufoai, take a screenshot with F12, then inspect the screenshot directory.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif