From e5c0a7b7810092a593ff386843927238c175bdbd Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Tue, 20 Apr 2010 14:51:04 -0700 Subject: clean-up surfaceflinger a bit get rid of the glDrawTexi path and use floating points instead of fixed point maths Change-Id: I3aa9ce2dc082f702160e605a16ba5fe987cdf087 --- libs/surfaceflinger/Transform.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libs/surfaceflinger/Transform.h') 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; -- cgit v1.1