Public bug reported:

The Mesa 8.0 branch contains the following patch which avoids Firefox
falling back to the slow path during WebGL rendering.  Could it please
be added to Precise as an SRU?

author  Brian Paul <bri...@vmware.com>  2012-04-17 23:41:09 (GMT)
committer       Brian Paul <bri...@vmware.com>  2012-04-17 23:41:09 (GMT)
commit  49ed43b6de98482c898334a9abfc574720391c9f
tree    b9fab1a668caff3f81a75f1bbcf04d543371ca9b
parent  9f150ffe8ee5f184861a377637091e4f06210927

mesa: add a couple fast-paths to fast_read_rgba_pixels_memcpy()

Accelerates a few glReadPixels cases for WebGL.
See https://bugs.freedesktop.org/show_bug.cgi?id=48545

 v2: Per Jose, use bit twiddling for the swizzle case instead of ubyte
arrays (it's about 44% faster).

Note: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfons...@vmware.com>

(cherry picked from commit a5e95a419e4f6ad93e35a960113d97ae2de27476)

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: precise

** Description changed:

  The Mesa 8.0 branch contains the following patch which avoids Firefox
  falling back to the slow path during WebGL rendering.  Could it please
  be added to Precise as an SRU?
  
  author        Brian Paul <bri...@vmware.com>  2012-04-17 23:41:09 (GMT)
  committer     Brian Paul <bri...@vmware.com>  2012-04-17 23:41:09 (GMT)
- commit        49ed43b6de98482c898334a9abfc574720391c9f (patch) (side-by-side 
diff)
+ commit        49ed43b6de98482c898334a9abfc574720391c9f
  tree  b9fab1a668caff3f81a75f1bbcf04d543371ca9b
- parent        9f150ffe8ee5f184861a377637091e4f06210927 (diff)
+ parent        9f150ffe8ee5f184861a377637091e4f06210927
  
  mesa: add a couple fast-paths to fast_read_rgba_pixels_memcpy()
  
  Accelerates a few glReadPixels cases for WebGL.
  See https://bugs.freedesktop.org/show_bug.cgi?id=48545
  
-  v2: Per Jose, use bit twiddling for the swizzle case instead of ubyte
+  v2: Per Jose, use bit twiddling for the swizzle case instead of ubyte
  arrays (it's about 44% faster).
  
  Note: This is a candidate for the 8.0 branch.
  
  Reviewed-by: José Fonseca <jfons...@vmware.com>
  
  (cherry picked from commit a5e95a419e4f6ad93e35a960113d97ae2de27476)

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/988343

Title:
  Patch to correct slow WebGL in Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/988343/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to