On 18 jan 2010, at 03.14, Chia-I Wu wrote: > On Sun, Jan 17, 2010 at 10:24 AM, Chia-I Wu <olva...@gmail.com> wrote: >> I myself would like to see the st_visual and st_api->make_current >> issues >> resolved (listed as issue 1 and 3 in DESIGN file). > This is proposed change for issue 1 (st_visual separation) > > http://cgit.freedesktop.org/~olv/st_api/commit/?h=issue1-proposal&id=604f4e306c81cadab19c5136842712ca9c0f4b8c > > st_visual is embedded inside both st_context_config and > st_framebuffer_config.
So all of the special variables that you have in the different configs can easily derived from what you called available_buffers. so: ctx_conf::double_buffer = (mask & BACK_RIGHT_MASK) || (mask & BACK_LEFT_MASK); ctx_conf::stereo = (mask & BACK_RIGHT_MASK) || (mask & BACK_RIGHT_MASK); And the for the buffer selection in ES and VG the semantics are very clear: desired_render_buffer = (mask & BACK_RIGHT_MASK) ? BACK_RIGHT : FRONT_RIGHT; and for GL it pick what it renders to by itself. And if we happen to have a drawable with both back and front that we can always change the st_visual that is attached to the framebuffer. Cheers Jakob. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev