Christopher Michael
5dde66b4e4
Fix function prototypes to take x & y as params. Fix functions to take x & y as params (for resize edges).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
c95160baae
Fix swapper_setup function prototype to take x & y as params.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
e4aae7301f
Add x & y to Output buffer.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Christopher Michael
f541b8af90
Add edges struct to engine information.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 10:18:02 -03:00
Daniel Willmann
c0fc75b78d
xpm_loader: Make tok larger so strcpy will fit
...
Found through klocwork. It seems there are more potential issues here.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-02-18 12:18:33 +00:00
Ivan Briano
61b8e2aefe
More removal of \r
2013-02-17 14:53:25 -03:00
Ivan Briano
d0c0a21240
Remove \r from end of line.
...
No functional changes here.
2013-02-17 14:30:11 -03:00
Paulo C. A. Cavalcanti Jr
04e660c5c7
evas: Introduce pixel_alpha_get()
...
The _pixel_alpha_get() function used in evas_object_image_is_inside won't
work with engines other than software - since it relies on engine data
being *always* RGBA_Image * - which is wrong for OpenGL backend that uses
Evas_GL_Image * for "engine_data" pointer.
2013-02-16 11:14:40 +01:00
Cedric BAIL
74aa601afc
evas: improve portability of bmp loader.
...
On system like 64bits windows it is not a guaranty that a
sizeof (long) == sizeof (void*), we are better using the right type.
This generate a warning that we could have seen with just cross compilation.
2013-02-16 10:36:41 +01:00
Carsten Haitzler
f4da5922d3
swapper -> use buf pitch, not swp->w * 4 ... if we have a buf and
...
pitch. :) (tnks wonsik!)
SVN revision: 83889
2013-02-14 10:39:59 +00:00
Carsten Haitzler
4452fad7a3
fix up apparent problem with egl context and sizing/rotation... need
...
to test more though.
SVN revision: 83878
2013-02-14 03:27:23 +00:00
Stefan Schmidt
a9b1e78916
efl/evas: Remove stray ; from evas_gl_core.
...
SVN revision: 83830
2013-02-11 15:03:56 +00:00
Daniel Willmann
139737247d
Refactor evas_sw_xlib_outbuf to allocate less in case of rotations.
...
Previously whenever evas_software_xlib_outbuf_new_region_for_update was
called for images that were rotated (!= 0) we created a new
evas_cache_image. This resulted in (quite severe) memory spikes whenever
an image was rotated.
Now we try to get the original image first and only if that fails allocate
a new one.
TDevilhorns is already working on the port to the xcb backend.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
SVN revision: 83789
2013-02-08 15:49:50 +00:00
Carsten Haitzler
dbaf2b8fde
and handle rotated swapbuf if bufsz doesnt match... PROPERLY.
...
SVN revision: 83781
2013-02-08 12:22:04 +00:00
Rafael Antognolli
d74b652b29
evas/wayland_egl: Fix Evas pointer assignment.
...
Don't assign the public data to an Evas *.
SVN revision: 83778
2013-02-08 11:50:06 +00:00
Carsten Haitzler
5a80685803
swapper infra work - handle if buffer sizes dont match... :)
...
SVN revision: 83764
2013-02-08 07:23:31 +00:00
Christopher Michael
c951fb5a2d
Use palette mode none for conversion.
...
Comment out idle_flush (for now) as it is causing some segfaults with
elm_win_util_standard_add for some strange reason.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83436
2013-01-29 14:40:21 +00:00
Rafael Antognolli
9afa66d722
evas/wayland_egl: Add do_async flag to this engine, but don't use it.
...
SVN revision: 83389
2013-01-28 20:00:03 +00:00
Christopher Michael
5df48569c8
Free the swapper when we remove the Outbuf.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83378
2013-01-28 08:31:22 +00:00
Carsten Haitzler
a8b7d8551d
oops - forgot to free swapper on swapbuf free! :)
...
SVN revision: 83377
2013-01-28 04:00:36 +00:00
Christopher Michael
def83a6eb1
Add logging function macros
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83294
2013-01-24 12:15:11 +00:00
Christopher Michael
cfbdc648d1
Add logging functions
...
Remove dead commented out code
Do not call wl_surface_attach if the buffer is the same as the one
already attached.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83293
2013-01-24 12:15:07 +00:00
Christopher Michael
b8a9d67c88
Add code to delete the shm pool when we destroy the swapper.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83291
2013-01-24 09:59:50 +00:00
Christopher Michael
76dea59613
Rewrite swapper code to use One shm pool and allocate buffers from
...
that pool.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83290
2013-01-24 09:21:40 +00:00
Christopher Michael
e645261b95
Remove 'return' in idle_flush.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83289
2013-01-24 09:21:37 +00:00
Christopher Michael
801cfc567d
Use eina_rectangle_free
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83288
2013-01-24 09:21:34 +00:00
Christopher Michael
fdd0a37c61
Add onebuf field to Outbuf struct.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83287
2013-01-24 09:21:30 +00:00
Christopher Michael
0e6b2ad6f7
Reset Render_Engine onebuf if it was set previously.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83286
2013-01-24 09:21:27 +00:00
Christopher Michael
e1fdc232e1
Use eina_rectangle_free to free the rect.
...
Be sure to increment i here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83285
2013-01-24 09:21:24 +00:00
Christopher Michael
95d6577c2d
Add function prototype for swapper_idle_flush.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83284
2013-01-24 09:21:21 +00:00
Christopher Michael
fd2c68dbf2
Add a swapper_buffer_idle_flush function to loop the Wl_Buffer
...
structures inside the swapper and release memory of any invalid ones.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83283
2013-01-24 09:21:18 +00:00
Christopher Michael
913d0cd170
Add code to handle idle_flush which will release memory that is unused
...
by invalid buffers.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83282
2013-01-24 09:21:15 +00:00
Christopher Michael
f785c9fc21
Support an environment variable to set the number of buffers (double
...
buffer by default).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83281
2013-01-24 09:21:12 +00:00
Christopher Michael
18ba710320
Double buffer by default.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83280
2013-01-24 09:21:09 +00:00
Christopher Michael
313e82c680
Rename the env variable that we will check for buffering support.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83279
2013-01-24 09:21:06 +00:00
Christopher Michael
949d008b13
Check for valid wl_shm before trying to create the shm pool.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83277
2013-01-24 09:21:01 +00:00
Christopher Michael
fa783d8e75
Fix typo.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83276
2013-01-24 09:20:58 +00:00
Christopher Michael
aed4b4e7b6
Remove included evas_outbuf.h
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83272
2013-01-24 09:20:36 +00:00
Christopher Michael
ac1ecc770a
Add engine output redraws next update get code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83266
2013-01-24 09:18:19 +00:00
Christopher Michael
17225d31e8
Add merge rectangles code (borrowed from the x11 engine).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83265
2013-01-24 09:18:15 +00:00
Christopher Michael
824971a110
Add local function prototype for mergine rectangles.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83264
2013-01-24 09:18:09 +00:00
Christopher Michael
082f2c8f83
Add engine idle flush code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83263
2013-01-24 09:18:03 +00:00
Christopher Michael
b5ac8fe948
Add engine output flush code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83262
2013-01-24 09:17:56 +00:00
Christopher Michael
a3559d4c88
Add code for engine redraws push.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83261
2013-01-24 09:17:51 +00:00
Christopher Michael
4c04c1bb54
Add engine output redraws clear code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83260
2013-01-24 09:17:47 +00:00
Christopher Michael
866576b89b
Add engine output redraws rectangle del code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83259
2013-01-24 09:17:40 +00:00
Christopher Michael
7de14722fe
Add engine output redraws rectangle add code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83258
2013-01-24 09:17:37 +00:00
Christopher Michael
25e5af9ae6
Add engine tile size set function code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83257
2013-01-24 09:17:34 +00:00
Christopher Michael
6eda15c183
Add eng_output_resize code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83256
2013-01-24 09:17:30 +00:00
Christopher Michael
3dcaec35b5
Add code to the eng_output_free function to do any cleanup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83255
2013-01-24 09:17:26 +00:00