Commit Graph

5229 Commits

Author SHA1 Message Date
Carsten Haitzler a5638a0a65 clarify docs that you must free when done.
SVN revision: 66744
2012-01-02 11:29:51 +00:00
Carsten Haitzler 3f915e1e3f oops dont enable copy path!
SVN revision: 66727
2012-01-02 03:32:57 +00:00
Carsten Haitzler 8e4391d38b make some more notes for partial swap (copy gabk to front) but still
doesnt work.. just sits there and does nothing. wtf.



SVN revision: 66726
2012-01-02 03:30:23 +00:00
Carsten Haitzler 4273f5846c found nvidia eat-cpu-bug. glXWaitGL() spins using all cpu it can find,
though nvidia fixed the spinning on glXSwapBuffers() long ago, they
didn't fix this one.



SVN revision: 66710
2012-01-01 06:47:16 +00:00
Mike McCormack 2489fd44bf evas: Avoid crash when there's no GL implementation
Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 66708
2011-12-31 23:07:22 +00:00
Carsten Haitzler 36ef335ae9 fix mouse out handler to out all objects mouse is in - right thing to
do.



SVN revision: 66699
2011-12-30 15:20:15 +00:00
Carsten Haitzler e3c2428b9b notes.
SVN revision: 66698
2011-12-30 15:17:13 +00:00
Christopher Michael 6dd4ff46ba Evas: Send proper intercept size based on 'is_frame' or not.
SVN revision: 66637
2011-12-29 18:02:23 +00:00
ChunEon Park e735350d91 evas - removed white spaces
SVN revision: 66624
2011-12-29 11:18:44 +00:00
Daniel Juyung Seo 0c167d3052 evas Evas.h: Fixed typo.
SVN revision: 66618
2011-12-29 04:45:30 +00:00
Iván Briano e421ac90b7 Don't override standard variables, it looks weird. In turn, fix building with automake 1.11.2
SVN revision: 66599
2011-12-28 14:13:30 +00:00
Carsten Haitzler 295e53e24b warn--
SVN revision: 66592
2011-12-28 06:02:53 +00:00
Carsten Haitzler 2e250ed50e actually allow cursion levels to be set/limited.
SVN revision: 66590
2011-12-28 06:00:37 +00:00
Carsten Haitzler d72c60d269 add recursive name fund func evas_object_name_child_find()
SVN revision: 66587
2011-12-28 05:07:31 +00:00
Carsten Haitzler 6f5a4382d0 fix some formatting i spotted.
SVN revision: 66570
2011-12-27 12:03:03 +00:00
Carsten Haitzler d832fca15c add feature to help fix bug in ecore-evas
SVN revision: 66567
2011-12-27 12:01:17 +00:00
Christopher Michael aa389de3cc Evas: Add missing evas-wayland-egl.pc file. Thanks for the report Seoz
:)



SVN revision: 66549
2011-12-27 00:45:52 +00:00
Christopher Michael f46b196355 Evas: Update news file.
SVN revision: 66546
2011-12-26 23:43:42 +00:00
Christopher Michael 27378c7ad3 Evas: Update ChangeLog.
SVN revision: 66545
2011-12-26 23:42:33 +00:00
Christopher Michael e696f0d43f Evas: Add 'since' on new functions.
SVN revision: 66544
2011-12-26 23:41:24 +00:00
Christopher Michael 26fcca18b7 Evas: Add Wayland EGL engine (still experimental).
SVN revision: 66541
2011-12-26 23:13:52 +00:00
Christopher Michael b6b9744f19 Evas (Wayland Shm Engine): Cleanup of commented out code. Fix
calculation of update region.



SVN revision: 66540
2011-12-26 23:12:50 +00:00
Christopher Michael b560f1fc1a Evas (Wayland_Shm Engine): Check for valid RGBA_Image before trying to
use it. Use correct stride calculation for bytes.



SVN revision: 66539
2011-12-26 23:12:05 +00:00
Christopher Michael 810cf11241 Evas: Default framespace to zero on new canvas creation.
Some cleanup of commented out code.
Fix some formatting.



SVN revision: 66538
2011-12-26 23:11:07 +00:00
Christopher Michael f1e9715711 Evas: Fix calculations for framespce when changed.
SVN revision: 66537
2011-12-26 23:10:27 +00:00
Christopher Michael c4aa1944f9 Evas: Default 'is_frame' to false for new objects.
Handle 'moving' nad 'resizing' of objects if they are not 'frame objects'
Add code for frame_object_get/set functions.
Fix some formatting.



SVN revision: 66536
2011-12-26 23:09:45 +00:00
Christopher Michael 1e7bfab5ee Evas: Add functions to get/set if an object is a 'frame object'.
SVN revision: 66535
2011-12-26 23:08:17 +00:00
Christopher Michael 0740555698 Evas: Add 'is_frame' property for objects (used in wayland engines).
SVN revision: 66534
2011-12-26 23:07:52 +00:00
Cedric BAIL 638e61f314 evas: check the availability of the generic loader before execing it.
Patch requested by Guillaume Friloux.


SVN revision: 66532
2011-12-26 15:23:30 +00:00
Carsten Haitzler e13221170d shit - seb - u're right! typo. :)
SVN revision: 66487
2011-12-24 02:42:27 +00:00
Michael BOUCHAUD aec13b5d41 evas: forget to overide this in gl, fix evas_object_image_region_support_get
SVN revision: 66480
2011-12-23 12:00:52 +00:00
Carsten Haitzler d2e760f1be actually no chglog - that was a bug aded to ico loader during 1.1 by
someone who moved to eina_file too...



SVN revision: 66479
2011-12-23 12:00:31 +00:00
Sanghee Park 550b8417c7 From: Sanghee Park <sh15.park@samsung.com>
Subject: Drawing objects by pixman

        * Extend pixman support to allow other operations to use
          pixman when doing software rendering. On x86 this isn't useful
          but on ARMv7 with NEON pixman happens to do better with image
          blending and nearest scale blending.
        * Add tiled rotator for 32bit display as an option.



SVN revision: 66478
2011-12-23 11:50:29 +00:00
Carsten Haitzler d5057aebd8 fix ico loader bug.
SVN revision: 66476
2011-12-23 11:31:33 +00:00
ChunEon Park bf8ddb5ecb evas - one more line duplicated.
SVN revision: 66470
2011-12-23 02:24:19 +00:00
ChunEon Park ad007a72d6 evas - removed duplicated lines
SVN revision: 66469
2011-12-23 02:20:56 +00:00
Cedric BAIL e94feaf21b evas: now that we use eina_lock, we don't need this #ifdef.
SVN revision: 66466
2011-12-22 16:54:44 +00:00
Mike Blumenkrantz 4dde203f06 fix textblock parsing of tags with stupid trailing spaces like <br /> which people use for some stupid reason
SVN revision: 66444
2011-12-22 03:32:23 +00:00
ChunEon Park 0d3a9bd25c evas/evas_events - repeat events should not be affected by children.
Fixed to object passes events to the next object in the same layer if the repeat_events is enabled



SVN revision: 66416
2011-12-21 07:55:22 +00:00
ChunEon Park 9674e97ef5 evas - proper coding convention.
SVN revision: 66364
2011-12-20 07:06:53 +00:00
Carsten Haitzler bf9467a712 missing chlog for sse3 fix.
SVN revision: 66354
2011-12-20 04:44:28 +00:00
Carsten Haitzler b7ea52dc73 missing chlog for clip fix.
SVN revision: 66353
2011-12-20 04:42:54 +00:00
Carsten Haitzler 8a25dfd96b add @since on single liners.
SVN revision: 66324
2011-12-19 07:26:34 +00:00
Carsten Haitzler 885c618f20 add new events for pre/post rendering
SVN revision: 66318
2011-12-19 05:50:06 +00:00
Carsten Haitzler 6de81aa0e5 and remove changelog accordingly.
SVN revision: 66309
2011-12-18 05:04:33 +00:00
Carsten Haitzler dbc5afdee2 sorry sungwoo - going to have to back this dlopen/dlsym styuff out.
intel drivers don;'t like it for some odd reason - i'm trying to track
it down but i can't sanely try middlegrounds right now (eg dont
dlopen/dlsym but actually directly assign symbols etc.), so back out
and let's figure this out before it goes back in :(



