Notice: Trying to access array offset on value of type bool in /srv/http/osirion/tracker/scripts/details.php on line 222 FS#6 : Hardware Workaround Scripts

Project::OSiRiON

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category src → render
  • Assigned To
    Cody Jackson
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Project::OSiRiON
Opened by Evan Goers - 2011-01-12
Last edited by Stijn Buys - 2012-01-22

FS#6 - Hardware Workaround Scripts

Despite the renderer being written very well and to the spec, certain hardware has trouble doing functions reported to be supported by the driver. I propose an ini file that the engine reads directly after loading all standard configuration files. This ini file instructs the engine to make specific checks and if they pass, execute a configuration file.

The workaround handling being outside the engine allows future changes in the event that new hardware requires a workaround, without requiring recompiling the engine.

Attached are proposed example files.

Closed by  Stijn Buys
Sunday, 22 January 2012, 16:32 GMT
Reason for closing:  Won't implement
Cody Jackson commented on Wednesday, 12 January 2011, 20:11 GMT

Here is a patch for render.cc that loads ini/workarounds.ini and execs a command or commands if the renderer string matches. The format is explained a bit more in workarounds.ini. Dropped including other .cfg files because it would've made a huge mess.

It needs work still: Mega suggested allowing it to only modify r_ variables, and having a variable, r_allowWorkarounds so that people paranoid about their data can disable or enable graphical workarounds at will.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing