[Title] Released a new feature 'COREGL_TRACE_SURFACE'
authorHaegeun Park <haegeun.park@samsung.com>
Wed, 21 Aug 2013 13:29:06 +0000 (06:29 -0700)
committerHaegeun Park <haegeun.park@samsung.com>
Mon, 26 Aug 2013 04:59:11 +0000 (21:59 -0700)
commitb1a3a1e75e66d10e8e1d599288738173f16e2383
treedab7c45f481700bd1789bfe61488c32d38fd7047
parent10be4bd5b63de9fb37aada93c3f6120bc961e7e8
[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.
include/EGL/sym_egl.h
src/coregl_internal.h
src/coregl_trace.c
src/headers/sym_egl.h
src/modules/fastpath/coregl_fastpath.c
src/modules/tracepath/coregl_tracepath.c
src/modules/tracepath/coregl_tracepath.h
src/modules/tracepath/coregl_tracepath_egl.c
src/modules/tracepath/coregl_tracepath_gl.c