SVN revision: 66308
2011-12-18 05:03:24 +00:00
Christopher Michael ac49da31df Evas: Handle framespace changes also during 'render'.
SVN revision: 66306
2011-12-17 18:45:09 +00:00
Carsten Haitzler 34581d0300 Add new api to set and get default event flags.
SVN revision: 66275
2011-12-16 09:24:18 +00:00
Carsten Haitzler 7e8ff5311b fix buggy sse3 solid color + text bak blend when dest alpha exists.
SVN revision: 66273
2011-12-16 07:47:07 +00:00
ChunEon Park 2dd552f003 evas/main - removed unnecessary casting.
SVN revision: 66272
2011-12-16 07:22:09 +00:00
Carsten Haitzler 3306dce0c7 useless clip setting in ctx as it's reset a few lines later.
SVN revision: 66271
2011-12-16 07:20:12 +00:00
Carsten Haitzler 6fd0ee9262 fix map clip issue that shows up in buffer engine.
SVN revision: 66270
2011-12-16 07:04:00 +00:00
Tom Hacohen f51c8f7fc3 Evas liblineabreak: Include the wordbreak headers.
SVN revision: 66264
2011-12-15 22:27:59 +00:00
Tom Hacohen 3e2f474ef8 Evas textblock: Use macros for the unicode chars/strings.
1. Make Obj replacement and Par Sep less confusing.
2. We'll may, at some point, use the Unicode NewLine char instead of \n.
so it's now easily replaceable.

SVN revision: 66255
2011-12-15 13:03:43 +00:00
Tom Hacohen 0e0a275762 Evas textblock: Improved the implementation of *_text_markup_to_utf8.
Also support passing NULL instead of a real textblock object.
Added appropriate tests + improved previous tests.

SVN revision: 66254
2011-12-15 12:40:29 +00:00
ChunEon Park 0c0a34fbd9 evas - simplified instructions
SVN revision: 66248
2011-12-15 09:56:25 +00:00
ChunEon Park 5db2c421b8 evas - removed unnecessary comments
SVN revision: 66246
2011-12-15 09:40:07 +00:00
ChunEon Park 6503e28812 evas - use EINA_TRUE/FALSE
SVN revision: 66244
2011-12-15 09:36:51 +00:00
Jiyoun Park 36e658e20a bug fix related with evas event counter
currently evas_object_event_callback_call checks _evas_event_counter 
for preventing object's callback called several times in one evas event.

but it use global variable(_evas_event_counter), it can be changed while
procssing same event. 

for example , evas_event_feed_mouse_up. 
If there are several object in e->pointer.object.in and object 1's callback
create new evas event, object 2 cannot now event id.
so I change callback call api, and object callbacks can decide wheather it deal with that event.


SVN revision: 66234
2011-12-15 06:23:53 +00:00
Jiyoun Park 69a659fbb8 remove white space
SVN revision: 66233
2011-12-15 05:56:19 +00:00
Jiyoun Park c86d47ae59 remove white space
SVN revision: 66232
2011-12-15 05:25:37 +00:00
Christopher Michael cbbe439629 Evas: Gl_X11: Fix typo? for __UNUSED__ param.
SVN revision: 66224
2011-12-14 18:52:42 +00:00
Christopher Michael 0fccea0dee Evas: Add a Wayland Shared Memory engine (similar to the buffer &
framebuffer engines). Add Evas framespace set/get functions.



SVN revision: 66223
2011-12-14 18:44:20 +00:00
Christopher Michael b3d6859de5 Evas: Software_Generic: Fix typo? for __UNUSED__.
SVN revision: 66222
2011-12-14 18:27:29 +00:00
Tom Hacohen bdab64acae Evas textblock: Added evas_textblock_text_utf8_to_markup.
SVN revision: 66197
2011-12-14 15:04:03 +00:00
Tom Hacohen 4d61bb8329 Evas textblock: Fixed a couple of issues caused by previous commits.
SVN revision: 66194
2011-12-14 13:43:13 +00:00
Tom Hacohen 285aa1b323 Evas textblock: Updated changelog.
SVN revision: 66192
2011-12-14 13:27:18 +00:00
Tom Hacohen c856f86a1f Evas textblock: Made 'br' and 'tab' default tags.
SVN revision: 66191
2011-12-14 13:27:15 +00:00
Tom Hacohen b794e7ff8e Evas textblock: Added support for default tags.
This is useful for defining default tags that can be overridden by style.
For example <b> and <i>.

SVN revision: 66190
2011-12-14 13:27:12 +00:00
Tom Hacohen db2c0ee7e9 Evas tests: Fix textblock text according to function change.
SVN revision: 66189
2011-12-14 13:27:08 +00:00
Cedric BAIL f86908dc15 evas: use Eina_File for wbmp code and fix a potential race condition at the same time.
SVN revision: 66187
2011-12-14 11:17:09 +00:00
Cedric BAIL 54d52f9c43 evas: move space around.
SVN revision: 66185
2011-12-14 10:15:57 +00:00
Cedric BAIL b2c5fede71 evas: update ChangeLog and NEWS.
SVN revision: 66184
2011-12-14 10:03:45 +00:00
Cedric BAIL 565152cee8 evas: use Eina_File for pmaps.
SVN revision: 66183
2011-12-14 09:53:25 +00:00
Tom Hacohen ba3094581d Evas textblock: Renamed *markup_to_plain to *text_markup_to_utf8.
This should conform better to evas and what the function does.

SVN revision: 66182
2011-12-14 09:52:02 +00:00
Cedric BAIL 185ae85db4 evas: fix ico loader use of Eina_File.
SVN revision: 66181
2011-12-14 09:14:27 +00:00
Michael BOUCHAUD f3d4c1b249 evas: ooops
SVN revision: 66171
2011-12-13 17:00:43 +00:00
Michael BOUCHAUD 33eb1e5e79 evas: Add api to know if an evas_object_image could support region
SVN revision: 66170
2011-12-13 16:58:20 +00:00
Tom Hacohen c110802aa6 evas: Fixed svn detection for svn1.7
SVN revision: 66147
2011-12-13 08:53:37 +00:00
Tom Hacohen e34b9dd93c Evas linebreak: Fix wordbreak bug when there are chars < 0x0A.
The binary search used unsigned indexes which didn't work well in
that scenario (would have gotten to -1).

SVN revision: 66137
2011-12-13 07:32:56 +00:00
Carsten Haitzler 0434ce6574 * Fix grab count negative values if you do weird combinations of
press and release with multiple fingers or multiple mouse
        buttons.
        


SVN revision: 66134
2011-12-13 05:59:36 +00:00
Cedric BAIL 8b22f52e80 evas: use Eina_File for ico loader.
SVN revision: 66120
2011-12-12 17:48:53 +00:00
Tom Hacohen 4e29867a30 Evas textblock: Implemented cursor_word_start/end
SVN revision: 66119
2011-12-12 15:25:46 +00:00
Tom Hacohen f147928c84 Evas liblinebreak: Added the wordbreak support.
Will send it upstream soon. My tests worked, but they are far from
complete. Probably needs more complete testing.

SVN revision: 66118
2011-12-12 15:25:39 +00:00
Cedric BAIL f4ea278a71 evas: less warning.
SVN revision: 66115
2011-12-12 13:42:24 +00:00
Cedric BAIL 793caf7faa evas: use Eina_File for accessing BMP file.
SVN revision: 66114
2011-12-12 13:39:35 +00:00
Carsten Haitzler 3e4e9b76ab Fix rounding error in map clip bounds calculation
SVN revision: 66111
2011-12-12 08:23:24 +00:00
Carsten Haitzler b0ddea7508 only lround 2 times instead of 4 for map - minor bit of cleaner code.
SVN revision: 66108
2011-12-12 06:25:14 +00:00
Mike Blumenkrantz 5eeae75b21 fix annoying spankies
SVN revision: 66077
2011-12-10 07:21:53 +00:00
Jaehwan Kim e8a3c54734 add EAPI. Maybe it is missed.
SVN revision: 66061
2011-12-09 07:55:31 +00:00
Tom Hacohen 346e25b031 Evas textblock: Added evas_textblock_markup_to_plain.
This function converts a textblock markup to plain text.
It converts for example <br/> to \n and a lot more.

