Commit Graph

19183 Commits

Author SHA1 Message Date
Bruno Dilly 1d5fbc9850 ephysics: print sandbox error msgs correctly
SVN revision: 77596
2012-10-08 22:47:11 +00:00
Bruno Dilly 0955e6258c ephysics: cosmetic clean up on sandbox code
Respect 80 cols, remove extra blank lines and blank spaces.



SVN revision: 77595
2012-10-08 22:46:58 +00:00
Bruno Dilly f5f0427c9b ephysics: fix make distcheck
SVN revision: 77594
2012-10-08 22:46:50 +00:00
Bruno Dilly 5e2b7efe13 ephysics: separate test and sandbox themes
SVN revision: 77593
2012-10-08 22:46:29 +00:00
Ricardo de Almeida Gonzaga 8bd4f13b0d ephysics: initial commit to sandbox
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77592
2012-10-08 22:46:19 +00:00
Leandro Dorileo e084960cf3 EPhysics: dragging body test
New test where the user can drag a body around the world by grabbing
and dragging.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77585
2012-10-08 18:01:06 +00:00
Bruno Dilly 3db5bdd771 ephysics: re-activate body when velocity is set
SVN revision: 77584
2012-10-08 18:00:55 +00:00
Eduardo Lima (Etrunko) 8a014153d4 Wayland_SHM: Add listener to frame callback
This is the method necessary to synchronize Wayland and Evas rendering, similar
to vblank sync that is used in X11. This solves the Wayland SHM render issues
(tearing effect) without the need to add double buffering to the engine.

In a near future, the SHM implementation will feature double (or triple)
buffering and this syncrhonization mechanism will be changed to be optional.

Patch based on the work started by Robert Bradford on ticket #1280
http://trac.enlightenment.org/e/ticket/1280

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77580
2012-10-08 14:22:17 +00:00
Eduardo Lima (Etrunko) 352926829e Ecore_Evas: Share code between SHM and EGL
implementations

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 77579
2012-10-08 14:09:53 +00:00
Vincent Torri e505eb5584 evas svg loader: update to latest esvg API
SVN revision: 77561
2012-10-07 21:10:37 +00:00
Sebastian Dransfeld 89d1fdb265 ecore_wayland: Remove unneeded header
Already included by ecore_wl_private.h

SVN revision: 77548
2012-10-06 17:10:58 +00:00
Sebastian Dransfeld b111a5046e ecore_wayland: Make modifiers correctly at once
SVN revision: 77546
2012-10-06 15:58:27 +00:00
Vincent Torri 7fe3d35994 merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Bruno Dilly 227ef6982e ephysics: add valgrind suppression file
stop complaining about fontconfig and libz stuff



SVN revision: 77541
2012-10-05 15:41:10 +00:00
Sebastian Dransfeld a91fd04ead ecore_wayland: Use correct modifier flags
Events should use ECORE_EVENT_MODIFER_* flags...

SVN revision: 77534
2012-10-05 13:46:35 +00:00
Cedric BAIL 433803e3dc ecore: let's try another approach thanks to Guillaume Friloux.
SVN revision: 77533
2012-10-05 13:07:14 +00:00
Cedric BAIL d308248e4c ecore: properly reschedule call to curl.
SVN revision: 77524
2012-10-05 10:17:18 +00:00
Sung Park 52e4090f92 Added Debug feature for Evas GL's GL APIs. It can be set with
EVAS_GL_API_DEBUG=1 and when it is set, all the GL calls will check
if make_current has been properly called.  Also, it'll check if all
the GL calls are called within the Pixel Getter function for Direct
Rendering option.


SVN revision: 77522
2012-10-05 10:03:37 +00:00
Christopher Michael eb9cbc76a0 Add missing __UNUSED__
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77519
2012-10-05 09:10:52 +00:00
Christopher Michael 08891484b5 Fix function declaration for native_window_destroy in EVGL_Interface
structure (returns an int, not a pointer to int).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77518
2012-10-05 09:09:37 +00:00
Sung Park 6ce22db846 Removed unnecessary typedef of GLchar. It was reported by rusty with
issues on OpenBSD/NetBSD Not sure why it was left there, but fixed now. 


SVN revision: 77507
2012-10-05 07:00:28 +00:00
Daniel Juyung Seo 517843dc7c evas Evas.h: Added more documentation for users. Spotted by Seoghyun Kang.
SVN revision: 77499
2012-10-05 06:35:12 +00:00
Daniel Juyung Seo 91f0f4ee8e backport r77494 and r77495.
SVN revision: 77498
2012-10-05 06:35:06 +00:00
Sebastian Dransfeld 248fb9b2d9 ecore-x: expose ecore_x_selection_converter_text
Needed to convert COMPOUND_TEXT

SVN revision: 77477
2012-10-04 23:18:18 +00:00
Bruno Dilly aa484b1411 ephysics: update TODO
remove some done tasks



SVN revision: 77472
2012-10-04 22:40:58 +00:00
Bruno Dilly c6e04869ea ephysics: don't send a msg per sub step
Only send one msg at the end of the simulation step.



SVN revision: 77471
2012-10-04 22:40:52 +00:00
Bruno Dilly 14459c4d74 ephysics: add heavy test to check threads work
Simulate 600 small balls.

