[Title] Released a new feature 'COREGL_TRACE_SURFACE'
[Issue#]
[Problem]
[Cause]
[Solution]
- COREGL_TRACE_SURFACE=1 : enable surface trace.
png files will be dumped from EGLsurface & FBO
* Options
- COREGL_TRACE_SURFACE_SEQUENCE_SORT=1 : dumps png file with sequence order (sort by time).
default : sort by type
- COREGL_TRACE_SURFACE_PRINT_ONLY=1 : print only. png file will not be generated
* Filters
- COREGL_TRACE_SURFACE_FILTER_PERIOD=30~40 : dumps only frame30 to frame40
- COREGL_TRACE_SURFACE_FILTER_TYPE=EGL|FBO : dumps only EGLsurfaces or FBOs
- COREGL_TRACE_SURFACE_FILTER_HANDLE=0x2342122 : dumps only 0x2342122 surface
- COREGL_TRACE_SURFACE_FILTER_FILTER_SIZE=320x200 : dumps only 320x200 surfaces
- Supports combinations with others
* GDB support
- (in gdb) p coregl_dump_surface() : dumps all surfaces at that time
- Supports combinatons with filters
- With print only option, only coregl_dump_surface() will generate png file.