OSDN Git Service

make sure we have a context when creating the 1st surface
authorMathias Agopian <mathias@google.com>
Thu, 8 Aug 2013 03:10:20 +0000 (20:10 -0700)
committerMathias Agopian <mathias@google.com>
Thu, 8 Aug 2013 23:38:06 +0000 (16:38 -0700)
commita6bb107434ad36739c21e1f72ac8d0107808a7b9
tree8eeb40df019b998c12f5d3543bf215f5e53d044e
parent6c913be9ca95fd6b556d056e165a4ba6dc69795b
make sure we have a context when creating the 1st surface

also add an option to dump the stack trace when
calling a GL function without a context.

Change-Id: I57b72bb8c322ac4253c3077bf150621bd9863b69
opengl/libs/EGL/egl.cpp
services/surfaceflinger/SurfaceFlinger.cpp