SVN revision: 66034
2011-12-08 15:12:25 +00:00
Tom Hacohen a0fa810e82 Evas: Updated NEWS file.
SVN revision: 66032
2011-12-08 13:45:09 +00:00
Tom Hacohen 4fc5a77e1d Evas: Updated changelog to include latest textblock changes.
SVN revision: 66031
2011-12-08 13:39:31 +00:00
Cedric BAIL c05f9ebabc evas: use the right message command when usefull.
SVN revision: 66030
2011-12-08 13:29:02 +00:00
Tom Hacohen 0ec467892d Evas textblock: Support self-closing formats, i.e <br/>.
Also updated tests to follow this. Using <br>, although will work, is
discouraged, please use <br/> instead.

SVN revision: 66023
2011-12-08 12:05:56 +00:00
Tom Hacohen 7f8dca2fda Evas textblock: Improve internal handling of formats.
SVN revision: 66022
2011-12-08 12:05:47 +00:00
Carsten Haitzler 70b6239ec3 disable sse3 if immintrin.h not found.
SVN revision: 65980
2011-12-07 00:10:36 +00:00
Cedric BAIL b7a86e79e0 evas: less unused warning.
SVN revision: 65963
2011-12-06 16:08:30 +00:00
Cedric BAIL dfe1ef0fc6 evas: include stdlib.h as required.
SVN revision: 65962
2011-12-06 16:07:59 +00:00
Christopher Michael 9935288eaa Evas (gl engine): Remove incorrect __UNUSED__ on paramaters that are
actually used.



SVN revision: 65928
2011-12-06 00:44:25 +00:00
Cedric BAIL 6bb99f243c evas: don't randomly move code around !
SVN revision: 65916
2011-12-05 16:50:40 +00:00
Mike Blumenkrantz 580ee6e6ac same for these
SVN revision: 65913
2011-12-05 15:39:04 +00:00
Mike Blumenkrantz ca4485f21d always have the file which includes config.h first!
SPANK SPANK SPANK cedric!


SVN revision: 65912
2011-12-05 15:38:55 +00:00
Cedric BAIL ad7e82bae0 evas: use already existing macro.
SVN revision: 65906
2011-12-05 14:32:10 +00:00
Cedric BAIL 8c2e7f7b87 evas: use eina_lock a little bit more.
SVN revision: 65904
2011-12-05 14:01:42 +00:00
Cedric BAIL 792e7bffed evas: more fine grained system detection.
SVN revision: 65903
2011-12-05 14:00:53 +00:00
Cedric BAIL 1c70650afc evas: cast as we did in eina.
SVN revision: 65902
2011-12-05 13:59:44 +00:00
Carsten Haitzler 6865d04e5e chlog++
SVN revision: 65897
2011-12-05 09:47:49 +00:00
Carsten Haitzler c75637b6bf remove warnings!
SVN revision: 65896
2011-12-05 09:26:04 +00:00
Carsten Haitzler e477ff0629 remove warning - bug ready to happen with fastpath. didnt pass
sharedlist or direct down.



SVN revision: 65895
2011-12-05 09:18:05 +00:00
Carsten Haitzler 9f5a8809c7 fix gles/egl bugs/issues in sungwoo's new patch
SVN revision: 65894
2011-12-05 09:05:04 +00:00
Carsten Haitzler 5967841988 I'm attaching a patch for the initial version of the GL Fastpath
addition to evas gl backend.

Working on different mobile devices, we've noticed that the cost of context
switch (MakeCurrent) in GL can be very expensive depending on the driver
implementation.  To minimize the poorly written driver's context switch
overhead, I've implemented a state tracking layer on top of the driver
implemented GL.

Essentially, this layer wraps all the GL/Glue(GLX/EGL) APIs and manages its own
state changes.  Internally, only one real GL context is created and logical
contexts are created every time a user requests context creation.  The logical
contexts keep track of its states and sets only the necessary states
(the ones that are different than the current ones)
when there is a MakeCurrent request.  The real MakeCurrent gets called when
there is a Surface/Window change request.

The GL library is dlopened and all the APIs are dlsym'ed and wrapped
accordingly.  All the GL functions are in evas_gl_core.{h,c}.

Here's a very simply flow of the code.
   - all the APIs are exported as function pointers (*glsym_glBegin),
     (*glsm_eglCreatContext), and etc.
   - all the native GL/Glue(GLX/EGL) APIs are dlsym'ed as _sym_glBegin,
     _sym_eglCreateContext, and etc.
   - all the fastpath APIs are implmemnted as fpgl_glBegin,
     fpgl_eglCreateContext, and etc.
   - if faspath is seletected, the exported APIs are set accordingly
     ie. glsym_glBegin = fpgl_glBegin;
   - default mode is the regular gl symbols are directly set.
     ie. glsym_glBegin = _sym_glBegin;
             
I have an Environment variable where you can set it to three different Modes

EVAS_GL_FASTPATH = 0    // Default mode. Regular GL symbols are directly loaded
EVAS_GL_FASTPATH = 1    // Fastpath mode. Takes the path described above.
EVAS_GL_FASTPATH = 2    // Wrapped mode.  All the regular GL functions are
                           wrapped once.  This can be used for various
purposes

Since all the GL symbols are now loaded in this library, I took out all
the gl symbol loading parts in the evas gl backend as you'll see in the patch.
The changes to the engine and the backend itself is pretty minor.

There are still some known issues to hammer out but I thought we're at a good
place for an initial version so that my source doesn't diverge too much.

Known Issues and To Do's
* Current GL Fastpath version doesn't support multiple threads. Instead of
  having one global real context, I would need to do it for each thread. I'll
  get on this soon.
  
  * Issues running Evas GL on certain conditions.  When running the elementary
  test (with gl engine), if you run ELMGLview test that runs in ON_DEMAND mode,
  everything works fine. BUT, when you run the ELMGLView test in ALWAYS
    mode, the subsequent elm tests shows blank screen. When you destroy the
  GLView window, everything else comes on fine.
  
  * Resource protection code.  This actually applies to Evas GL code in general
  as well. Since all the resources are shared among all the contexts that get
  created, I would like to eventually have a resource protecting mechanism that
  prevents access to resources outside of its context unless specifically
  specified.
  
  I'm attaching three files
     - evas_gl_core.h, evas_gl_core.c, fastpath.patch
     
  To get the code running...
     - copy evas_gl_core.{c,h} to src/modules/engine/gl_common/
     - apply the fastpath.patch
     - compile/install evas
     - to run with fastpath GL (ie. % EVAS_GL_FASTPATH=1 ./evasgl_sample1)



SVN revision: 65891
2011-12-05 08:54:14 +00:00
Mike Blumenkrantz 96f572f8b3 add a newline before api link
SVN revision: 65865
2011-12-04 04:29:55 +00:00
Carsten Haitzler ac4c70ab7b fix changelogs to mention release.
SVN revision: 65860
2011-12-04 01:56:31 +00:00
Carsten Haitzler f834ab3e12 re-enable evas_gl for trunk dev
SVN revision: 65841
2011-12-03 14:15:14 +00:00
Carsten Haitzler 4797954c4d and now go to normal-like svn revs
SVN revision: 65806
2011-12-02 09:45:25 +00:00
Carsten Haitzler e51c9a6705 revert my 1.x.99 stuff so i can branch.
SVN revision: 65803
2011-12-02 09:32:11 +00:00
Carsten Haitzler b90b289063 and lets bump on to 1.x.99 (or so) for svn... and back to adding snap
rev.



