intel/blorp: Take an explicit filter parameter in blorp_blit

This lets us move the glBlitFramebuffer nonsense into the GL driver and
make the usage of BLORP mutch more explicit and obvious as to what it's
doing.

Reviewed-by: Chad Versace <chadversary@chromium.org>
This commit is contained in:
Jason Ekstrand
2018-06-25 15:14:38 -07:00
parent 9fbe2a2007
commit aaa6fac8f6
4 changed files with 93 additions and 51 deletions

View File

@@ -139,7 +139,8 @@ blorp_blit(struct blorp_batch *batch,
float src_x1, float src_y1,
float dst_x0, float dst_y0,
float dst_x1, float dst_y1,
uint32_t filter, bool mirror_x, bool mirror_y);
enum blorp_filter filter,
bool mirror_x, bool mirror_y);
void
blorp_copy(struct blorp_batch *batch,