evas gl engines - avoid getting context if possible
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 6 Nov 2018 11:54:04 +0000 (11:54 +0000)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 20 Nov 2018 06:56:18 +0000 (15:56 +0900)
commita57adcead3191ca46184d10905fe9a8c4eca996a
treef511f7c8a0f28c3477145b0ccafcac6e4f567176
parentd26e169ee5d7b9fab047b8125a6dc2d5a6b6212f
evas gl engines - avoid getting context if possible

so getting context at least on some dviers is expensive. it may really
impact cpu usage a lot (in this cate getpid() was being called by the
nouveau drivers and that can be expensive. it is on ARM as it's a full
syscall and 1-2% of cpu time was just getting pid all the time thanks
to this...

@opt
src/modules/evas/engines/eglfs/evas_outbuf.c
src/modules/evas/engines/gl_drm/evas_outbuf.c
src/modules/evas/engines/gl_x11/evas_x_main.c