From 12d0721ae156bbb6c1bda1e28cfc71fe081a2a4c Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 5 Feb 2010 00:34:14 -0800 Subject: intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888. This improves firefox-talos-svg runtimes on cairo-gl by 14%. --- src/mesa/drivers/dri/intel/intel_tex_image.c | 1 + 1 file changed, 1 insertion(+) 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) && -- cgit v1.2.3