Jihoon Kim
7cd88ec35a
ecore_imf_example: add ecore_imf_context_reset in mouse down event callback
...
SVN revision: 83341
2013-01-26 03:30:16 +00:00
Jihoon Kim
782a3f0a1a
ecore_imf_example: add parameter NULL checking
...
SVN revision: 83340
2013-01-26 03:01:12 +00:00
Jihoon Kim
0753ec709d
ecore_imf_example: fix comment style
...
SVN revision: 83339
2013-01-26 02:58:50 +00:00
Jihoon Kim
81370c8926
ecore_imf_example: add mouse down event handler
...
SVN revision: 83338
2013-01-26 02:49:39 +00:00
Carsten Haitzler
a9eeda6300
paranoia++ -> if g->object is null - dont use it. :/
...
SVN revision: 83337
2013-01-26 02:34:59 +00:00
Boris Faure
11b98b32e2
evas: make e start again…
...
SVN revision: 83336
2013-01-25 22:21:37 +00:00
Mike McCormack
3fe5d4d6aa
efl: Fix shadow warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83335
2013-01-25 21:30:54 +00:00
Mike McCormack
3642599e8f
efl: Fix unused parameter warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83334
2013-01-25 21:30:48 +00:00
Stefan Schmidt
eae46ba95d
efl/eina: Fix strings to compare correctly and pass test suite.
...
This one is for Cedric.
SVN revision: 83332
2013-01-25 16:03:47 +00:00
Cedric BAIL
c538d8bde3
efl/evas: prevent leak and over write.
...
SVN revision: 83331
2013-01-25 15:19:32 +00:00
Cedric BAIL
6c7edfd38e
efl/evas: roll in more cow, using a new macro per Eina_Cow.
...
SVN revision: 83325
2013-01-25 12:15:38 +00:00
Christopher Michael
aa1f8b4eac
Let's do malloc the EFL way here.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83320
2013-01-25 07:19:48 +00:00
Cedric BAIL
93d1705f77
efl/eina: what the ?? Update text for magic test...
...
SVN revision: 83319
2013-01-25 06:16:33 +00:00
Jihoon Kim
7dd5b326d8
edje entry: move ecore_imf_context_cursor_position_set from mouse down event to mouse up event
...
SVN revision: 83318
2013-01-25 05:15:46 +00:00
Jihoon Kim
57103879f5
edje entry: remove ecore_imf_context_reset, cursor update in mouse move event because it's useless.
...
SVN revision: 83317
2013-01-25 05:10:47 +00:00
Cedric BAIL
7636dc88c4
eina: try to fix debug build typo.
...
SVN revision: 83315
2013-01-25 01:20:58 +00:00
U. Artie Eoff
c36058806a
Cache wayland globals
...
Store the wayland registry globals in a list so that we can bind to them from a
user/test program. When a custom interface (protocol extension) is used in a
wayland compositor, this allows user/test program to use that interface. For
instance, one might provide a custom wayland test protocol that give access to
otherwise hidden/missing functionality that allows effective automated testing
(in wayland engines). See the Weston unit test suite for an example of this
concept.
Patch by: "U. Artie Eoff" <ullysses.a.eoff@intel.com>
SVN revision: 83312
2013-01-24 22:03:22 +00:00
Boris Faure
fb3c280a95
efl: more valgrind related fixes on eina_cow
...
SVN revision: 83311
2013-01-24 21:42:18 +00:00
Eduardo de Barros Lima
08b96ebc1c
Move typedef enum declarations after the enum to make g++ happy.
...
When compiling a C++ program that includes Ecore_Wayland:
Ecore_Wayland.h:56:14: error: use of enum ‘_Ecore_Wl_Window_Type’ without previous declaration
Ecore_Wayland.h:56:56: error: invalid type in declaration before ‘;’ token
Ecore_Wayland.h:57:14: error: use of enum ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration
Ecore_Wayland.h:57:70: error: invalid type in declaration before ‘;’ token
This patch fixes ticket #2217 .
SVN revision: 83310
2013-01-24 21:35:06 +00:00
Boris Faure
8d13c5ce3e
efl: eina_cow: fix some valgrind instrumentation
...
SVN revision: 83308
2013-01-24 21:06:41 +00:00
Bruno Dilly
1f30bdde5c
edbus: implement edbus_proxy_data_{get, set, del}
...
The prototypes for those functions are defined in edbus_proxy.h, however
there's no implementation at all.
By Raphael Kubo <raphael.kubo.da.costa@intel.com>
SVN revision: 83299
2013-01-24 13:09:26 +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
40dec84b3e
Set the engine's wl_shm reference during creation.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83278
2013-01-24 09:21:04 +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
b5c4759f1d
Rename 'time' parameter in function prototype.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83275
2013-01-24 09:20:55 +00:00
Christopher Michael
0d8e6279c5
Rename 'time' parameter.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83274
2013-01-24 09:20:45 +00:00
Christopher Michael
4203a3afbc
Remove unused variable.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83273
2013-01-24 09:20:40 +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
c329317711
Modify ecore_evas_wayland_shm to handle passing the wl_shm and
...
wl_surface to the new double-buffer engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83270
2013-01-24 09:20:29 +00:00
Christopher Michael
7ebc5523bb
Remove old line which did a wl buffer attach.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83269
2013-01-24 09:19:51 +00:00
Christopher Michael
269ce8364f
Remove all old code from ecore_evas that involved creating the wayland
...
buffer and shm pool.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83268
2013-01-24 09:18:34 +00:00
Christopher Michael
cf7153e8df
Add new wayland shm engine files to Makefile.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83267
2013-01-24 09:18:26 +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
Christopher Michael
ae0076c929
Create engine context if missing and return success.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83254
2013-01-24 09:17:23 +00:00
Christopher Michael
a2e3bfc356
Reassign engine data output
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83253
2013-01-24 09:17:19 +00:00
Christopher Michael
8fa451f2db
If we have an existing render engine already, then free the existing
...
output buffer, create a new one, and assign render engine functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83252
2013-01-24 09:17:15 +00:00
Christopher Michael
f72dfd4c31
Try to create the new Render_Engine on initial engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83251
2013-01-24 09:17:11 +00:00
Christopher Michael
034721bcd8
Add check to make sure output buffer creation worked.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83250
2013-01-24 09:17:00 +00:00
Christopher Michael
8a7ba73169
Add code to create the output buffer of the render engine and set the
...
render_engine functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83249
2013-01-24 09:16:55 +00:00
Christopher Michael
0fdbf94c23
Add initial swapper code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83248
2013-01-24 09:16:52 +00:00
Christopher Michael
7e13dc5459
Add initial header file for swapper.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83247
2013-01-24 09:16:49 +00:00
Christopher Michael
1d3cfce8a7
Remove include for evas_outbuf.h
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83246
2013-01-24 09:16:46 +00:00
Christopher Michael
f76eb06874
Add initial swap buffer code.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83245
2013-01-24 09:16:42 +00:00
Christopher Michael
82e807115f
Add initial swap buffer header file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83244
2013-01-24 09:16:39 +00:00
Christopher Michael
9b9fdf840b
Set tilebuffer tile size in engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83243
2013-01-24 09:16:36 +00:00
Christopher Michael
fe75b1bf24
Try to create new tilebuffer in engine setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83242
2013-01-24 09:16:22 +00:00
Christopher Michael
f0a6c5ca26
During engine setup, try to allocate a new Render_Engine structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83241
2013-01-24 09:16:19 +00:00
Christopher Michael
753aa3d487
Add base function for engine output setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83240
2013-01-24 09:16:15 +00:00
Christopher Michael
b1cadea6c5
Add local function prototype for engine output setup.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83239
2013-01-24 09:16:12 +00:00
Christopher Michael
b17b417b73
Add test for 'swapping' (ie: buffering).
...
NB: This env variable is going to change for the wayland engine(s).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83238
2013-01-24 09:16:09 +00:00
Christopher Michael
5296f0c2cd
Add some evas_common init functions if we have not previously
...
initialized this engine before.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83237
2013-01-24 09:16:06 +00:00
Christopher Michael
7cd113ea47
Test for valid engine output to see if we need to create it.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83236
2013-01-24 09:16:03 +00:00
Christopher Michael
1e41dcd37f
Try to get the Evas public data from eo.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83235
2013-01-24 09:15:59 +00:00
Christopher Michael
98e58d34a1
Try to cast the passed in info to our engine info.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83234
2013-01-24 09:15:56 +00:00
Christopher Michael
57bb76834d
Try to free the allocated engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83233
2013-01-24 09:15:53 +00:00
Christopher Michael
80f8fcfeeb
Return our allocated engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83232
2013-01-24 09:15:49 +00:00
Christopher Michael
f3d29d891b
Fill in some default properties for our engine info.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83231
2013-01-24 09:15:15 +00:00
Christopher Michael
c13e0e7b5f
Try to allocate our engine info structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83230
2013-01-24 09:15:12 +00:00
Christopher Michael
3cdf6d6a50
Tell the Evas_Module about our functions and return success.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83229
2013-01-24 09:15:08 +00:00
Christopher Michael
77a205eac8
Define which functions this engine will override from the
...
software_generic functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83228
2013-01-24 09:15:05 +00:00
Christopher Michael
aa1bd96e2d
Copy the inherited functions into our local variable so we can
...
override some functions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83227
2013-01-24 09:15:00 +00:00
Christopher Michael
1dbfd6c541
Try to inherit functions from the software_generic engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83226
2013-01-24 09:14:57 +00:00
Christopher Michael
145e8f8ced
On module open, create our log domain
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83225
2013-01-24 09:14:54 +00:00
Christopher Michael
6340706c3f
Unregister the module log domain on shutdown of the engine.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83224
2013-01-24 09:14:50 +00:00
Christopher Michael
e91f12c8e9
Add skeleton code for evas module open/close, etc.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83223
2013-01-24 09:14:46 +00:00
Christopher Michael
bc8f383098
Add skeleton code for evas engine functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83222
2013-01-24 09:14:31 +00:00
Christopher Michael
318eb79973
Add variable(s) for engine function overrides.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83221
2013-01-24 09:14:27 +00:00
Christopher Michael
440c4b72e0
Add prototypes for evas engine functions.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83220
2013-01-24 09:14:22 +00:00
Christopher Michael
12320fcb5e
Add variable for log domain.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83219
2013-01-24 09:14:19 +00:00
Christopher Michael
0579a8b82c
Add Render_Engine structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83218
2013-01-24 09:14:16 +00:00
Christopher Michael
a76b0245b9
Add initial evas_engine C file.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83217
2013-01-24 09:14:13 +00:00
Christopher Michael
fd10050f53
Add intial Outbuf structure.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83216
2013-01-24 09:14:10 +00:00
Christopher Michael
158fe19edb
Add enum for render mode (double, triple, etc).
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83215
2013-01-24 09:14:07 +00:00
Christopher Michael
7e85b84098
Add Outbuf Depth enum.
...
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83214
2013-01-24 09:14:04 +00:00