(03-13-2012, 04:04 AM)NaturalViolence Wrote: Ok.....that directly contradicts what you said earlier. If direct3d can be much faster than openGL or the other way around depending on what you're doing (which you just admitting is true) than that means that you're not always going to be able to get the same performance on both even with proper optimization. Depending on the task that you're trying to accomplish it may run much faster on one than the other.I did? Anyways: Yes, it depends on the task, and it also depends on how you implement it. It depends on both. I just wanted to say this: Any statement of the form "A is faster than B *because* it uses Direct3D, not OpenGL" is invalid without further argumentation why this is the correct reason in that specific case. It is also possible that the guy who wrote A just spent more time on optimizing it, or was just a better programmer.
(03-13-2012, 04:04 AM)NaturalViolence Wrote: Yes, but it's not enough to make a sigificant difference to large projects. The standard compilers and kernels for all three major x86 OS for c++ for example are all so well optimized that you're unlikely to see more than a few percent worth of difference in performance, if you see any at all, unless:Well, first of all I don't really know anything about the dolphin code. But: many applications that require processing power spend large amounts of it in very little code (some twenty-line inner loop, or whatever). If that is the case, it might very well make a difference how exactly you write that down. And if you try different ways to write it down and test which is faster, then you have optimized your application for the compiler you're using, because with another compiler a different piece of code might produce the optimal result. See the dynamic_cast vs virtual function call example, those are in many cases different ways to achieve the same thing (and yes, the difference is significant, it's > 20%).
[...]
Without any of these three things it's borderline impossible to write an application that performs very well in one OS and very poorly in another [...]
I really don't know if it's the case for dolphin, I just want to say: It *could* be the case. (In fact I don't think it's the case, as I didn't see dolphin performing any worse or better on different plattforms, given your graphics card is good enough)
(03-13-2012, 04:04 AM)NaturalViolence Wrote: everyone does hate obj CSigned.
