summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-02-05 00:34:14 -0800
committerEric Anholt <[email protected]>2010-02-06 14:10:07 +0100
commit12d0721ae156bbb6c1bda1e28cfc71fe081a2a4c (patch)
tree0108dbff8b0a1eb87448562b3a21982d64563c24 /src/mesa/drivers/dri
parent507faae9e39deee89cd11bf996d07af92efa286d (diff)
intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888.
This improves firefox-talos-svg runtimes on cairo-gl by 14%.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c1
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 a56e085b90f..3a9394c4f4a 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) &&