diff options
| author | Mathias Agopian <mathias@google.com> | 2010-04-20 14:51:04 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2010-04-20 15:58:36 -0700 |
| commit | e5c0a7b7810092a593ff386843927238c175bdbd (patch) | |
| tree | 0118a020f4e43c025fbfaadb2d91460aa893894d /libs/surfaceflinger/Transform.h | |
| parent | 796c5fc6abf01b1864223156d578288657fe9923 (diff) | |
| download | frameworks_base-e5c0a7b7810092a593ff386843927238c175bdbd.zip frameworks_base-e5c0a7b7810092a593ff386843927238c175bdbd.tar.gz frameworks_base-e5c0a7b7810092a593ff386843927238c175bdbd.tar.bz2 | |
clean-up surfaceflinger a bit
get rid of the glDrawTexi path and use floating points instead of fixed point maths
Change-Id: I3aa9ce2dc082f702160e605a16ba5fe987cdf087
Diffstat (limited to 'libs/surfaceflinger/Transform.h')
| -rw-r--r-- | libs/surfaceflinger/Transform.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/surfaceflinger/Transform.h b/libs/surfaceflinger/Transform.h index 2e5b893..20fa11a 100644 --- a/libs/surfaceflinger/Transform.h +++ b/libs/surfaceflinger/Transform.h @@ -37,8 +37,6 @@ public: explicit Transform(uint32_t orientation); ~Transform(); - typedef int32_t fixed1616; - // FIXME: must match OVERLAY_TRANSFORM_*, pull from hardware.h enum orientation_flags { ROT_0 = 0x00000000, @@ -76,7 +74,7 @@ public: // transform data Rect makeBounds(int w, int h) const; - void transform(fixed1616* point, int x, int y) const; + void transform(float* point, int x, int y) const; Region transform(const Region& reg) const; Transform operator * (const Transform& rhs) const; |
