Re: [Mesa-dev] [PATCH] st/mesa: implement a simple cache for glDrawPixels

2016-02-18 Thread Charmaine Lee
Reviewed-by: Charmaine Lee From: Brian Paul Sent: Thursday, February 18, 2016 7:52 AM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee Subject: [PATCH] st/mesa: implement a simple cache for glDrawPixels Instead of discarding the texture we created, k

[Mesa-dev] [PATCH] st/mesa: implement a simple cache for glDrawPixels

2016-02-18 Thread Brian Paul
Instead of discarding the texture we created, keep it around in case the next glDrawPixels draws the same image again. This is intended to help application which draw the same image several times in a row, either within a frame or subsequent frames. --- src/mesa/state_tracker/st_cb_drawpixels.c |