- 24 Apr, 2012 6 commits
-
-
Mathias Agopian authored
Change-Id: Ibccfa1feb56db2ab11f0c0934ce2d570a2b65ae2
-
Mathias Agopian authored
indeed, connect and queueBuffer return the same data, so it's easier to have them use the same protocol. Change-Id: I4f9fa3be0a80c9ab0a7a4039b282ae843aab02e1
-
Mathias Agopian authored
use BufferQueue::connect() instead Change-Id: I04aab7cf11304bf962cde38470747f3b19ddba42
-
Mathias Agopian authored
-
Mathias Agopian authored
use TARGET_DISABLE_TRIPLE_BUFFERING := true to disable triple buffering. Change-Id: I9875d6ddefd23c1af9e51e7ee7dec1bacd1e6799
-
Glenn Kasten authored
-
- 20 Apr, 2012 2 commits
-
-
Mathias Agopian authored
Change-Id: Ic4659fb81f9990cc7caf84a496a8ae659a1d16a9
-
Mathias Agopian authored
-
- 19 Apr, 2012 5 commits
-
-
Andreas Huber authored
in the range ERROR_DRM_VENDOR_MIN..ERROR_DRM_VENDOR_MAX. Change-Id: Ic5d53e98cf6d98d92ad305d51f848e03d0bf3a84 related-to-bug: 6365261
-
Glenn Kasten authored
Remove C++ APIs androidSetThreadSchedulingGroup and androidGetThreadSchedulingGroup, and the ANDROID_TGROUP_* constants. Former callers of these should now use the C APIs set_sched_policy and get_sched_policy, and the SP_* constants. Note: debug.sys.noschedgroups is not supported by the C APIs, this needs to be discussed. Change-Id: I32bbfc539ef4090faf9ef0320380e8cca9eae07c
-
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 10 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
-
Daniel Lam authored
This tests if eglTerminate can succeed while objects are leaked. Currently the test fails because of a deadlock. Change-Id: Ibe26edfda28691284d0674e803e8d3114f3ce4c6
-
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 4 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
-