forked from enlightenment/efl
evas - skip the map rendering if all points are transparent.
This commit is contained in:
parent
c54b25e8ee
commit
f4377b316c
|
@ -1,3 +1,7 @@
|
|||
2013-07-25 ChunEon Park (Hermet)
|
||||
|
||||
* Evas: Skip the map rendering if all points are transparent.
|
||||
|
||||
2013-07-24 Mike Blumenkrantz
|
||||
|
||||
* Ecore-Evas: fix usage of underlying X window after it has received a destroy event
|
||||
|
|
1
NEWS
1
NEWS
|
@ -318,6 +318,7 @@ Fixes:
|
|||
- Fix issue when parsing formats with quotes.
|
||||
- Fix infinite loop if app use ecore evas image
|
||||
- Fix a long-standing off-by-1 in the C "simd" multiplier.
|
||||
- Skip the map rendering if all points are transparent.
|
||||
* Ecore:
|
||||
- Don't leak fd on exec.
|
||||
- Fix fd handler increase issue when ecore_pipe_add/del is called repeatedly.
|
||||
|
|
|
@ -1458,6 +1458,16 @@ _draw_thread_map_draw(void *data)
|
|||
|
||||
do
|
||||
{
|
||||
//Fully Transparency. Skip this.
|
||||
if (!(m->pts[0 + offset].col & 0xff000000) &&
|
||||
!(m->pts[1 + offset].col & 0xff000000) &&
|
||||
!(m->pts[2 + offset].col & 0xff000000) &&
|
||||
!(m->pts[3 + offset].col & 0xff000000))
|
||||
{
|
||||
offset += 2;
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((m->pts[0 + offset].x == m->pts[3 + offset].x) &&
|
||||
(m->pts[1 + offset].x == m->pts[2 + offset].x) &&
|
||||
(m->pts[0 + offset].y == m->pts[1 + offset].y) &&
|
||||
|
|
Loading…
Reference in New Issue