- 18 Apr, 2012 1 commit
-
-
Jeff Brown authored
Bug: 6110399 Change-Id: I37be63b68934fd451e6dffbf7d6079553619c0a3
-
- 16 Apr, 2012 1 commit
-
-
Mathias Agopian authored
this optimization was probably lost during ST refactoring. Change-Id: I845978c4b718cb91941d15b30484837f19714abe
-
- 13 Apr, 2012 6 commits
-
-
Mathias Agopian authored
-
Mathias Agopian authored
Bug: 6336168 Change-Id: Ic6f11b6bf6c3d849f5cb6ac95961d10d7f88e4ec
-
Martijn Coenen authored
Change-Id: I4dbec41cbf062334af8d66780859736f0ee5dab3
-
Mathias Agopian authored
Bug: 6332534 Change-Id: Idf79ad913770c6180969f6c95a9b125fff580231
-
Mathias Agopian authored
Change-Id: I8d698ec52d53ef1a553b887c7329413e1f49cc72
-
Daniel Lam authored
SurfaceTexture will modify the crop rect so it matches the desired output aspect ratio when the scaling mode is NATIVE_WINDOW_SCALING_MODE_CROP. Added a test for this new scaling mode. Change-Id: I60f24dcbc294b65cd10a393d9e27d40f07d27bb6
-
- 12 Apr, 2012 8 commits
-
-
Ramanan Rajeswaran authored
Change-Id: Ife40ac33241878814f5d9e027e43cd176c57fb56
-
Mathias Agopian authored
-
Mathias Agopian authored
This reverts commit 562f4b2c. Change-Id: I96efe11c2f0494ed2d57fc580e49c598d913830e
-
Jamie Gennis authored
This change works around a compiler bug with the GCC 4.6 toolchain. Bug: 6292211 Change-Id: I004c4750d92a29f193a37d8e605a28fdc3b7f076
-
Jamie Gennis authored
This change adds 3 tests for: - User-overridden buffer size - Transform hint - User-overridden buffer size with transform hint Change-Id: Ib15ea354685e436822c506099613b2bffa7b68c9
-
Michael I. Gold authored
Add a new API native_window_set_buffers_user_dimensions to allow native applications to override the native window size for the default buffer size. This has lower precedence than the existing native_window_set_buffers_dimensions and allows the two to co-exist. Change-Id: Ie73590e1c94ef0dadbce500bd0941dfabbcace3c
-
Mathias Agopian authored
surfaceflinger will now handle each surface post as soon as possible and handle the composition itself at VSYNC time as usual. Change-Id: I6b1ae33fd56062d86e5419ebab8def0ca5803fbf
-
Mathias Agopian authored
-
- 11 Apr, 2012 8 commits
-
-
Mathias Agopian authored
-
Mathias Agopian authored
Change-Id: If1894c43b0a39a2851e1280a35ae77bccd6d9abd
-
Jeff Sharkey authored
-
Jeff Sharkey authored
Bug: 6321962 Change-Id: I318cd88493396f3d8adb5d4d0fc7a12ee40ba737
-
Mathias Agopian authored
Change-Id: I13f71e850592a588bbd4805b1830c503bd4decb4
-
Mathias Agopian authored
Change-Id: I20ef05a73d89caaf6a70dc9ca25ada6e6a1f6ff9
-
Mathias Agopian authored
Change-Id: Ie125df2444b62a9a2200586a717dca268852afc9
-
Mathias Agopian authored
-
- 10 Apr, 2012 4 commits
-
-
Daniel Lam authored
Also removed unnecessary debug messages from SurfaceTextureClient. Change-Id: I291897a44170142f9d42a007b008823fad4683e0
-
Jesse Hall authored
If the EGL implementation supports the EGL_IMG_hibernate_process extension, use it to hibernate (and hopefully release memory or other resources) when the process isn't actively using EGL or OpenGL ES. The idleness heuristic used in this change is: (a) Wake up when entering any EGL API call, and remain awake for the duration of the call. (b) Do not hibernate when any window surface exists; this means the application is very likely in the foreground. (c) Do not hibernate while any context is made current to a thread. The app may be using a client API without the EGL layer knowing, so it is not safe to hibernate. (d) Only check these conditions and attempt to hibernate after a window surface is destroyed or a thread's context is detached. By not attempting to hibernate at the end of every EGL call, we avoid some transient wakeups/hibernate cycles when the app is mostly idle, or is starting to become active but hasn't created its window surface yet. On a Galaxy Nexus, hibernating frees 1567 VM pages from the process. Both hibernating and waking can take anywhere from 30ms to over 100ms -- measurements have been very inconsistent. Change-Id: Ib555f5d9d069aefccca06e8173a89625b5f32d7e
-
Jesse Hall authored
This is in preparation for a change that will hibernate the underlying EGL when idle. Instead of a bare egl_display_t*, get_display() now returns a egl_display_ptr, which acts like a smart pointer. The "wakecount" counter managed by the smart pointer isn't used for anything in this change. It will be used to make sure we don't hibernate when any thread is in an EGL call, without having to hold a mutex for the duration of the call. Change-Id: Iee52f3549a51162efc3800e1195d3f76bba2f2ce
-
Mathias Agopian authored
-
- 09 Apr, 2012 2 commits
-
-
Mathias Agopian authored
Change-Id: I853a822ea9ec13870ae25af55a89ad9a8cc3936a
-
Mathias Agopian authored
Change-Id: I1376bf864c4e03c11fb6d1333a8b7cfdda08c9e4
-
- 08 Apr, 2012 1 commit
-
-
Mathias Agopian authored
always keep vsync active for an extra frame before deciding if it should be turned off. Change-Id: I55b03265b7851b33a595e46a013f2ab55e66c964
-
- 07 Apr, 2012 1 commit
-
-
Daniel Lam authored
BufferQueue is now more flexible as it can be used by SurfaceMediaSource in addition to SurfaceTexture. Change-Id: I4222be8918d63372c44fcd412d9ad241c6a3eeb9
-
- 06 Apr, 2012 8 commits
-
-
Jamie Gennis authored
-
Nick Kralevich authored
-
Glenn Kasten authored
-
Erik Gilling authored
eventControl was not checking if there was a hwc before callingi hwc->eventControl Change-Id: I4d739fc9c0d47da131f4ffc5d50e274de156d012
-
Nick Kralevich authored
-
Nick Kralevich authored
Make Android more robust against symlink attacks when /data/anr is world-writable. Bug: 5614000 Change-Id: I9a7e4c4ec9aa4300ac30a968db0dcd276f364ab6
-
Nick Kralevich authored
The umask changed for init. We have to force /data/anr to be world readble and /data/anr/traces.txt to be world writable so dalvik processes can write to it. Hopefully this is a short term change while we investigate tightening up these permissions. Bug: 6300296 Change-Id: Iacb4c9f1bc69d2ac679697f9cf9a52694f888489
-
Jamie Gennis authored
This change adds a debug option to EGL to use an EGLSyncKHR each frame to determine when the GPU finishes rendering the frame. Change-Id: I09ce071db904b44f07ca814c586c291c8b59385a
-