Ok, it's not so huge, but I've tested to add a sleep on step simulation
on bullet. Things looks to be working just fine.



SVN revision: 77470
2012-10-04 22:40:46 +00:00
Bruno Dilly d6d51d86f8 ephysics: fix typos on docs
SVN revision: 77469
2012-10-04 22:40:35 +00:00
Leandro Dorileo 8079624030 EPhysics: soft body test
Soft Body Test, add smart soft bodies in the list for exclusion.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77468
2012-10-04 22:40:29 +00:00
Leandro Dorileo 252643a33b EPhysics: add cloth support
This patch introduces the cloth support. Auxiliary API's for setting
full anchors, cloth nodes anchors and so on is also introduced. Few
other issues concerning soft body and cloth transform, has been worked
to fit the cloth support needs.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77467
2012-10-04 22:40:16 +00:00
Leandro Dorileo 1cb8f6fc0c EPhysics: multi point deformation
This patch introduces support for multi point deformation mapping,
it's wrapped with an evas smart object to handle multiple slices.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77466
2012-10-04 22:40:07 +00:00
Bruno Dilly da4c5234f2 ephysics: use new ELM_POLICY_EXIT
To make sure windows will be properly deleted at shutdown.



SVN revision: 77465
2012-10-04 22:39:59 +00:00
Bruno Dilly 7d994cc8e6 ephysics: don't try to lock on internal delete
SVN revision: 77464
2012-10-04 22:39:53 +00:00
Bruno Dilly 7fe038a1c8 ephysics: add test for materials
SVN revision: 77463
2012-10-04 22:39:47 +00:00
Bruno Dilly 0bdec67255 ephysics: support body material
Using material_set it will be easier to set density, friction
and restitution to a body, simulating properties of the selected
material.



SVN revision: 77462
2012-10-04 22:39:42 +00:00
Bruno Dilly f0b85f701d ephysics: add some material constants
Pre-defined values of some properties, as density, friction and
restitution.

Ricardo researched these values on the following sources:

http://www.matbase.com/
http://www.matweb.com/
http://physics.info/density/
http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=616
http://www.woodweb.com/knowledge_base/Wood_Handbook.html
http://www.engineershandbook.com/Tables/frictioncoefficients.htm
http://www.engineeringtoolbox.com/friction-coefficients-d_778.html
http://hypertextbook.com/facts/2006/restitution.shtml

Since they diverge a lot, he calculated an average value.



SVN revision: 77461
2012-10-04 22:39:35 +00:00
Bruno Dilly 748cfbe2f4 ephysics: support density
SVN revision: 77460
2012-10-04 22:39:29 +00:00
Bruno Dilly b52d2ed85e ephysics: add define to infinite mass
Also check for invalid values on mass set.



SVN revision: 77459
2012-10-04 22:39:10 +00:00
Bruno Dilly 7b7bef6087 ephysics: delete all worlds on exit
sure, it won't work until externals init / shutdown mess is fixed.



SVN revision: 77458
2012-10-04 22:38:58 +00:00
Bruno Dilly 6181303ab5 ephysics: no need to delete all the bodies on test
data del

It's already done when deleting the world.



SVN revision: 77457
2012-10-04 22:38:17 +00:00
Bruno Dilly a3eda42485 ephysics: add a log domain usage counter
This way we assure eina log will be working until the last
thread ends.



SVN revision: 77456
2012-10-04 22:38:11 +00:00
Bruno Dilly 9668304291 ephysics: use multiple threads
Use a mainloop thread and one thread per world dedicated to simulation.

It's using ecore threads, out of the pool.

For now there are still some locks when trying to change physics
elements properties while a simulation is going on, but soon it will
have a queue of properties to be applied after a simulation step, so
it won't lock.



SVN revision: 77455
2012-10-04 22:38:06 +00:00
Leandro Dorileo cfdd39c2d7 ephysics: free overlap filter callback
This patch makes sure the overlap filter callback instance is removed
on world removal.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 77454
2012-10-04 22:38:00 +00:00
Ricardo de Almeida Gonzaga 62f7b42c3b ephysics: updated authors.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77453
2012-10-04 22:37:54 +00:00
Ricardo de Almeida Gonzaga 45c3c60ea3 ephysics: add some references to technical terms.
Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77452
2012-10-04 22:37:47 +00:00
Ricardo de Almeida Gonzaga fcea4e820a ephysics: add a new example doc: EPhysics Logo -
ephysics_logo.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77451
2012-10-04 22:37:40 +00:00
Ricardo de Almeida Gonzaga bd9c06c5f5 ephysics: add a new example doc: Rotating Forever -
test_rotating_forever.c



Patch by: Ricardo de Almeida Gonzaga <ricardo@profusion.mobi>



SVN revision: 77450
2012-10-04 22:37:25 +00:00
Vincent Torri 079b6c94c3 Eet: Update lz4 code to rev. 77. This fix compilation on NetBSD 5.0
SVN revision: 77449
2012-10-04 17:25:48 +00:00
Vincent Torri 1c96844922 Eina: backport rev. 77445
SVN revision: 77446
2012-10-04 17:16:18 +00:00
Vincent Torri 607eb7d0de Ecore_con: update ecore_con_eet headers. Should make it compiling on Windows (not tested)
SVN revision: 77444
2012-10-04 17:04:38 +00:00