[Mesa3d-dev] share one render buffer within Multithreading multiple contexts in intel driver

2009-09-19 Thread slahs

Hello, 
I reviewed intel driver in Mesa7.2 and found there seems a problem in 
==
intel_region_release(struct intel_region **region)
{
   if (!*region)
  return;

   DBG("%s %d\n", __FUNCTION__, (*region)->refcount - 1);

   ASSERT((*region)->refcount > 0);
   (*region)->refcount--;

   if ((*region)->refcount == 0) {
  assert((*region)->map_refcount == 0);

  if ((*region)->pbo)
 (*region)->pbo->region = NULL;
  (*region)->pbo = NULL;
  dri_bo_unreference((*region)->buffer);
  free(*region);
   }
   *region = NULL;
}
==
If there are two contexts made current on this region of rb, after 
"(*region)->refcount--;"  is it possible refcount still be larger than "0", and 
it will not be free then leaked?

thanks,
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


[Mesa3d-dev] [Bug 24016] Shadowgrounds: bad srcFormat in extract float data

2009-09-19 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=24016





--- Comment #4 from Sven Arvidsson   2009-09-19 05:27:19 PST ---
The "implementation error" message is gone now, but the problems with the game
are the same.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


Re: [Mesa3d-dev] Mesa (master): mesa: added GL_ARB_provoking_vertex (same as EXT version)

2009-09-19 Thread Brian Paul
On Thu, Sep 17, 2009 at 10:32 AM, Ian Romanick  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Brian Paul wrote:
>> Module: Mesa
>> Branch: master
>> Commit: 2e7a1dd8caa8b5fa83a306f6bb506a48b23616a2
>> URL:    
>> http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e7a1dd8caa8b5fa83a306f6bb506a48b23616a2
>>
>> Author: Brian Paul 
>> Date:   Tue Sep 15 16:01:22 2009 -0600
>>
>> mesa: added GL_ARB_provoking_vertex (same as EXT version)
>
> The two extensions are functionally the same, but they have different
> entry points.  The EXT version uses glProvokingVertexEXT, and the ARB
> version uses glProvokingVertex.  The later doesn't seem to exist in Mesa.

Fixed.  Guess I was in a hurry and missed the rest.

-Brian

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev