From: Eric Anholt Date: Fri, 5 Feb 2010 08:34:14 +0000 (-0800) Subject: intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12d0721ae156bbb6c1bda1e28cfc71fe081a2a4c;p=mesa.git intel: Allow PBO acceleration for GL_RGBA8 MESA_FORMAT_ARGB8888. This improves firefox-talos-svg runtimes on cairo-gl by 14%. --- 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) &&