summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/SurfaceTextureLayer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add a debug option to turn the "transformation hint" offMathias Agopian2011-08-231-7/+1
| | | | | | | | transformation hint is disabled with: adb shell service call SurfaceFlinger 1009 i32 1 Change-Id: I9aafe6f280f88ce41569ed69a06dc522b10e3a88
* return correct value from query after connecting a surfaceMathias Agopian2011-08-081-2/+12
| | | | | | | | | | the first time a surface was connected, the values returned by query NATIVE_WINDOW_DEFAULT_{WIDTH|HEIGHT} and NATIVE_WINDOW_TRANSFORM_HINT were wrong until a call to queueBuffer was performed. Bug: 5137366, 5121607 Change-Id: I7ac6b5b0daa876638f6bed7c20f286a6e6d984f6
* SurfaceFlinger: use async mode for video & camJamie Gennis2011-07-301-0/+26
| | | | | | | | This change makes SurfaceFlinger's SurfaceTexture objects default to async mode whenever a camera or video decoder connects. This behavior can be disabled by #defining NEVER_DEFAULT_TO_ASYNC_MODE. Change-Id: I8965951d1775915da180e4af298dd7af3afafecc
* Fix typo which caused invalid rotations to be returned with ↵Mathias Agopian2011-07-221-1/+1
| | | | | | | NATIVE_WINDOW_TRANSFORM_HINT Bug: 4487161 Change-Id: Ib2dfbbef15397b6d90695bd27f25849ca20704f1
* Fix a few issues with NATIVE_WINDOW_TRANSFORM_HINTMathias Agopian2011-07-211-0/+4
| | | | | | | | | - fixed uninitialized variable - set hint to indentity when transform is too complex - make sure FrameBufferNativeWindow doesn't fail on needed perform commands Bug: 4487161 Change-Id: I7cb2b0869b72404732eca7cb2d145ff669e2ed9b
* implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an ↵Mathias Agopian2011-07-191-0/+14
| | | | | | | optimal buffer orientation" Bug: 4487161 Change-Id: I883f34efe542c2a566d04966f873374f40c50092
* use SurfaceTexture new scaling mode in SFMathias Agopian2011-07-191-3/+0
| | | | | | | SF now obeys SurfaceTexture's scaling mode instead of inferring it from the buffer's size Change-Id: I4d50e9851abedd7e64bfcfc8af9eefb9fb668529
* unify SurfaceTexture and SurfaceMathias Agopian2011-06-131-0/+76
Add the concept of synchronous dequeueBuffer in SurfaceTexture Implement {Surface|SurfaceTextureClient}::setSwapInterval() Add SurfaceTexture logging fix onFrameAvailable