aboutsummaryrefslogtreecommitdiff
path: root/evs/app/RenderBase.h
diff options
context:
space:
mode:
authorScott Randolph <randolphs@google.com>2017-05-16 17:42:19 -0700
committerScott Randolph <randolphs@google.com>2017-05-17 10:48:46 -0700
commit4a83b5dba29eceaf43c4ff7d5c184463949174cc (patch)
tree509a3eda7d5b42d5069a72c39e156428480b3779 /evs/app/RenderBase.h
parent56e8d0cd4ec9340d556a1c1a14175ec195836949 (diff)
downloadCar-4a83b5dba29eceaf43c4ff7d5c184463949174cc.tar.gz
Add projected texture support to evs_app
This adds the first pass at top down camera view reprojection to the evs_app. Test: Run on gordon_peak against vehicle HAL 2.1 and android.hardware.automotive.evs@1.0-sample (cherry picked from commit 58a406d04fbe3d6cda7f243bc515245fd82c6730) Change-Id: Ia3b59745ec96210df2f142ebc3e0e9de15459857
Diffstat (limited to 'evs/app/RenderBase.h')
-rw-r--r--evs/app/RenderBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/evs/app/RenderBase.h b/evs/app/RenderBase.h
index df34639947..25474d575a 100644
--- a/evs/app/RenderBase.h
+++ b/evs/app/RenderBase.h
@@ -61,6 +61,7 @@ protected:
static unsigned sWidth;
static unsigned sHeight;
+ static float sAspectRatio;
};