coregl_fastpath: Refactor function fastpath_make_context_current
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Thu, 24 Oct 2019 00:33:48 +0000 (08:33 +0800)
committerJoonbum Ko <joonbum.ko@samsung.com>
Tue, 4 Feb 2020 06:43:52 +0000 (15:43 +0900)
commit326118955e9c7bf226fe351976cf2ce9d8764770
tree1d5cba99cd1fcde8c0d33a5458bdd07305f6d8cc
parent071bf31e4c616260ccfa4a3ff8b683ea7a5592c5
coregl_fastpath: Refactor function fastpath_make_context_current

Function fastpath_make_context_current() is too long and too
complex, simplify it by following modifications:
1. split it to several functions
2. improve its coding style according to Tizen standard
3. remove unnecessary comments

Change-Id: I26f780b9cd2f9dfb9df6e0de313125e195692eaf
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
src/modules/fastpath/coregl_fastpath.c