0

As a c# programmer, I'm used to Microsoft, however, I'm really liking the linux side of things and Mono opens up that world to me a lot better (imo).

I have an app that may need some direct draw support in order to display active video, and I'm curious as to what the equivalent (and even better, what support does Mono provide) in linux?

enorl76
  • 2,562
  • 1
  • 25
  • 38

2 Answers2

2

OpenGL is equivalent to DirectDraw in Linux/BSD and Mac(and in Windows too).

x2.
  • 9,554
  • 6
  • 41
  • 62
1

The short answer is no, there is no DirectX support/emulation planned for the Mono framework, or for Linux in general. The closest you can get at the moment is to use an emulation layer like Wine or Cedega to run a windows app within Linux... which is not necessarily a perfect solution in many cases.

The alternative is to use a cross-platform library that will function the same on multiple platforms. The C# SDL project will apparently run on Mono, which should give you a consistent interface for graphical operations. It's based on libsdl which is fairly mature, and there are plenty of examples out there.

Corey
  • 15,524
  • 2
  • 35
  • 68