projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c9a82
)
evas/gl_x11 - replace inlist counting to one api call.
author
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 19 May 2014 09:47:20 +0000
(18:47 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Mon, 19 May 2014 09:48:05 +0000
(18:48 +0900)
src/modules/evas/engines/gl_x11/evas_engine.c
patch
|
blob
|
history
diff --git
a/src/modules/evas/engines/gl_x11/evas_engine.c
b/src/modules/evas/engines/gl_x11/evas_engine.c
index 0dcbe076b805a274441a2aef82a4cf908e1adb40..37faaa53d7f1a2ec3e96c48e78738eb93e591fc0 100644
(file)
--- a/
src/modules/evas/engines/gl_x11/evas_engine.c
+++ b/
src/modules/evas/engines/gl_x11/evas_engine.c
@@
-1612,7
+1612,7
@@
eng_output_flush(void *data, Evas_Render_Mode render_mode)
Tilebuf_Rect *r;
// if partial swaps can be done use re->rects
-
EINA_INLIST_FOREACH(EINA_INLIST_GET(re->rects), r) num++
;
+
num = eina_inlist_count(EINA_INLIST_GET(re->rects))
;
if (num > 0)
{
rects = alloca(sizeof(EGLint) * 4 * num);