[Mesa-dev] [PATCH] i965: Don't create a swrast context on ES2+.

Chad Versace chad.versace at linux.intel.com
Thu Jul 25 15:10:22 PDT 2013


On 07/25/2013 11:31 AM, Kenneth Graunke wrote:
> We already skip this for API_OPENGL_CORE; ES2+ is very similar.
> The primary user of the swrast context is GL_SELECT and GL_FEEDBACK,
> which have never existed in ES.
>
> This saves approximately 18MB of memory in GLBenchmark 2.7 Egypt (ES2).
> No regressions in es3conform on Ivybridge.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>   src/mesa/drivers/dri/i965/intel_context.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)


Reviewed-by: Chad Versace <chad.versace at linux.intel.com>



More information about the mesa-dev mailing list