I wrote my own media centre software … for my living room :eek:
And it has an opengl front end renderer for video. It renders from direct show and simply passes a pointer to opengl for rendering. Like so
glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGB, videoWidth, videoHeight, 0, pixelType, GL_UNSIGNED_BYTE, imageData);
Note the GL_TEXTURE_RECTANGLE_ARB
My pc has a low end ATI card X300 or X550. It is a new card, supports shaders etc, just fanless and low end (perfect for HTPC). Anyway under XP this works perfect. Performance is great. On Vista 32 and vista 64 however, performance is terrible, to the point where i can’t watch anything at all. I can see also CPU usage is very high, 2x that of XP when trying to render video, although never quite 100%. The video is rendering fullscreen, so under vista there isn’t that extra copy required like there would be in windowed mode.
Anyone else encounted this problem with ati drivers under vista ? :eek: The pc I am using is hardly low end, 2gig of ram, 3.4gig p4.
I was running identical software during my test, same hardware, only thing was different was the OS. (Latest drivers etc).