intel / external-mesa

16 stars 57 forks source link

Enable Systrace/ATRACE in mesa on Android #144

Open Shao-Feng opened 4 years ago

Shao-Feng commented 4 years ago

Enabling Systrace/ATRACE. for tracing the function call add MTRACE_BEGIN() at the beginning of function. and add MTRACE_END() before returnning from function.

Tracked-On: None Signed-off-by: Shaofeng Tang shaofeng.tang@intel.com

Shao-Feng commented 4 years ago

First patch for mesa, please help to review. the systrace example http://10.239.115.60/CIV/4k_perf/touch_bm_mesa_tracing.html In the APP (whiteboard) process/RenderThread the new mesa trace "_eglSwapBuffersWithDamageCommon" and "eglSwapBuffersWithDamageKHR" are added for tracing mesa invoking