- 19 Apr, 2012 3 commits
-
-
Mathias Agopian authored
Bug: 6350574, 6361055 Change-Id: Iab92cc31bab4771fca63619c8e3105c759535f72
-
Mathias Agopian authored
-
Mathias Agopian authored
Change-Id: I70f02908d8362a465eb8a2a24356f6989847f7ba
-
- 18 Apr, 2012 6 commits
-
-
Eino-Ville Talvala authored
Change-Id: Id80742b5c1fd2960cc2eda3a9ba2db1078df5320
-
Eino-Ville Talvala authored
USAGE_HW_TEXTURE applies to SurfaceTexture, not to all uses of BufferQueue. Refactor accordingly. Change-Id: Ic7add5e1f2bbec3d3e796ba7f15eaa0633945d8f
-
Jesse Hall authored
-
Mathias Agopian authored
Bug: 6354761, 6353719 Change-Id: I0739de3fee7c54c14b294ffd768b70ee1f541d9e
-
Jeff Brown authored
-
Jeff Brown authored
Bug: 6110399 Change-Id: I37be63b68934fd451e6dffbf7d6079553619c0a3
-
- 17 Apr, 2012 9 commits
-
-
Jamie Gennis authored
This change fixes an issue where we were sometimes setting the SurfaceTexture's EGLDisplay to EGL_NO_DISPLAY in detachFromContext, and then subsequently abandoning the texture. Abandoning while in the detached state would result in the eglDestroyImageKHR calls failing, which resulted in a memory leak. Bug: 6302694 Change-Id: I24c1de0dac029a83c7508075fb8aaeaed96a14ea
-
Jamie Gennis authored
* changes: BufferQueue: check before tracing buffer index SurfaceTexture: shrink all sides when cropping
-
Jesse Hall authored
When eglTerminate() is called with a window surface still exists, a deadlock would occur since egl_display_t::terminate() holds a lock while destroying the window surface, which calls onWindowSurfaceDestroyed() which attempts to take the same lock. This change refactors the hibernation code and data into a separate object with its own lock, separate from the egl_display_t lock. This avoids the deadlock and better encapsulates the hibernation logic. The change also fixes a bug discovered incidentally while debugging: hibernating after calling eglTerminate() succeeds, but will cause awakens from subsequent eglInitialize() to fail. We will no longer hibernate a terminated display. Change-Id: If55e5bb603d4f8953babc439ffc8d8a60af103d9
-
Mathias Agopian authored
-
Chris Craik authored
-
Jamie Gennis authored
This change adds a check on ATRACE_ENABLED before calling snprintf to trace the buffer index. Change-Id: Id79430f9c69706393efd3d10780a4cc97055e9e0
-
Jamie Gennis authored
This change makes SurfaceTexture include an offset for all sides of the crop region when cropping. This keeps the image centered, to minimize the visual changes when switching between the texture transform matrix-based cropping and something that does proper cropping (e.g. HWComposer). Change-Id: I541d3046fd92e49221b488444df36d490924d1c5
-
Mathias Agopian authored
Change-Id: Ie6dd564bdcd45647cb4d62ab259462e3db112576
-
Mathias Agopian authored
- it returned an empty rect when the region was empty, instead of returning an empty list of rect. - also fixed an infinite loop when boolean_operation was given an empty list of rects Change-Id: I62225c7dcd2832025bb8f12e6cb3762f2a7b36cb
-
- 16 Apr, 2012 7 commits
-
-
Chris Craik authored
Change-Id: I82e54f5eeb2666a255e372fd3bfcc54c1b3d76a0
-
Mathias Agopian authored
-
Mathias Agopian authored
-
Mathias Agopian authored
-
Mathias Agopian authored
this seems to hurt performance on some GPU. this change might negatively affect performance on other GPUs though, but probably in less time-sensitive cases. If this becomes a problem it might become necessary to pre-clip the geometry (so that we don't have to use glScissor). This improves the rotation animation quite a bit. Change-Id: I5dbe1286f7ad858ef2c1e1ad9a07ee3f26c0b1f3
-
Mathias Agopian authored
this optimization didn't improve performance and in fact seemed to hurt more than anything else. it also made things a lot more complex as it introduced edges cases when switching to/from h/w composer. Change-Id: Iaafc235e175f5740cd98bff914d706e02ab88bb8
-
Mathias Agopian authored
this optimization was probably lost during ST refactoring. Change-Id: I845978c4b718cb91941d15b30484837f19714abe
-
- 13 Apr, 2012 7 commits
-
-
Mathias Agopian authored
-
Mathias Agopian authored
Bug: 6336168 Change-Id: Ic6f11b6bf6c3d849f5cb6ac95961d10d7f88e4ec
-
Mathias Agopian authored
Bug: 6311881 Change-Id: I6e52e281e8d432430aad011f6d9dcf35d7b4ac7d
-
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
-