SVN revision: 65802
2011-12-02 09:10:56 +00:00
Rafal Krypa 20896e3c14 From: Rafal Krypa <r.krypa@samsung.com>
Subject: Fix Neon build with Thumb-2

    In assembly part of function evas_common_convert_rgba_to_32bpp_rgb_8888_rot_90:
    Don't use 3-operand add instructions (e.g. add r2, r5, #2) as this is
    not supported in unified syntax.
    


SVN revision: 65768
2011-12-01 10:00:44 +00:00
Carsten Haitzler ef98c28a61 2 functions had pure specified when it shouldn't be for those.
SVN revision: 65635
2011-11-28 05:37:41 +00:00
Christopher Michael f0b80715e4 Evas: Add missing __UNUSED__ in buffer engine.
SVN revision: 65614
2011-11-27 16:27:02 +00:00
Carsten Haitzler b2bbceff4b Fix repeat event inheritance from parent smart just like
pass events are inherited. This was inconsistent.
                


SVN revision: 65574
2011-11-24 13:01:15 +00:00
Carsten Haitzler 9ce2648464 improve the tga fix by not blacklisiting some incorrect tga files that
actually do work normally due to junk in the headers in unused areas.



SVN revision: 65511
2011-11-22 09:20:44 +00:00
ChunEon Park 33b8560d38 evas/evas_object_smart - revert 65482 but more bracket added
SVN revision: 65485
2011-11-21 14:28:54 +00:00
ChunEon Park 4df374b0f4 evas/evas_object_smart - don't need compare each layer
SVN revision: 65482
2011-11-21 10:16:25 +00:00
Mike Blumenkrantz 6662d6ae6e add direct link to header file in api docs
tweet: hey, SeoZ here, I really like Microsoft. I mean REALLY like them. I think they're a fantastic company and I hope everyone uses winmo!


SVN revision: 65469
2011-11-21 05:01:23 +00:00
Vincent Torri b5d99fd6f9 Evas: remove extra parenthesis
SVN revision: 65456
2011-11-20 16:59:01 +00:00
Vincent Torri c1e22d9e5c Evas define BUILD_ASYNC_EVENTS...
SVN revision: 65454
2011-11-20 16:48:02 +00:00
Cedric BAIL 76b2798b5e evas: correct header order.
SVN revision: 65452
2011-11-20 15:17:29 +00:00
Cedric BAIL 2b51e449e7 evas: use Eina_File for a more porable and cleaner code.
SVN revision: 65450
2011-11-20 15:10:05 +00:00
Cedric BAIL 7156816e8a evas: remove warning when fontconfig is disabled.
SVN revision: 65434
2011-11-20 13:55:17 +00:00
Cedric BAIL a1ae7ad174 evas: shutup warning with some configuration option.
SVN revision: 65433
2011-11-20 13:54:03 +00:00
Cedric BAIL 889b6c749f evas: warning--
SVN revision: 65432
2011-11-20 13:52:18 +00:00
Cedric BAIL 546d1e1461 evas: remove wrong non null definition.
SVN revision: 65431
2011-11-20 13:50:27 +00:00
Carsten Haitzler 92dcf51ca8 TGA loader gets fixed alpha decode - real life tga's have
proper alpha values. also reduce false positive tga file
detection



SVN revision: 65411
2011-11-19 15:09:27 +00:00
Vincent Torri 6ae5eeb893 Evas: fix nonnull argument with out-of-range operand number
Patch by Fabien Romano via Jonathan Armani


SVN revision: 65381
2011-11-18 09:23:22 +00:00
Cedric BAIL 84cbdd9a04 evas: video surface can be NULL.
SVN revision: 65379
2011-11-18 08:49:59 +00:00
Mike McCormack 997a3aa756 [evas] Always clear recalc count of items that have been on calc list
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65326
2011-11-17 04:31:43 +00:00
Vincent Torri bc97e65b9c evil >= 1.0.0
SVN revision: 65301
2011-11-16 17:48:50 +00:00
Carsten Haitzler 16d5eb14bb ok - longstanding issue. quality of jpeg encode and decode dropped
quickly when uf your-encoded anything due to using IFAST decoder (and
encoder). this does drop speed for decode and encode (except encoding
< 60% quality where it now uses IFAST), but we don't see progressively
worse artifacts.



SVN revision: 65293
2011-11-16 11:52:36 +00:00
Carsten Haitzler 9e655af267 update release candidate trees to their release version in preparation
for alpha



SVN revision: 65280
2011-11-16 05:34:37 +00:00
ChunEon Park 61655ba055 evas/events - removed events_frozen check in evas_event_passes_through()
in most cases, it is performed twice inside and outside of the function in inefficient way.

and calling of events_frozen in the passes_through() is not understable in the view of functional consistency.

Check is separately would be better.




SVN revision: 65269
2011-11-15 15:10:19 +00:00
ChunEon Park 9614a4027f evas - fixed typo
SVN revision: 65266
2011-11-15 14:16:31 +00:00
Carsten Haitzler df48b430b8 update evas README
SVN revision: 65238
2011-11-15 11:35:35 +00:00
Carsten Haitzler 27705ad95b fix dyn image data return due to change i made a little bit ago
SVN revision: 65159
2011-11-14 09:27:29 +00:00
Carsten Haitzler e6cf094c9d remove internal rect list declarations that are never used outside of
evas_tiler.c



SVN revision: 65145
2011-11-14 07:15:38 +00:00
Cedric BAIL e0df29b4f2 evas: upload the right texture size whatever rounding the hardware require.
SVN revision: 65138
2011-11-13 22:21:58 +00:00
Cedric BAIL 5d07e7691f evas: actually include Evas_GL.h in the tarball, just don't install it.
SVN revision: 65131
2011-11-13 13:10:31 +00:00
Carsten Haitzler 86b8de2f7e update NEWS file format for evas
SVN revision: 65123
2011-11-13 06:15:47 +00:00
ChunEon Park 0bc308dcd7 evas/evas_events - modified unsigned char -> Eina_Bool for some fields in the Evas_Key_Grab structure.
removed white spaces and fixed indent also



SVN revision: 65092
2011-11-12 08:06:30 +00:00
ChunEon Park 6dbe2c7443 evas/evas_event - evas_object_freeze_set for the key events.
SVN revision: 65091
2011-11-12 07:51:58 +00:00
ChunEon Park c5f717d2b0 evas/evas_event - trivial changes
modify indentation to look more clearly. 
use Eina_Bool 



SVN revision: 65089
2011-11-12 07:01:38 +00:00
ChunEon Park d908a5d876 evas - trivial changes.
SVN revision: 65087
2011-11-12 06:12:42 +00:00
Carsten Haitzler 507c8f9edb fill news for evas 1.1
SVN revision: 65060
2011-11-11 12:33:58 +00:00
Vincent Torri f0b1de83cc Evas: we want the opengl cocoa engine only on mac os x
SVN revision: 65059
2011-11-11 09:57:15 +00:00
Carsten Haitzler a4f94d2a09 fix nonnull val in jpeg loader proto.
SVN revision: 65056
2011-11-11 08:11:16 +00:00
Carsten Haitzler 0902d538a4 fix nonnull macro - errant ;
SVN revision: 65055
2011-11-11 08:07:03 +00:00
Carsten Haitzler 34988a54e4 ooh aznd other part of dyn img patch goes in.
SVN revision: 65053
2011-11-11 07:47:25 +00:00
Carsten Haitzler f6b826fde9 oops - typo in dyn image fix. fix!
SVN revision: 65052
2011-11-11 07:43:38 +00:00
Carsten Haitzler dcb34d789b handle refcounting of dyn img data to allow for get, get, set, set
pairs.



SVN revision: 65051
2011-11-11 07:36:15 +00:00
Carsten Haitzler edaeefa288 fix another evas map clip issue! hooray! never ending list!
SVN revision: 65044
2011-11-11 05:56:40 +00:00
Vincent Torri d103ed2551 Evas: use -pthread instead of -lpthread
SVN revision: 65030
2011-11-10 18:14:48 +00:00
Vincent Torri 6483e5c166 Evas: use -pthread instead of -lpthread
SVN revision: 65029
2011-11-10 18:02:43 +00:00
Vincent Torri 120d3d6ce0 Evas: use __always_inline__ and not always_inline
SVN revision: 65028
2011-11-10 17:39:35 +00:00
Tom Hacohen 52ca712a14 Evas font: Fix clang errors.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-09/report-qpiPpZ.html#EndPath

