Re: GLX in bad state

Gavriel State <[email protected]>
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
Nadav Frum wrote:
> On Wed, 11 Feb 2004, I started the above thread.  My objective was to 
> highlight the shortcomings of the current GLX implementation in comparison 
> to WGL (the Windows implementation).
> 
> I cited ARB_render_texture as one GLX extension which is urgently needed.  
> I gave a brief explanation as to how this extension may be used to render 
> shadows and reflections.  This was a technical and dry explanation.

While an ARB_render_texture type extension would be somewhat more efficient
than the current solution (render to pbuffer followed by glCopyTexSubImage2D),
it's very unlikely that this is where your performance is going.  Copying
from a pbuffer to a texture in vram should be extremely fast, since it happens
entirely using the video card's on-chip hardware blitter.

It should be easy enough to estimate the speedup such an extension would get
by removing the glCopyTexSubImage2D call from X11DRV_GLX_UpdateTexture.

It's more likely some other aspect of the game that's affecting performance.

Take care,
  -Gav


-- 
Gavriel State
Co-CEO & CTO
TransGaming Technologies Inc.
[email protected]
http://www.transgaming.com

Let the games begin!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.