CVS Update: cr (branch: trunk)

Robert Ellison <[email protected]>
Newsgroups gmane.comp.graphics.chromium.cvs
Message-ID <[email protected]>
CVSROOT:	/cvsroot/chromium
Module name:	cr
Repository:	cr/opengl_stub/
Changes by:	[email protected].(none)	06/01/10 08:47:25

Log message:
  Fix a problem with visual selection found in the GeoProbe
  application, which used one X display connection to query about the
  visuals available on a screen, but a second connection to actually
  choose the GLX visual (probably due to the workings of a toolkit).
  
  Chromium associates visual attributes with a tuplet of
  (display pointer, screen, visual id), and did not recognize that the
  second reference was to the same visual; it chose a default visual
  type which did not include all the necessary components for the
  application.
  
  Now, if a visual is requested during glXCreateContext that has never
  been seen before, its attributes are queried, to get a more correct
  idea of its characteristics before creating the visual for use with
  Chromium.
  
  This fixes the behavior of the GeoProbe application.

Modified files:
      cr/opengl_stub/:
        glx.c 
  
  Revision      Changes    Path
  1.62          +99 -5     cr/opengl_stub/glx.c



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
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.