6cb76588d7a26b050ecafec5ba7ee011431091e8 |
|
15-Oct-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: report binder transaction failures This change fixes the ISurfaceTexture error reporting for the case where the binder transaction fails. Bug: 5082219 Change-Id: I6517532992e3a76dc9eb5e4a36af43a562391aaa
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
053b02df2d350466a2226a90709e50fedef54747 |
|
09-Aug-2011 |
Mathias Agopian <mathias@google.com> |
return correct value from query after connecting a surface 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
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
5ef59bc764d6bcd0ccf0a266d7d9ab792668a3e9 |
|
19-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: add the abandon method. This change adds the 'abandon' method to the SurfaceTexture C++ class. This method may be used to put the SurfaceTexture in an abandoned state, causing all ISurfaceTexture methods to fail. Change-Id: Ibd261f7b73f44e2bec36a8508bf92113cfb7cf95
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
5c23a2c72d1c3d2c423355ae301e0822e1662b9f |
|
19-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: remove getAllocator This change removes the SurfaceTexture::getAllocator method, as it's no longer needed. Proper refcounting of the Gralloc buffers is now handled by the IGraphicBufferAlloc binder marshalling code. Change-Id: I5cffa6ebfc1bc5828fb7ce0e0a5b2f55cd8479da
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
f07b8a3f691be39083fb5163f9456bcfa566f93f |
|
20-Jul-2011 |
Mathias Agopian <mathias@google.com> |
implement: "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation" Bug: 4487161 Change-Id: I883f34efe542c2a566d04966f873374f40c50092
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
09d7ed7b395d66be97c6bcb052039f5c0dce646c |
|
14-Jul-2011 |
Mathias Agopian <mathias@google.com> |
Add set_scaling_mode() to ANativeWindow. This allows to specify the scaling mode independently from the buffer size. Change-Id: Iaa2baa660445531a97d3fac192e580f4929c5d3b
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
d2734a5daae91869949218a322a35e7423e59a9a |
|
15-Jul-2011 |
Mathias Agopian <mathias@google.com> |
fix a typo in ISurfaceTexture IPC code Change-Id: Ied1d9ddb0d849b17219d0ea3d333ce12be849419
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
9709687463dc5f1255f435e57b3d2beed8b70330 |
|
14-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: make (dis)connect into an IPC This change makes the ANativeWindow connect and disconnect calls result in an IPC to the SurfaceTexture object. This will allow us to prevent multiple simultaneous connections from different processes. Change-Id: Id9aa1003b1335b96ca6bd4a1f5a67aa433d42efb
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
402ff24aa199a2587498b694e2be67ceb1265c69 |
|
03-May-2011 |
Mathias Agopian <mathias@google.com> |
Implement {Surface|SurfaceTextureClient}::setSwapInterval() Change-Id: I8382e346ddaa2c4c8ff56ac3ffd7f0109572f188
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
ed3894c07a67b3e35d07084c4a8b410908bfedc5 |
|
20-Apr-2011 |
Mathias Agopian <mathias@google.com> |
unify SurfaceTexture and Surface Change-Id: I49da2f5d8408e4cd7e148cfb777bb4ff68cd8f37
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
0297dcae8fddb18ab9e28ba1858a57a8aec3ef32 |
|
26-Apr-2011 |
Mathias Agopian <mathias@google.com> |
Fix a bug where setgeometry couldn't be undone This change the binder protocol between SurfaceTextureClient and SurfaceTexture. dequeueBuffer() now takes the requested parameters for the buffer. SurfaceTexture decides if the buffer needs to be reallocated and does the allocation if needed. In that case it returns BUFFER_NEEDS_REALLOCATION to tell SurfaceTextureClient that it needs to call requestBuffer (which all parameters have been removed) to acquire a pointer to the buffer. dequeueBuffer and requestBuffer could be folded into a single IPC call, but we chose to optimize the case where buffers are not created and avoid some complexity in the marshalling code. Change-Id: I097a7f6f40a3491e10f3f3742eab33999286c304
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
c5f94d8a4779050125145396ca83fbc862c7ed6b |
|
18-Feb-2011 |
Eino-Ville Talvala <etalvala@google.com> |
Add support for timestamps into SurfaceTexture. API addition: The timestamps are represented as nanoseconds from some arbitrary time point. Like the SurfaceTexture transform matrix, the timestamp retrieved by getTimestamp is for the last frame sent to the GL texture using updateTexImage(). Camera HAL change: Expect vendors to set these timestamps using native_window_set_buffers_timestamp(). For now, they are autogenerated by SurfaceTextureClient if set_buffers_timestamp() is never called, but such timing is likely not accurate enough to pass a CTS test. bug:3300707 Change-Id: Ife131a0c2a826ac27342e11b8a6c42ff49e1bea7
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
83bac216a7ba8493a7916e40b2555e73c3a5cc1a |
|
03-Feb-2011 |
Jamie Gennis <jgennis@google.com> |
Pass the IGraphicBufferAlloc to SurfaceTextureClient. This change passes a reference to the IGraphicBufferAlloc binder object to SurfaceTextureClient objects. When STC objects are created they query their associated ISurfaceTexture object for the IGraphicBufferAlloc that the SurfaceTexture uses to allocate buffers. Having the SurfaceTextureClient hold this reference prevents the GraphicBufferAlloc in SurfaceFlinger from freeing the allocated buffers before the SurfaceTextureClient is done with them. Change-Id: Ib8e30e8b37fdd60438cbb4cb7e9174d0ba6d661c related-bug: 3362519
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|
68e4a7ac849b681b1fb769857fc04f64262480c4 |
|
20-Dec-2010 |
Jamie Gennis <jgennis@google.com> |
Add the SurfaceTexture C++ implementation. This change adds the C++ implementation of SurfaceTexture and related classes. The goal of this is for a SurfaceTexture to be passed to camera service or Stagefright in place of a Surface to allow camera preview or decoded video frames to be streamed to an OpenGL ES texture that an application can use. Change-Id: I55c83a7017f1ecb81c9c9e3252cbd118b914296c
/frameworks/base/libs/gui/ISurfaceTexture.cpp
|