diff options
| author | 2009-08-06 16:27:47 -0700 | |
|---|---|---|
| committer | 2009-08-06 16:27:47 -0700 | |
| commit | 43a6d88e4ee13836d015a114bb0065b679cfa916 (patch) | |
| tree | 9a18eec2b1eb19ca69306db6c950bd5905c0816e /libs/ui/Surface.cpp | |
| parent | 8851e163fc5bc17d139bf29cd2ec2f3926d342bc (diff) | |
| parent | a1f6eff297a3e4870e22fdae926648bda3466805 (diff) | |
Merge changes 20345,20346,20347
* changes:
update most gl tests to use EGLUtils
added two EGL helpers for selecting a config matching a certain pixelformat or native window type
added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
Diffstat (limited to 'libs/ui/Surface.cpp')
| -rw-r--r-- | libs/ui/Surface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ui/Surface.cpp b/libs/ui/Surface.cpp index c73909f0cd89..4abb7f62ad44 100644 --- a/libs/ui/Surface.cpp +++ b/libs/ui/Surface.cpp @@ -620,6 +620,9 @@ int Surface::query(int what, int* value) case NATIVE_WINDOW_HEIGHT: *value = int(mHeight); return NO_ERROR; + case NATIVE_WINDOW_FORMAT: + *value = int(mFormat); + return NO_ERROR; } return BAD_VALUE; } |