Carsten Haitzler
57e07025d4
if you preload the same image more than once.. it may/will cause
...
problems as target is inserter in cache image target list multiple
times. fix by only alloding preload request to go in once.
SVN revision: 59140
2011-05-03 03:20:02 +00:00
Tom Hacohen
e93f10b8aa
Evas font-engine: Remove passing of strings to font_draw.
...
This is not needed anymore because we have working string objects.
SVN revision: 59133
2011-05-02 15:33:46 +00:00
Tom Hacohen
4fafc63d0f
Evas textblock: Remove obsolete comment.
...
SVN revision: 59130
2011-05-02 15:33:31 +00:00
Tom Hacohen
0bf964a221
Evas textblock: We finally cache fi - remove related hacks.
...
SVN revision: 59129
2011-05-02 15:33:27 +00:00
Tom Hacohen
1ce96a62e0
Evas textblock: Unified the wmax calculation into one place.
...
SVN revision: 59097
2011-05-02 07:27:48 +00:00
Sung W. Park
bc8af94bfa
From: "Sung W. Park" <sungwoo@gmail.com>
...
Subject: evas_gl_api_get patch.
Here's a patch that simply overrides the GL functions for Evas_GL
except for two functions that I provide on my own. It may have some symbol
resolving warnings but that'll all go away eventually when we do everything
via dlsym or getProcAddress.
You can apply the patch to the latest revision of evas. (I've just
updated them) I'm also attaching a sample GLES program that uses
evas_gl_api_get. You don't need to link it to -lGL.
SVN revision: 59092
2011-05-02 02:14:00 +00:00
Brett Nash
94275377e5
Evas: Filter: Brightness: Fix clamp ranges, and don't double negate
...
Basically it's a clamp function...
SVN revision: 59068
2011-05-01 06:39:26 +00:00
Brett Nash
370f868003
evas: filter: brightness: software brightness filter.
...
SVN revision: 59067
2011-05-01 06:39:24 +00:00
Brett Nash
feeb11f555
evas: filter: Use the correct fields in filter_set
...
Strangely, not everything is a blur.
SVN revision: 59066
2011-05-01 06:39:22 +00:00
Brett Nash
2ad85405df
Use ARGB_JOIN everywhere in evas_filter.
...
Now to re-apply brightness.
SVN revision: 59065
2011-05-01 06:39:19 +00:00
Tom Hacohen
961e0c794a
Evas text: Move the shadow calculations out of the loop.
...
SVN revision: 59047
2011-04-29 19:26:56 +00:00
Tom Hacohen
8991e90293
Evas textblock: Fixed a bug with drawing formats when clipped.
...
SVN revision: 59001
2011-04-28 12:12:57 +00:00
Tom Hacohen
ff0bcef2db
Evas textblock: Added "password" tag - toggle password mode.
...
This lets you toggle the password mode inside the text. Especially
useful for implementing "show last char" in password entries.
Patch by Shilpaonkar Singh
SVN revision: 59000
2011-04-28 11:08:20 +00:00
Tom Hacohen
368a77aea0
Evas textblock: Fixed *_format_remove_pair to invalidate the text nodes.
...
SVN revision: 58991
2011-04-28 08:18:44 +00:00
Carsten Haitzler
f7b637ca03
fix formatting.
...
SVN revision: 58988
2011-04-28 06:59:11 +00:00
Tom Hacohen
3e5cb0ac98
Evas textblock: Use strncmp instead of strncpy and strcmp.
...
SVN revision: 58963
2011-04-27 14:59:22 +00:00
Tom Hacohen
722707547a
Evas textblock: Implement format invalidation points support.
...
This lets us only relayout what's needed also when inserting formats.
This means inserting <b> </> for example is now as fast as inserting any
other char and doesn't cause a complete relayout.
SVN revision: 58958
2011-04-27 12:41:26 +00:00
Cedric BAIL
c708610cbc
evas: remove a few shadow variable.
...
SVN revision: 58874
2011-04-24 20:21:07 +00:00
Carsten Haitzler
fa309e5069
nash -> i fixed your mask rendering. interesting you only mask *IF*
...
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.
SVN revision: 58838
2011-04-23 02:02:45 +00:00
Carsten Haitzler
c885080057
an initial test at trying pixman instead of evas software rendering.
...
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.
SVN revision: 58824
2011-04-22 11:47:14 +00:00
Tom Hacohen
902d94afb9
Evas textblock: Added a temp fix for repch until implemented nicely.
...
This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).
SVN revision: 58806
2011-04-21 15:34:44 +00:00
Tom Hacohen
3f86ed9349
Evas textblock: Clean repch code a bit. No logic changes.
...
SVN revision: 58801
2011-04-21 14:04:46 +00:00
Carsten Haitzler
22671d41d9
neon asm is not working. even after some typo fixes.
...
SVN revision: 58782
2011-04-21 08:18:38 +00:00
Brett Nash
3bbe4023d0
Evas: Filter: Don't leak keys either.
...
SVN revision: 58775
2011-04-21 06:01:56 +00:00
Brett Nash
52a1e85d86
Evas: Filter: More aggresively avoid allocing filter data.
...
SVN revision: 58774
2011-04-21 06:01:53 +00:00
Brett Nash
97a442eaf1
Evas: Filter: No need to allocate on a getter.
...
Just return the default.
SVN revision: 58773
2011-04-21 06:01:50 +00:00
Brett Nash
f19bea3bf1
Evas: Filter: Use some ARGB joins.
...
SVN revision: 58772
2011-04-21 06:01:48 +00:00
Brett Nash
b17702d7d8
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros
...
Using the [ARGB]_VAL ones intead. Also means need to change to use pointer
instead of array syntax to the all macro.
SVN revision: 58769
2011-04-21 02:30:32 +00:00
Brett Nash
e410651d24
Evas: Filter: Fix filter length assignment.
...
Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.
SVN revision: 58763
2011-04-20 14:44:32 +00:00
Brett Nash
8809ce8a12
Evas: Filter: Whitespace fixes
...
SVN revision: 58762
2011-04-20 14:44:29 +00:00
Brett Nash
044b02ce0e
Evas: Filter: Handle memory alloc error a little more gracefully
...
In this case, just set the filter type to none.
SVN revision: 58761
2011-04-20 14:44:26 +00:00
Tom Hacohen
cb19804054
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
...
SVN revision: 58760
2011-04-20 14:35:37 +00:00
Tom Hacohen
b59156c788
Evas text/textblock: Change item size calculation to use advance again.
...
We don't need to do any tricks anymore because size calculation is now
very fast, as fast as the tricks we did, so it's best to just do what
we really want to do.
SVN revision: 58757
2011-04-20 14:20:54 +00:00
Carsten Haitzler
b44bf7f8ff
filter: handle malloc failers without crashing.
...
SVN revision: 58752
2011-04-20 08:28:40 +00:00
Carsten Haitzler
8da6f52bfd
lets properly document filter calls and return sane values
...
SVN revision: 58751
2011-04-20 08:24:56 +00:00
Carsten Haitzler
649cba4e45
and lets have getters for setters shall we - if we go implement 1 of
...
them.. lets implement alll shall we?
SVN revision: 58750
2011-04-20 08:20:36 +00:00
Carsten Haitzler
2598499970
and fix filter api to be consistent with evas.. letalone all of efl.
...
VERB AT END!!!! (get/set/whatever)
SVN revision: 58749
2011-04-20 08:13:33 +00:00
Carsten Haitzler
ce8297e04b
more formatting fixes after filter commit.
...
SVN revision: 58748
2011-04-20 08:09:30 +00:00
Carsten Haitzler
6720d96208
and fix more filter messups. o->fitler will be leaked on obj deletion
...
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.
SVN revision: 58747
2011-04-20 08:06:59 +00:00
Carsten Haitzler
7b88f0d723
more fixme fixes of filter
...
SVN revision: 58744
2011-04-20 07:35:18 +00:00
Carsten Haitzler
d51d11f658
fix filter code to move docs to Evas.h
...
SVN revision: 58742
2011-04-20 07:08:48 +00:00
Carsten Haitzler
1eaba59607
oh dear... way too many warnings. added a whole bunch of fixme's too
...
for later.
SVN revision: 58740
2011-04-20 01:22:08 +00:00
Brett Nash
ba45fbee9e
Evas: Filter: Add evas_object_image filter changes.
...
This is where the actual filtering takes place. Kinda important to make it
work.
SVN revision: 58729
2011-04-19 06:16:21 +00:00
Brett Nash
9eaea94252
Evas: Filters:
...
More work, proudly supported by Samsung. Filters!
So now you can apply a whole host of cheesy visual effects to objects at
runtime. This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].
Please direct bugs to me nash@nash.id.au .
[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.
SVN revision: 58726
2011-04-19 05:47:56 +00:00
Tom Hacohen
e6be4f7deb
Evas textblock: Fixed an invalid read.
...
In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.
SVN revision: 58701
2011-04-17 08:38:29 +00:00
Tom Hacohen
f5e7165a65
Evas text/textblock: Add setting bidi_delimiter API.
...
SVN revision: 58669
2011-04-14 15:34:01 +00:00
Tom Hacohen
d0e889fbe7
Evas textblock: Clean up a bit.
...
SVN revision: 58663
2011-04-14 12:34:29 +00:00
Tom Hacohen
2a7b919cd7
Evas textblock: Move bidi props to the layout paragraphs.
...
This will let us do cool overrides more control via higher level protocol
when we'll want to.
SVN revision: 58662
2011-04-14 12:13:20 +00:00
Tom Hacohen
86fd95e80e
Evas textblock: Fixed invalid reads with ellipsis in some cases.
...
SVN revision: 58659
2011-04-14 11:37:09 +00:00
Tom Hacohen
e6edd2ce7f
Evas textblock: Fixed ellipsis.
...
It's actually just a workaround until we finally fix draw to not need
the text.
SVN revision: 58658
2011-04-14 11:37:06 +00:00