connect/disconnect is now called from our EGL wrapper

the original connect/disconnect hooks are deprecated
and replace by api_connect/api_disconnect. the original
hooks are no no-ops.
api_connect/api_disconnect is now only called from the
android framework.

Bug: 5057915
Change-Id: I8ca64cd1acd6cabf915bf54689ec2e5f6dfa495a
This commit is contained in:
Mathias Agopian
2011-07-29 17:55:48 -07:00
parent 03116780a1
commit 982d2da4ee
5 changed files with 35 additions and 12 deletions

View File

@@ -317,6 +317,8 @@ int FramebufferNativeWindow::perform(ANativeWindow* window,
case NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS:
case NATIVE_WINDOW_SET_BUFFERS_FORMAT:
case NATIVE_WINDOW_SET_BUFFERS_TRANSFORM:
case NATIVE_WINDOW_API_CONNECT:
case NATIVE_WINDOW_API_DISCONNECT:
// TODO: we should implement these
return NO_ERROR;