SVN revision: 65019
2011-11-10 12:11:17 +00:00
Jiyoun Park c049c0e12b remove white space and tab
SVN revision: 65009
2011-11-10 08:59:09 +00:00
EunMi Lee 1b00894c58 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch][Evas] Fix wrong location of
_evas_touch_point_remove()

I have a small patch to fix the wrong location of _evas_touch_point_remove().
_evas_touch_point_remove() should be called in the evas_event_feed_mouse_up(),
but it is called in the evas_event_feed_mouse_cancel() in the current code.
Would you apply attached patch?



SVN revision: 65005
2011-11-10 06:25:56 +00:00
Carsten Haitzler f10e5fd0c9 disable evas_gl for evas 1.1
SVN revision: 65003
2011-11-10 06:02:15 +00:00
Jiyoun Park 5d65b627a6 remove white space
SVN revision: 64979
2011-11-09 08:01:00 +00:00
Tom Hacohen 2bb72a2965 Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-Va2XPK.html#EndPath

SVN revision: 64978
2011-11-09 07:51:14 +00:00
Tom Hacohen 4b5e727023 Evas textblock: Fix clang error.
Shouldn't ever happen, but whatever.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-kOFp88.html#EndPath

SVN revision: 64977
2011-11-09 07:51:11 +00:00
Tom Hacohen 789b487da2 Evas textblock: Fixed 1 more clang error.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-XA8yiy.html#EndPath

SVN revision: 64976
2011-11-09 07:36:50 +00:00
Tom Hacohen 3fea444dce Evas font: Fixed a clang error and gcc compiler warnings.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-SsIayB.html#EndPath

SVN revision: 64975
2011-11-09 07:30:34 +00:00
Tom Hacohen 260f07ed81 Evas textblock: Fix clang complaint.
http://dev.enlightenment.fr/~discomfitor/evas-2011-11-08/report-FBRb3Q.html#EndPath

SVN revision: 64974
2011-11-09 07:19:09 +00:00
Carsten Haitzler deb93c0d4a to make up for not using xft.dpi anymore that was a fix essentially
to buffer engine rendering, allow env var for evas font dpi.



SVN revision: 64970
2011-11-09 05:58:19 +00:00
Tom Hacohen 5db25b11cb Evas textblock: Add ellipsis handling for format items.
Just cut before them.

SVN revision: 64817
2011-11-06 12:56:10 +00:00
Tom Hacohen 1b8ba7e17d Evas textblock: Fixed a bug with textblock ellipsis.
There was a possible segfault because we don't check if the current item
is a text item or a format item. I just removed the loop which triggered it
because it's not needed anyway, and now it works. Removing the loop also
let me remove some code that was only needed in the case of a loop.

SVN revision: 64816
2011-11-06 12:56:07 +00:00
Carsten Haitzler d12d08fd14 Ticket #824 - no readme.in's
SVN revision: 64802
2011-11-06 08:47:38 +00:00
Youness Alaoui c21427071b Evas: Add a psl1ght engine for the PS3
SVN revision: 64779
2011-11-05 17:49:37 +00:00
Vincent Torri 29c1292c7a forget that. That's the problem when dealing with
windows and linux in different repo...


SVN revision: 64768
2011-11-05 16:56:03 +00:00
Vincent Torri 3de60c77b4 Evas: fix use of __always_inline__ attribute
Fix multiple storage bug.
 * __forceinline is the equivalent of __always_inline__ on Windows. It has
   'extern' as storage, so static must not be used with it
 * use __always_inline__ and not always_inline as attribute value instead.
   No need to add storage class with __always_inline__ too.
 * static inline is fine


SVN revision: 64767
2011-11-05 16:51:13 +00:00
Cedric BAIL decb9b6377 evas: always retrieve the latest available pixels for a video.
SVN revision: 64755
2011-11-05 11:58:41 +00:00
Vincent Torri e7d87f2539 Evas: efl_attributes.m4
NEVER define a macro whose name is the name of the attribute, it breaks compilation on some platforms


SVN revision: 64749
2011-11-04 22:08:54 +00:00
Vincent Torri 22dffda1e7 Evas: efl_attribute.m4 : put definition in the prologue
SVN revision: 64748
2011-11-04 21:04:49 +00:00
Vincent Torri 4f307f62ce AM_PROG_CC_STDC is deprecated
SVN revision: 64742
2011-11-04 20:28:56 +00:00
Jiyoun Park fb44314af1 Currently, only software engine checks animation flag during rendering.
I add animation check code to gl engine.


SVN revision: 64704
2011-11-03 15:20:30 +00:00
Vincent Torri ba6be5b709 Evas: fix eina version check
SVN revision: 64664
2011-11-02 20:54:31 +00:00
Nicolas Aguirre 7f39765a08 evas: gl_cocoa fix installation of Evas_Engine_Gl_Cocoa header
SVN revision: 64663
2011-11-02 20:15:42 +00:00
Nicolas Aguirre 79eab0b7e7 evas: Add changelog and add my name to authors list.
SVN revision: 64659
2011-11-02 20:05:22 +00:00
Nicolas Aguirre 7c4cd009b5 evas: Add missing file
SVN revision: 64655
2011-11-02 18:34:22 +00:00
Nicolas Aguirre bdfeb1df14 evas: Add gl_cocoa engine
SVN revision: 64653
2011-11-02 18:23:54 +00:00
ChunEon Park f96e677847 evas - trivial changes.
SVN revision: 64595
2011-11-01 01:41:09 +00:00
ChunEon Park 9db17a253c evas - supplemented more cases for object_freeze_events completion.
SVN revision: 64564
2011-10-31 14:50:00 +00:00
ChunEon Park 160370b0e6 evas/evas_object_polygon - removed whitespaces and fixed indent.
SVN revision: 64561
2011-10-31 13:36:43 +00:00
ChunEon Park 169ffa5fcd evas/evas_object_polygon - fixed wrong.
SVN revision: 64553
2011-10-31 10:30:39 +00:00
ChunEon Park 52a4c4bc7c evas/evas_stack - just removed white spaces and fixed indentations
SVN revision: 64552
2011-10-31 10:16:18 +00:00
Vincent Torri 346eba9259 declare the variables at the beginning of the block
SVN revision: 64516
2011-10-30 05:02:05 +00:00
Mike Blumenkrantz 80b018b790 add missing variable from r64139
direct all spankies to raster and Sung W. Park


SVN revision: 64514
2011-10-30 02:04:50 +00:00
Sung W. Park a3a5a85d92 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [E-Devel][Patch] Evas GL Color Format Enum change
(and ElmGLview changes accordingly)

I'm submitting a patch that changes the color format for Evas GL.

When I first wrote Evas_GL, I just had EVAS_GL_RGB_8 and EVAS_GL_RGBA_8 and etc
but it was misleading for some people.  It was more of a filler since I couldn't decide on
a name.  I'm finally changing it to make it more clear.



SVN revision: 64491
2011-10-28 11:08:23 +00:00
ChunEon Park 9785b53f28 evas - updated Changelog and @since for evas_object_freeze_events_set/get
Thank you Vincent. 



SVN revision: 64434
2011-10-27 13:19:52 +00:00
ChunEon Park 000aed92b8 evas - added new API evas_object_freeze_events_set/get
and will handle for the key events also soon. 



SVN revision: 64432
2011-10-27 10:36:09 +00:00
Carsten Haitzler ccf5af6c44 and fix evas map used as mapbuf with clipping and stuff! ugh! the
forever shifting bug! evas_render needs a rewrite



SVN revision: 64429
2011-10-27 09:39:18 +00:00
Tom Hacohen 962d8c85c8 Evas font: Removed double ;.
SVN revision: 64414
2011-10-26 14:33:51 +00:00
Carsten Haitzler ee86abe1ea fix clip-out issue after making mapped objs opque fix was in.
SVN revision: 64413
2011-10-26 13:33:25 +00:00
Carsten Haitzler e92b545bee we can't limit sizes on load because of "i'm just loading the header
to find out the size" tricks. :(



