Fix context creating error when FASTPATH is enabled 53/80053/1
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 13 Jul 2016 20:09:00 +0000 (04:09 +0800)
committerZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 13 Jul 2016 20:09:57 +0000 (04:09 +0800)
commit8e89b085713f6c81850ae8e18aac7586f717f606
tree7289ffafad04cb160cfd67560ca2afbd439c82e0
parentbbba78e6a736160f76669190a01b85f943c077b6
Fix context creating error when FASTPATH is enabled

1. According to EGL spec file, set default value of
major_version in real_ctx_option as 1 and set default
value of minor_version in real_ctx_option as 0
2. Don't take an exist context as the sharing of the
new created one if their major versions don't match

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