summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/MessageQueue.cpp
diff options
context:
space:
mode:
author Jack Palevich <jackpal@google.com> 2009-05-07 18:28:29 -0700
committer Jack Palevich <jackpal@google.com> 2009-05-07 18:28:29 -0700
commite20ea783a12f1031482c3aa01938efe39dcbf0a2 (patch)
treeb32727a25f4cd4ca8c6ced40a9feb4ef6a665b9d /libs/surfaceflinger/MessageQueue.cpp
parent538bcd702c0053772245dfbb634c266959cf6af9 (diff)
Require native-order direct buffers for glXXXPointer APIs.
This was always a documented restriction, but was not enforced by the runtime until now. Until now, if you passed in some other kind of buffer, it would sometimes work, and sometimes fail. The failures happened when the Java VM moved the buffer data while OpenGL was still holding a pointer to it. Now we throw an exception rather than leaving the system in a potentially bad state.
Diffstat (limited to 'libs/surfaceflinger/MessageQueue.cpp')
0 files changed, 0 insertions, 0 deletions