SVN revision: 64410
2011-10-26 08:33:41 +00:00
Carsten Haitzler 122a51f16a warning--
SVN revision: 64390
2011-10-25 12:25:15 +00:00
Carsten Haitzler d7c699670e warn--
SVN revision: 64389
2011-10-25 12:20:53 +00:00
Carsten Haitzler a75ecced08 warn--
SVN revision: 64388
2011-10-25 12:14:48 +00:00
Carsten Haitzler 4483c0ef6f warning--
SVN revision: 64387
2011-10-25 12:07:56 +00:00
Carsten Haitzler bc10321643 disable getting of xft.dpi - always been an option but it just leads
to inconsistent rendering.



SVN revision: 64386
2011-10-25 12:01:44 +00:00
Carsten Haitzler fb447485e8 oh dear.. lewft and right pixle duplication for interpolation had the
WRONG PIXELS!!! amazing it never crashed! fix fix! (also handle
opengls that doesnt support unpack row length)



SVN revision: 64377
2011-10-25 09:27:54 +00:00
ChunEon Park d12a0879d2 evas/evas_object_smart - trivial changes
SVN revision: 64375
2011-10-25 08:37:43 +00:00
EunMi Lee 8b5d185038 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] [Evas] Patch to provide information of
touched points

Hello,
I made a new patch to get information of current touched point instead
of Touch Event.

I added touch_points (Eina_List) to the Evas structure and it maintains touched points on the evas.
New touched point is added to the touch_points when we get Mouse_Down and Multi_Down,
touched point is updated when we get Mouse_Move and Mult_Move,
and touched point is removed when we get Mouse_Up and Multi_Up.

The each touch point has coordinate, id and state information as follows:
id - identifier. 0 for Mouse Event and device id for Multi Event. coordinate - (x, y) coordinate of point.
state - state of point. type is Evas_Touch_Point_State enum.
(EVAS_TOUCH_POINT_DOWN, EVAS_TOUCH_POINT_UP, EVAS_TOUCH_POINT_MOVE,
EVAS_TOUCH_POINT_STILL, EVAS_TOUCH_POINT_CANCEL)

There are 4 new APIs to get touch point's information as follows:
unsigned int evas_touch_point_list_count(Evas *e);
void evas_touch_point_list_nth_xy_get(Evas *e, unsigned int n, Evas_Coord *x, Evas_Coord *y);
int evas_touch_point_list_nth_id_get(Evas *e, unsigned int n);
Evas_Touch_Point_State evas_touch_point_list_nth_state_get(Evas *e, unsigned int n);

I added APIs to get each information instead of exposing whole
structure to make it easy to expand in the future as you mentioned in
the below e-mail :)



SVN revision: 64373
2011-10-25 05:03:50 +00:00
ChunEon Park 8658d955ce Evas - Modified field names in Evas structure to be more clear.
SVN revision: 64371
2011-10-25 02:26:51 +00:00
Vincent Torri fe2e2a1787 emacs users don't like trailing white spaces
SVN revision: 64319
2011-10-23 06:59:40 +00:00
Carsten Haitzler ce882f55ae annoy vim users with spaces at the start of blank lines. :)
SVN revision: 64317
2011-10-23 03:51:41 +00:00
Mike McCormack c9dcb7dc5f evas: Fix a warning
CC     evas_cserve_tool.o
evas_cserve_main.c: In function ‘message’:
evas_cserve_main.c:993:14: warning: braces around scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)
evas_cserve_main.c:993:14: warning: excess elements in scalar initializer
evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’)

Signed-off-by: Mike McCormack <mikem@ring3k.org>

SVN revision: 64310
2011-10-22 23:33:23 +00:00
Vincent Torri 01c03642a2 Evas: bump libpng version to 1.2.10.
libpng 1.2.8 does not have the symbol png_set_expand_gray_1_2_4_to_8.
It seems that 1.2.10 has no problem, so we check for libpng >= 1.2.10
and we drop libpng 1.0.*


SVN revision: 64303
2011-10-22 19:39:56 +00:00
Carsten Haitzler 3cf77b0b30 and fix chglog and @since for max img size api
SVN revision: 64290
2011-10-22 05:42:48 +00:00
Carsten Haitzler 9e08e27995 and zero out previous rect info on clear.
SVN revision: 64289
2011-10-22 03:56:36 +00:00
Carsten Haitzler c52bc1cdb9 and fix tiler to do full resolution. yes - more mem, some more
overhead, but fewer bugs.



SVN revision: 64288
2011-10-22 03:36:39 +00:00
Carsten Haitzler 62106ea76a oh dear. debugging snuck in in my other fixes. remove.
SVN revision: 64287
2011-10-22 02:40:52 +00:00
Carsten Haitzler 30517bc67c oh this one was a doosey to find. objects still having map applied BUT
map is the same as a normal display (no mapping at all) are not
considered opaque. fix!



SVN revision: 64264
2011-10-21 17:14:03 +00:00
Rafael Antognolli 78410d7e8f evas/fb: use virtual sizes to describe the fb mode geometry.
This was causing the fb engine to draw incorrectly when the virtual size
was different from the size (xres != xres_virtual). For example, it
happens an additional monitor is plugged into a notebook.
Patch for SiT.



SVN revision: 64259
2011-10-21 16:21:09 +00:00
Cedric BAIL ce3a658ef7 evas: coorectly dirty YUV data.
SVN revision: 64254
2011-10-21 14:06:42 +00:00
Carsten Haitzler a4bb9db2fa hmm gles doesnt have internal format fetching.
SVN revision: 64253
2011-10-21 12:03:41 +00:00
Carsten Haitzler a9cee095f1 and NOW fix obscure object handling properly.
SVN revision: 64252
2011-10-21 10:25:35 +00:00
ChunEon Park 47592b586f evas/evas_inline - indent!
SVN revision: 64251
2011-10-21 10:10:47 +00:00
Carsten Haitzler f8f5ad72ef note on detecting texture alloc fail. need to percolate that back
SVN revision: 64250
2011-10-21 10:03:17 +00:00
Carsten Haitzler ed5360c648 and disable invalidate optimization
SVN revision: 64249
2011-10-21 10:00:03 +00:00
Carsten Haitzler f95a1783a7 debug for future. for now found the problem.
SVN revision: 64248
2011-10-21 09:59:13 +00:00
ChunEon Park 40a6a331bb evas/evas_events - trivial changes
SVN revision: 64247
2011-10-21 09:53:26 +00:00
Carsten Haitzler 11409eb48e have evas engine also to update rect math so we can exclude useless
updates when obscured objects change



SVN revision: 64246
2011-10-21 08:58:00 +00:00
Carsten Haitzler 1541b0e97e add call to get maximum image size (eg max texture size)
SVN revision: 64244
2011-10-21 08:17:14 +00:00
Carsten Haitzler f63b1d9ecd if image biger than max texture size... report allocation errors.
SVN revision: 64241
2011-10-21 06:10:15 +00:00
Carsten Haitzler 4587fbb802 nicer formatting of async events
SVN revision: 64240
2011-10-21 05:50:05 +00:00
ChunEon Park a331fe3bca evas/evas_events.c - removed duplicated lines
SVN revision: 64198
2011-10-20 12:21:41 +00:00
ChunEon Park 0d616af28e evas/evas_events - removed useless lines since we support multi downs
but looks bad to keep the only one point in evas. 



SVN revision: 64197
2011-10-20 11:02:22 +00:00
Carsten Haitzler a396da70de we dont need the dirty at the end either.
SVN revision: 64173
2011-10-19 09:50:55 +00:00
Jiyoun Park 0028add9c6 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] Add scale down decoding feature to evas png loader

I add scale down decoding feature to evas png loader. 5515X3986 size png image need 80~90M memory, 
but scale down(scale num=2) option can reduce memory to 25~30M.

