Fix eglQueryString() to support long EGL_EXTENSIONS string. 48/30148/1
authorTakanari Hayama <taki@igel.co.jp>
Fri, 28 Mar 2014 04:41:57 +0000 (13:41 +0900)
committerTony SIM <chinyeow.sim.xt@renesas.com>
Wed, 12 Nov 2014 05:40:27 +0000 (13:40 +0800)
commitc207d0fe87ff568748e269c5994ec93eea76a074
tree3b229edbeffb7cc9eb7fdfc1cfe96ab49fe4c364
parent9638f5570c7b0f63fe5c018911b03bca43954894
Fix eglQueryString() to support long EGL_EXTENSIONS string.

eglQueryString() had fixed size string buffer as a place holder
for EGL_EXTENSIONS to avoid dynamic memory allocation. However,
this caused an issue when the backend eglQueryString() returned
the longer string that is more than this fixed size string buffer.

We now allocate the string buffer dynamically.

Change-Id: I107b5511bf1a31af6e83b9320f0b44c279d50b52
Signed-off-by: Tony SIM <chinyeow.sim.xt@renesas.com>
egl.c