d8e812ce6fe9ae0388e98b08456e1d18b9498239 |
|
14-Jun-2012 |
Jamie Gennis <jgennis@google.com> |
Update ANativeWindow clients for sync This change updates the uses of ANativeWindow to use the new ANW functions that accept and return Sync HAL fence file descriptors. Change-Id: I3ca648b6ac33f7360e86754f924aa072f95242f6
/frameworks/native/include/gui/SurfaceTextureClient.h
|
b7a6b96301c00c630610df4cb55a45d666200817 |
|
14-May-2012 |
Jamie Gennis <jgennis@google.com> |
libgui: remove setPostTransformCrop This change removes the setPostTransformCrop function from SurfaceTextureClient. It also includes a small logging fix in BufferQueue. Bug: 6299171 Change-Id: Ifd0ed05b95dad6085e7a8267fda4d69b76ea3bad
/frameworks/native/include/gui/SurfaceTextureClient.h
|
d72f233ffa125856a44976a50a66ceb669f49ab2 |
|
07-May-2012 |
Jamie Gennis <jgennis@google.com> |
libgui: Add support for post-xform crops. This change adds support for specifying a crop rectangle to a SurfaceTextureClient that is in post-transformed coordinate space. Change-Id: I247901de343e71b32850f7ae3bac62dfa612ad3d Bug: 6299171
/frameworks/native/include/gui/SurfaceTextureClient.h
|
efc7ab6dcea8c22ddd7c0259ef4ab4bbf1e93044 |
|
18-Apr-2012 |
Jamie Gennis <jgennis@google.com> |
libgui: Add plumbing for active rectangle This change adds the plumbing to SurfaceTextureClient, BufferQueue, and SurfaceTexture to get the active rectangle passed to the ANativeWindow to the buffer consumer. Change-Id: I35da0889b266327ebb079b6a7136fa3e2e8b00e6
/frameworks/native/include/gui/SurfaceTextureClient.h
|
2488b20aec097accb20a853d9876bb0a5dc04636 |
|
21-Apr-2012 |
Mathias Agopian <mathias@google.com> |
add a way to query whether an ANativeWindow consumer is running ahead of the producer Change-Id: Ibccfa1feb56db2ab11f0c0934ce2d570a2b65ae2
/frameworks/native/include/gui/SurfaceTextureClient.h
|
ac6035a12aec38eeb14d0c13636ec980066d9a8f |
|
13-Apr-2012 |
Mathias Agopian <mathias@google.com> |
s/w rendered apps can now use n-buffering (n>2) Bug: 6311881 Change-Id: I6e52e281e8d432430aad011f6d9dcf35d7b4ac7d
/frameworks/native/include/gui/SurfaceTextureClient.h
|
55a701459de964ae3504264a6b8c4dc37f54a9e8 |
|
10-Apr-2012 |
Michael I. Gold <gold@nvidia.com> |
SurfaceTextureClient: support for application buffer dimensions 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
/frameworks/native/include/gui/SurfaceTextureClient.h
|
abe61bfda4938abd932465e27c29ba9e41aea606 |
|
27-Mar-2012 |
Daniel Lam <dalam@google.com> |
BufferQueue no longer hardcodes buffer counts BufferQueue is now more flexible as it can be used by SurfaceMediaSource in addition to SurfaceTexture. Change-Id: I4222be8918d63372c44fcd412d9ad241c6a3eeb9
/frameworks/native/include/gui/SurfaceTextureClient.h
|
851ef8f1bfbb164d61b1528a529a464f0a60dbaf |
|
30-Mar-2012 |
Mathias Agopian <mathias@google.com> |
reduce IPC with BufferQueue collapse setCrop, setTransform and setScalingMode to queueBuffer() this ends up simplifying things quite a bit and reducing the numnber of IPC needed per frame. Change-Id: I3a13c07603abe4e76b8251e6380b107fde22e6d9
/frameworks/native/include/gui/SurfaceTextureClient.h
|
b0e76f456afaada43ddb0968bb37145219f90cd3 |
|
23-Mar-2012 |
Mathias Agopian <mathias@google.com> |
remove dependency of EGL on ndk header Change-Id: Ia6e489b5b4f028864bdf54923e81f604710dd8ad
/frameworks/native/include/gui/SurfaceTextureClient.h
|
b267579ba8dfe3f47d2a481c5a3c2254e3d565a1 |
|
23-Feb-2012 |
Daniel Lam <dalam@google.com> |
SurfaceTexture: Fully refactored from BufferQueue SurfaceTexture and BufferQueue are separate objects. Change-Id: I230bc0ae6f78d0f9b2b5df902f40ab443ed5a055
/frameworks/native/include/gui/SurfaceTextureClient.h
|
5f2165f9455d4893b581b73a67c5431f4344b47e |
|
25-Feb-2012 |
Mathias Agopian <mathias@google.com> |
remove dependency on android_native{s_priv|buffer}.h Change-Id: Ie4b95f7061c240f37c504414259f92d72c4ffc89
/frameworks/native/include/gui/SurfaceTextureClient.h
|
a36bcd53ac075054bb39ef506687f4daaf9bac6b |
|
18-Nov-2011 |
Mathias Agopian <mathias@google.com> |
attempt to fix bug 5313580 the working theory here is that a Surface object has become non-promotable because it lost its last reference; later Surface::readFromParcel is called the previous surface is found in the cache, but can't be promoted. this causes a new Surface object to be created which will promptly try to connect to the CPU_API -- this in turn will fail because the previous (now dead) surface is still connected. To fix this, we make sure to disconnect from the SurfaceTexture when Surface[TextureClient] is destroyed. Change-Id: I422234868a05d7b7d283e9d5a85f7ab79e65d8a9
/frameworks/native/include/gui/SurfaceTextureClient.h
|
3fbce7c56082e4e0d23f1c1c89983d3841853ed7 |
|
26-Jul-2011 |
Mathias Agopian <mathias@google.com> |
remove dead code and member variables. also fix some comments and improve debugging logs. Change-Id: I83e55309f306332b59e1ec46104c4a7fffbf3c97
/frameworks/native/include/gui/SurfaceTextureClient.h
|
976f494d53cb239307fd810ce592b5b5de1cbc41 |
|
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/native/include/gui/SurfaceTextureClient.h
|
97c602c5af5f3ffd69009bf496d86347b71a2b4c |
|
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/native/include/gui/SurfaceTextureClient.h
|
7734ebfe47f42f980c1b44c1f284a91d8ad1d6c7 |
|
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/native/include/gui/SurfaceTextureClient.h
|
8f9dbf9e13b927de2524116c30544f7dfbbbf56c |
|
14-Jul-2011 |
Mathias Agopian <mathias@google.com> |
move lock/unlock implementaion outside of Surface into SurfaceTextureClient This makes ANativeWindow_lock/ANativeWindow_unlockAndPost work with ANativeWindows implemented by Surface and SurfaceTextureClient. Also, Surface now inherits directly from SurfaceTextureClient. Bug: 5003724 Change-Id: I9f285877c7bae9a262e9a7af91c2bae78804b2ef
/frameworks/native/include/gui/SurfaceTextureClient.h
|
677517ae3f380e701a47abe4738b748fb3ca161d |
|
15-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
Merge changes Id9aa1003,I8c154189 * changes: SurfaceTexture: make (dis)connect into an IPC SurfaceTexture: add support for new connect values
|
fe0a87b54654a1392650e7f1862df473287d8332 |
|
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/native/include/gui/SurfaceTextureClient.h
|
bee205fd58a27c10a0895de5339e76025d429d2b |
|
01-Jul-2011 |
Jamie Gennis <jgennis@google.com> |
EGL: fix the ANativeWindow size/fmt override This change fixes how the Android EGL layer overrides the size and format of an ANativeWindow in eglCreateWindowSurface. The new behavior is to leave the size untouched when overriding the format. The previous behavior was to reset the ANativeWindow to use the default size set by the ANativeWindow implementation. It also adds two new 'perform' methods to the ANativeWindow interface: set_buffers_dimensions and set_buffers_format, and redefines the behavior of set_buffers_geometry to be the combination of these two new methods. Additionally, this change adds an error check for the return value of the new native_window_set_buffers_format call, which required adding a (stub) handler for to FramebufferNativeWindow. Change-Id: I805c7ccd8d4730dfb132d10d8bc3fb058a0b9df1
/frameworks/native/include/gui/SurfaceTextureClient.h
|
1c4414091cfb93206067fb64eba445653739d40f |
|
20-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: fix a NULL ptr dereference. This change adds a NULL check when searching the slot list in SurfaceTextureClient for the slot corresponding to a buffer being queued or canceled. Bug: 4645023 Change-Id: I806cbc1e34da118ea33a83c4f25ce8193ba1c3ad
/frameworks/native/include/gui/SurfaceTextureClient.h
|
8072711307aa98ee5ee6f7369860ae38c3e19656 |
|
03-May-2011 |
Mathias Agopian <mathias@google.com> |
Implement {Surface|SurfaceTextureClient}::setSwapInterval() Change-Id: I8382e346ddaa2c4c8ff56ac3ffd7f0109572f188
/frameworks/native/include/gui/SurfaceTextureClient.h
|
697526bc9e44ce61c88614f98387ae8bbf0a187e |
|
01-May-2011 |
Iliyan Malchev <malchev@google.com> |
frameworks/base: android_native_buffer_t -> ANativeWindowBuffer Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
/frameworks/native/include/gui/SurfaceTextureClient.h
|
41abd67302b52aefadc2b3dea42226f16bf6d9ba |
|
15-Apr-2011 |
Iliyan Malchev <malchev@google.com> |
frameworks/base: make the ANativeWindow query() method const query() does not modify the object's data, so it needs to be a const method Change-Id: I67c40a3c865461e6f1cc2193fd2d74286ff6ac8f Signed-off-by: Iliyan Malchev <malchev@google.com>
/frameworks/native/include/gui/SurfaceTextureClient.h
|
7a042bf324fe3f3d5d4085fda21fe50dc0c362b4 |
|
12-Apr-2011 |
Mathias Agopian <mathias@google.com> |
changes to SurfaceTexture needed for unification with SF - implement connect/disconnect - implement missing query - handle texture_2d in addition to texture_external_oes Change-Id: I971a70821f00f22b01f5337de4a7d451177fec4d
/frameworks/native/include/gui/SurfaceTextureClient.h
|
1d01a12e7150be569557b64da9b8663c62c13594 |
|
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/native/include/gui/SurfaceTextureClient.h
|
bae774eb20bebd409441b93386b51bccda75f546 |
|
14-Mar-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTextureClient: Add ISurfaceTexture getter. This change adds a getter method to SurfaceTextureClient to get the ISurfaceTexture object with which the SurfaceTextureClient is communicating. Bug: 4086509 Change-Id: Ifec621e0fe5392a5be56b2348fdc54067cbebcdd
/frameworks/native/include/gui/SurfaceTextureClient.h
|
9d4d6c101d90d4a1d1ca9413cf3eb89d1f1898d6 |
|
27-Feb-2011 |
Jamie Gennis <jgennis@google.com> |
Add the MIN_UNDEQUEUED_BUFFERS query to ANW. This change adds a new query to ANativeWindow for getting the minimum number of buffers that must be left un-dequeued during the steady-state operation of the ANativeWindow. Change-Id: Ie8c461fc26b02ecde02ddb4f95bf763662cf1551 Related-Bug: 3356050
/frameworks/native/include/gui/SurfaceTextureClient.h
|
1b20cde313b5ef8acdace742328df867956d24cb |
|
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/native/include/gui/SurfaceTextureClient.h
|
8ba32fade11abb73f3fd47ea0953c9528eb5b91f |
|
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/native/include/gui/SurfaceTextureClient.h
|