I use down sample method for scale down. 
(there is more efficient algorithm for scale down, I'll add this to my
todo list)



SVN revision: 64170
2011-10-19 09:04:34 +00:00
Cedric BAIL 519750e778 evas: simplify code at the same time.
SVN revision: 64169
2011-10-19 09:04:18 +00:00
Carsten Haitzler 6f3529fe65 nono - we dont dirty images when we set data...
SVN revision: 64168
2011-10-19 08:59:29 +00:00
Jiyoun Park a1e7fa3103 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: Re: [E-devel] [Patch] Implement scale down decoding feature of bmp loader

I implement scale down decoding feature of bmp loader using down sample algorithm.
Desktop have low risk to go wrong memory problem during big image decoding, 
but mobile device is different.

Raster said it is life (meet memory problem during big image decoding),
and it is enough to return decoding fail.

But I think it seems a bit harsh, because 2 or 3 bmp image (5000X5000 size: for example) 
can cause application close because of memory lack.   



SVN revision: 64163
2011-10-19 06:36:28 +00:00
Tom Hacohen eca175dbe5 Evas font: Oops, hb_fonts should be per font instance, not source.
SVN revision: 64144
2011-10-18 09:58:49 +00:00
Jiyoun Park bfbd9abf9d From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] modify gl engine's animated function
related with cache entry

I modified the gl engine code related with animated images
This is very trivial.  Evas image object passes images to the engine. 
In the software engine, it is a cache entry , but in the GL engine, it is 
an Evas_GL Image. So I modified the gl engine code to get the cache entry
from the gl image.



SVN revision: 64143
2011-10-18 09:10:26 +00:00
Carsten Haitzler f1bdb3a902 for now - revers eumni touch events patch until we get press state
"getter" api patch. :)



SVN revision: 64140
2011-10-18 08:32:03 +00:00
Sung W. Park c1cc0a7ed2 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: Re: [E-devel] [E-Devel][Review][Patch] Evas GL Extensions + a
bug fix


Here's an initial attempt at the GL extensions issue for Evas GL.

I have been in discussion with a few EFL developers regarding how we should
provide extensions.  Essentially, there are two ways to go about doing this.

1. provide evas_gl_proc_address_get() function as it is done in other
glue layers

2. provide all the extension functions in the EVAS_GL_API struct.

#1 approach is how it's done in other glue layers and the driver implementor can
provide new extensions easily.  It is however pretty annoying to get the
function prototypes right and use the function pointers and etc.

#2 approach provides all the extension functions in the struct so it's
definitely easier to use.  Adding new extensions can be a pain as people may
have to wait for new version releases.

For now, we thought it was OK to just throw them in the struct as in
#2 and try it out.  So, I've implemented this approach.  As for the extensions,
I've basically included all the extensions in gl2ext.h as EvasGL currently
provides all the GLES 2.0 functions.   In order to display the right
information, I had to override glGetString() with GL_EXTENSIONS as parameter to properly
display the supported extensions.

Also, I've added a few EGL extensions that have been
modified for EvasGL use.  For example, eglCreateImage/eglDestroyImage has been
defined as folllows.

   EvasGLImage  (*evasglCreateImage) (int target, void* buffer, int*
                                         attrib_list); void
                                            (*evasglDestroyImage)
(EvasGLImage image);

const char *evas_gl_string_query() function was added to return a string of
supported EvasGL extensions.  So essentially, a user can search this string to see
if the desired extension is supported.  if it is, he can use the functions.  He can
always check if the function pointers are NULL as well.

Take a look at the pach and let me know what you think.

______________

While I was adding the extension code, I've added a few fixes/ changes
to the EvasGL.

1. glDeletBuffers bug
- When I wad destroying evasgl context, I was deleting the context FBO with
glDeleteBuffers instead of glDeleteFramebuffers. This code in effect was
deleting BOs in other contexts and we had some funky behaviors as a
result.  The
bug has been fixed.

2. make_current
- I've made some changes to the make current code and also added a resource
context to the engine data.  the resource context is used for creating surface
texture/ fbos when surface/ context is created.  Before, i was using evas'
context but thought it'd be a good idea to use a separate context.



SVN revision: 64139
2011-10-18 08:13:23 +00:00
Tom Hacohen 4906d50afc Evas font: Cache Harfbuzz font structure for fonts we use.
SVN revision: 64136
2011-10-17 14:24:49 +00:00
Tom Hacohen 387bff89fb Evas textblock: Beautify the DRAW_FORMAT_DASHED macro a bit.
Patch by Shilpa Singh.

SVN revision: 64135
2011-10-17 12:18:57 +00:00
Tom Hacohen 58602fb861 Revert "evas: Deal with harfbuzz API breakage"
Sorry mate, but they broke API without bumping version, that's why I
didn't do this myself. You should probably add your version of harfbuzz.

This reverts commit 64057.

SVN revision: 64134
2011-10-17 12:18:53 +00:00
Tom Hacohen f1f954185a Evas textblock: Cleaned up DRAW_FORMAT/_DASHED macros.
Fixed compiler warnings.

SVN revision: 64132
2011-10-17 10:43:42 +00:00
Tom Hacohen ea9f23ad28 Evas textblock: Added dashed underline support.
Patch by Shilpa Singh

