diff options
author | Eric Anholt <eric@anholt.net> | 2010-02-05 00:34:14 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-06 14:10:07 +0100 |
commit | 12d0721ae156bbb6c1bda1e28cfc71fe081a2a4c (patch) | |
tree | 0108dbff8b0a1eb87448562b3a21982d64563c24 | |
parent | 507faae9e39deee89cd11bf996d07af92efa286d (diff) |
intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888.
This improves firefox-talos-svg runtimes on cairo-gl by 14%.
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c index a56e085b90..3a9394c4f4 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_image.c +++ b/src/mesa/drivers/dri/intel/intel_tex_image.c @@ -177,6 +177,7 @@ check_pbo_format(GLint internalFormat, switch (internalFormat) { case 4: case GL_RGBA: + case GL_RGBA8: return (format == GL_BGRA && (type == GL_UNSIGNED_BYTE || type == GL_UNSIGNED_INT_8_8_8_8_REV) && |