summaryrefslogtreecommitdiffstats
path: root/gcbv/mirror/gcbv.h
diff options
context:
space:
mode:
authorCraig Stout <craig.stout@ti.com>2012-09-24 17:27:22 -0700
committerCraig Stout <craig.stout@ti.com>2012-09-25 14:41:20 -0700
commit50819aedef353e1c37cf00b47ae591d45d4a8017 (patch)
treedd2f89a01d3194dcc0681a294bad48da84d15ce4 /gcbv/mirror/gcbv.h
parent0a2d56ece80f465f1dd9e99726e2211e42d212f6 (diff)
downloadhardware_ti_omap4-50819aedef353e1c37cf00b47ae591d45d4a8017.zip
hardware_ti_omap4-50819aedef353e1c37cf00b47ae591d45d4a8017.tar.gz
hardware_ti_omap4-50819aedef353e1c37cf00b47ae591d45d4a8017.tar.bz2
gcbv-user: added source rectangle validation.
Also debug logging improved. Change-Id: Ib740087d2431efbb0055c024a5e68f2b0f3b8917 Signed-off-by: Alexei Shlychkov <x0177296@ti.com>
Diffstat (limited to 'gcbv/mirror/gcbv.h')
-rw-r--r--gcbv/mirror/gcbv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcbv/mirror/gcbv.h b/gcbv/mirror/gcbv.h
index e2c4e08..d07debd 100644
--- a/gcbv/mirror/gcbv.h
+++ b/gcbv/mirror/gcbv.h
@@ -491,6 +491,9 @@ struct gcbatch {
/* Get the pointer to the context. */
struct gccontext *get_context(void);
+/* Validation. */
+bool valid_rect(struct bvsurfgeom *bvsurfgeom, struct gcrect *gcrect);
+
/* Parsers. */
enum bverror parse_format(struct bvbltparams *bvbltparams,
struct surfaceinfo *surfaceinfo);