SVN revision: 64131
2011-10-17 10:43:08 +00:00
Carsten Haitzler 46f9ad78bb sorry. we can't depend on svnrev in versions. wish we could. we can't :(
SVN revision: 64121
2011-10-17 05:22:08 +00:00
Mike Blumenkrantz 7c683d0b0c require recent eina
SVN revision: 64115
2011-10-16 15:45:28 +00:00
Youness Alaoui 93d79aa509 Evas: Check for dlsym and disable gl engines if not found
SVN revision: 64091
2011-10-15 09:31:04 +00:00
Youness Alaoui 74c3fe766e Evas: Remove a useless ifdef that was causing dead code.
You can't compile a gl_common .c file based on whether or not the SDL
header was included. The .c file will result in only one .o and since
the Evas_Engine_Sdl.h is not included by evas_gl_context.c itself, then
that ifdef will never be true.
gl_common should request a callback function pointer from the evas engine
for doing symbol resolution. This needs a refactor.

SVN revision: 64086
2011-10-15 09:30:33 +00:00
Christopher Michael 3bb739d7fa Evas: Fix compiler warnings wrt uninitialized variables.
SVN revision: 64079
2011-10-15 01:02:55 +00:00
Mike McCormack 2d4cd8058a evas: Deal with harfbuzz API breakage
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64057
2011-10-14 02:52:50 +00:00
Cedric BAIL e2d8b7892d evas: only draw the hole when it's needed.
SVN revision: 64047
2011-10-13 09:23:42 +00:00
Vincent Torri ce2cb9d8bf Evas: faster "lround"
SVN revision: 64036
2011-10-13 06:55:12 +00:00
Carsten Haitzler 3a59f00292 round negatives right.
SVN revision: 64035
2011-10-13 06:36:22 +00:00
Carsten Haitzler ff8767dbb4 lets just fal back to "stoopid" mode rounding for non-lround platforms
SVN revision: 64033
2011-10-13 06:15:28 +00:00
Mike McCormack ee5446fb13 evas: Use clists to store the render recalculation list
Rather than trying to avoid removing the list element that is
currently being processed, keep two lists and move elements
to the processed list before recalculating them.

Remove items from the list head only, and always append them
to the tail.

Use the fact that an item can be removed from a clist without
needing to know which list it is in.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 64030
2011-10-13 02:22:29 +00:00
Carsten Haitzler ab7d9bdd84 fix use of invalid program id IF viewport changed - also disable
GLERR. this can really hurt performance.



SVN revision: 64027
2011-10-12 23:22:26 +00:00
Carsten Haitzler 4d5b4b2f24 fix gl pipeline problem with textures and map and the wrong program id
being set/restored.



SVN revision: 64014
2011-10-12 10:27:17 +00:00
Carsten Haitzler 6412cc1358 fixme--
SVN revision: 64013
2011-10-12 10:15:35 +00:00
Carsten Haitzler a7adef691a more sse3 bugs!
SVN revision: 64006
2011-10-12 03:28:53 +00:00
Carsten Haitzler 9e62992fe8 make more bug notes.
SVN revision: 64005
2011-10-12 02:59:44 +00:00
Carsten Haitzler 23df774e8d all vert shaders always highp on gles.
SVN revision: 64004
2011-10-12 02:54:06 +00:00
Carsten Haitzler b531487495 some nasty hackery to get affine transform mapping to be "pixel
perfect" with 90 degree rotations. i really should have actually
special cased them, for for now i made the generic routine try and punt
out the right numbers.



SVN revision: 63986
2011-10-11 12:32:21 +00:00
Carsten Haitzler 2cf202ff51 disable buggy sse3 routine! test showed it in ello.
SVN revision: 63985
2011-10-11 11:51:54 +00:00
Carsten Haitzler f83bdbc136 fix off-by-one update region calc in map.
SVN revision: 63984
2011-10-11 11:30:37 +00:00
Carsten Haitzler 914a08e206 use lround() for map coord rounding to avoid silly things like
15.999999999999999998 rounding down to 15... whihc leads to
sometimes... odd off-by-1 expected results.



SVN revision: 63978
2011-10-11 06:06:11 +00:00
Carsten Haitzler 0bfb70e48e oops - typo.
SVN revision: 63967
2011-10-11 01:51:49 +00:00
Carsten Haitzler 7597814df2 adapt to SEC direct texture access changes for the last time.
SVN revision: 63959
2011-10-10 10:08:29 +00:00
ChunEon Park af25636ab8 evas/evas_events - trivial changes
SVN revision: 63953
2011-10-10 08:52:08 +00:00
Vincent Torri 06a765d5a1 Evas: big mistake in efl_attribute.m4. My bad
SVN revision: 63935
2011-10-09 19:28:40 +00:00
Vincent Torri 50cfcfc323 Evas: Add GL_EET_CFLAGS tp CPPFLAGS so that Eet.h is found. Patch by JGMiller, fix ticket #874
SVN revision: 63922
2011-10-08 07:16:36 +00:00
Carsten Haitzler 2f674f7059 be quiet about the EEK.
SVN revision: 63921
2011-10-08 05:33:47 +00:00
Carsten Haitzler 6fd17b839d Commit Neil's patch reported here:
http://trac.enlightenment.org/e/ticket/880



SVN revision: 63920
2011-10-08 04:58:57 +00:00
Carsten Haitzler 4e4e7a03a4 fix cedric's nv12 shader! it worked by luck only. tex_y -> tex_c in
vert shdr



SVN revision: 63918
2011-10-08 03:04:16 +00:00
Carsten Haitzler 7c7f8803f5 try and make newgl work again... fail! why does glx hate me?
SVN revision: 63885
2011-10-06 15:05:32 +00:00
Carsten Haitzler 837165ed8a no no.. oops. i missed an error!
SVN revision: 63883
2011-10-06 13:46:06 +00:00
Carsten Haitzler bdbfbbd2d3 newgl work.. now.. why?
SVN revision: 63882
2011-10-06 13:45:14 +00:00
Carsten Haitzler 82b843d222 only use highp *IF* compiler supports it.
SVN revision: 63880
2011-10-06 13:25:18 +00:00
Mike McCormack e5c1e7cc4f evas: remove extra CR
SVN revision: 63867
2011-10-06 02:23:57 +00:00
Jim Kukunas 5d45544329 [PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
The old version works because in every function in which
this macro is used ``l'' is the length and ``d'' is the
destination. This patch prevents future headaches when
those constraints no longer hold.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63856
2011-10-05 23:41:01 +00:00
Cedric BAIL a33eccf6e2 evas: fix shader for nv12.
SVN revision: 63835
2011-10-05 10:16:25 +00:00
Carsten Haitzler 27431cacdd oh and compile script missing updates to make shd's... grrr. and nv12
shader bad!



SVN revision: 63832
2011-10-05 09:52:08 +00:00
WooHyun Jung fb371c8aa6 evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
can be NULL. So modified the conditional state.


SVN revision: 63824
2011-10-05 07:29:06 +00:00
Carsten Haitzler 4ddeed5933 all shaders -> use high precision not medium to avoid rounding errors.
SVN revision: 63804
2011-10-04 11:21:22 +00:00
Cedric BAIL 8edb994133 evas: cleanup and reorder video function call to be more usable.
SVN revision: 63799
2011-10-04 09:34:01 +00:00
Cedric BAIL 7b33abd685 evas: forgotten commit with since.
SVN revision: 63798
2011-10-04 09:33:40 +00:00
EunMi Lee c6681aa189 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] Evas touch event patch.

Nice to meet you.
I'm Eunmi Lee, developing mobile web browser and working on WebKit EFL port.
I need new type of event for touch, so I've made patch to add
EVAS_CALLBACK_TOUCH event to the evas.

I will explain history of this patch.
Currently, many web applications and sites use TouchEvent and they can
do everything(scrolling, zooming and so on) like native application
using TouchEvent.
So, I'm also want to provide TouchEvent for web in the WebKit EFL port,
but I got a problem during making TouchEvent because EFL's touch
event's structure (Mouse, Multi Event) is different from Web
TouchEvent's one.

Let me explain about Web TouchEvent firstly.
Web TouchEvent is consist of type and touch points list simply.
There are 3 kinds of type.
TouchStart: Happens every time a finger is placed on the screen.
TouchEnd: Happens every time a finger is removed from the screen.
TouchMove: Happens as a finger already placed on the screen is moved
across the screen.
for example, we can make (1 finger starts to touch), (2 fingers are
moving), (1 finger is released duirng 3 fingers are moving) and so on.
You can see the detailed information in the following url:
http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone

However, EFL's touch event is consist of six kinds of type :
MOUSE_DOWN, MOUSE_UP, MOUSE_MOVE, MULTI_DOWN, MULTI_UP, MULTI_MOVE.
So, I have to make a converter to make web touch event from EFL's
touch event.
You can reference attatched image file : evas_touch_event.png.

To tell the truth, converting code is not a big one.
But, I want to reduce this additional job and make code simple.
In the WebKit QT port, they don't have to make converting code for
TouchEvent,
because they have QTouchEvent, it has type and touchPoints list and
they can be mapped to Web TouchEvent one by one.
I think iPhone and Android also have such kind of event.

That's all why I want to add new touch event type to the evas.

about my patch:
- EVAS_CALLBACK_TOUCH event is added
- touch_points Eina_List is added to the Evas structure to maintain
current touch lists.
- process MOUSE/MULTI UP, DOWN, MOVE to make TOUCH event.

It is my first time to modify eves codes and actually I don't know too
much about evas.
So, I will be grateful if you send any feedback and comments.




SVN revision: 63796
2011-10-04 07:30:22 +00:00
Carsten Haitzler 157224ffef jiyoun bug! you didnt fix the hkey string properly.. you set the last
2 chars to o? where ? is "undefined". you set the same string char to
/ then o. fix!



SVN revision: 63785
2011-10-04 01:41:45 +00:00
Carsten Haitzler 620d2573f3 so... gcc was optimizing the test out... that sucks! fix. make sure gcc
doesnt know what to do with optimizing and actually compiles the code!



SVN revision: 63775
2011-10-03 16:29:12 +00:00
ChunEon Park 69fc731318 evas/configure.ac - fixed typo.
SVN revision: 63764
2011-10-03 05:06:11 +00:00
Carsten Haitzler 2aed2cf20a isolate sse3 to only its own file, so it only uses -msse3 for that
SVN revision: 63762
2011-10-03 04:44:23 +00:00
Cedric BAIL d724205a6e evas: add basic support for video support.
SVN revision: 63758
2011-10-03 03:28:52 +00:00
Carsten Haitzler 182a9f9eed ok. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
arch does sse3. the wasy sse3 is done makes this stupidly ugly. so too
bad for 32bit builds - no sse3 for u unless u specifically enable at
build time and then u have a binary that never runs on pre-sse3 chips.



SVN revision: 63745
2011-10-02 11:29:03 +00:00