Posts: 8.030
Threads: 278
Joined: Feb 2009
Reputation:
345
01-26-2017, 11:42 AM
(This post was last modified: 01-26-2017, 11:48 AM by vsub.)
The only thing I can use is DX9SW and no matter what I try,there is no text on the screen while running the bios even if I enable the monitor along with log.
Maybe it doesn't work in DX9 mode?
And btw why the "Indicator" option is grayed out?
Posts: 8.597
Threads: 105
Joined: May 2014
Reputation:
169
Location: 127.0.0.1
AFAIK, the OSD only works on OpenGL renderer. The contributor who implemented the OSD function was on a Linux build system, so the implementation was limited to the OpenGL renderer.
However, it isn't really hard to port if you know how to code D3D stuff, not personally interested as I don't really care about the OSD.
Quote:And btw why the "Indicator" option is grayed out?
Flatout was the one who added it, I wonder why he even added that in the first place if it's grayed out all time.
We're supposed to be working as a team, if we aren't helping and suggesting things to each other, we aren't working as a team.
- Refraction
Posts: 6.069
Threads: 68
Joined: May 2010
Reputation:
167
Location: Grenoble, France
Actually I started the work, mostly the backend part. And another (Linux) contributor, finish the job. As far as I remember, I used the GSDevice API, so Dx could be mostly a copy/past + minor fixes.
Posts: 43
Threads: 3
Joined: Jul 2015
Reputation:
0
The indicator feature was something I thought would be fun. It would have displayed a glyph on the screen at half normal alpha and then when some trigger happens it would be displayed at its full alpha. Could be useful for indicating button presses or some specific state in the emulator like turbo on or off. I wanted a way for the user to setup custom glyphs, not just ones in a font file. I never came up with a good interface for that so I left the code that does the work, but I never tied it back to any thing. I had a hack in that showed button presses using letter glyphs (UDLR TSCX) but it was dirty and I don't think it made it into the final pull request.
The OSD Manager it self ?should be? fairly agnostic to what display method is being used. But I have zero D3D experience to know how close OpenGL and D3D primitives are. You pass it a buffer and it writes the font texture into it, then you pass it a another buffer and it writes triangles and tx coords into it.