Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: OpenGL stat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 12 Topic 4824 of 5017
Post > Topic >>

Re: OpenGL states and performances

by fungus <openglMYSOCKS@[EMAIL PROTECTED] > Jul 7, 2008 at 02:15 PM

On Jul 7, 11:21=A0am, karim.at...@[EMAIL PROTECTED]
 wrote:
> But before binding the texID I store the current texID in a variable
> so that it is bound
> only if it's different from the current one.
> Is it a good to achieve it ?
>

Yes, any simple test which eliminates an OpenGL function
is good.

You should also try to sort the textures so that each texture
is only bound once. eg. If you draw a chess board, don't
draw black-white-black-white. Draw all the black squares
first then all the white squares.

--
<\___/>
/ O O \
\_____/  FTB.     Remove my socks for email address.
 




 12 Posts in Topic:
OpenGL states and performances
karim.atiki@[EMAIL PROTEC  2008-07-07 02:21:18 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-07 17:28:16 
Re: OpenGL states and performances
karim.atiki@[EMAIL PROTEC  2008-07-07 08:40:25 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-07 19:27:36 
Re: OpenGL states and performances
karim.atiki@[EMAIL PROTEC  2008-07-07 11:39:11 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-07 21:02:50 
Re: OpenGL states and performances
fungus <openglMYSOCKS@  2008-07-07 14:12:36 
Re: OpenGL states and performances
fungus <openglMYSOCKS@  2008-07-07 14:15:36 
Re: OpenGL states and performances
fungus <openglMYSOCKS@  2008-07-07 20:22:15 
Re: OpenGL states and performances
Wolfgang Draxinger <wd  2008-07-08 10:05:13 
Re: OpenGL states and performances
zyend <karim.atiki@[EM  2008-07-08 05:57:05 
Re: OpenGL states and performances
folays <folays@[EMAIL   2008-07-08 16:01:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 5:11:37 CST 2008.