summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-06-19 22:05:57 -0700
committerJason Ekstrand <[email protected]>2018-07-18 09:47:28 -0700
commit9fbe2a20078242594db788e5abec41651cbc6991 (patch)
tree816452fd16adad11ffde7ab1f8a110ca465fb6fa /src/intel/blorp/blorp.h
parentea556471a116b1baa2b766580db36f80fe24367a (diff)
intel/blorp: Add a blorp_filter enum for use in blorp_blit
At the moment, this is entirely internal but we'll expose it to clients of the BLORP API in the next commit. Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h
index 0a10ff91576..6e2f888d17f 100644
--- a/src/intel/blorp/blorp.h
+++ b/src/intel/blorp/blorp.h
@@ -119,6 +119,14 @@ struct blorp_surf
uint32_t tile_x_sa, tile_y_sa;
};
+enum blorp_filter {
+ BLORP_FILTER_NONE,
+ BLORP_FILTER_NEAREST,
+ BLORP_FILTER_BILINEAR,
+ BLORP_FILTER_SAMPLE_0,
+ BLORP_FILTER_AVERAGE,
+};
+
void
blorp_blit(struct blorp_batch *batch,
const struct blorp_surf *src_surf,