summaryrefslogtreecommitdiff
path: root/Eyes.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-02Purge cvs tags.Jesse Adkins1-2/+0
Change-Id: Idc6b4faf683e46bb1fe946fdac7299316af7beec Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2013-09-02New -distance mapping optionDylan Simon1-5/+61
Distance mapping makes more efficient use of eye space. Change-Id: Iaf471ee360f1d7f8d0aece905589fb8f39cc4029 Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2013-09-02Cleanup and simplify calculation and drawingDylan Simon1-73/+65
By transforming the eyes’s space when calculating where to place the pupils, the code effectively assumed that EYE_HEIGHT == EYE_WIDTH. Make this assumption explicit and remove calculations which are therefore unnecessary. Clean up related code and, consequently, reduced redraw time and tearing. Change-Id: Iaa0f9684d902fbc3d4ca45118ebb811a57a11a89 Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2013-09-02Fix excessive redraw bugDylan Simon1-8/+15
introduced by dbb8401026c421d64a2962e6ac6eb900f6dc141e Change-Id: Icfc6073bdfed7dc5be857d5c7248bc8b5aec7d68 Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2013-09-02Add xrender supportDylan Simon1-80/+195
Optionally draw all components (except shape) with xrender. Enabled by default. Xlib rendering can be restored by "configure --without-xrender" or "xeyes +render". Change-Id: Ib63621e450e6f75ef76a160634ae2186a7db9456 Signed-off-by: Dylan Simon <dylan@dylex.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2013-09-02Split drawing code into multiple functions.Peter Hutterer1-41/+60
Change-Id: I5d0c297a851e4e53df4f224b28f458c938461dc0
2013-09-02Remove unused NUM_EYES define.Peter Hutterer1-1/+0
Change-Id: I92a031b60f3e094ec11999ff5c1783f3a893b335 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-09-02Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade1-1/+1
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings. Change-Id: I83f1a63f147aa49276f9011870243ae6ccd5d287
2013-09-02Merging XORG-CURRENT into trunkEgbert Eich1-1/+1
Change-Id: Id3a98d038b561f289a0bd5a5ee9dbab8d60031f3
2013-09-02Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004Egbert Eich1-1/+1
Change-Id: I26a8b247772ca1f82cd0ab4aa3874bab302dc97c
2013-09-02Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004Egbert Eich1-1/+1
Change-Id: If155e242f882620372b3d99c41af1e2a78a43925
2013-09-02readding XFree86's cvs IDsEgbert Eich1-1/+1
Change-Id: I814edf7f1c79e138e0e5cafd70126101e435698c
2013-09-02Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
Change-Id: Idba2db04aeedbdd424eafd36aa602ad586778a59
2013-09-02Initial revisionKaleb Keithley1-0/+455
Change-Id: I97166917246ed4ce407b93cf744c0489dc156aff