summaryrefslogtreecommitdiffstats
path: root/libs/gui/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement {Surface|SurfaceTextureClient}::setSwapInterval()Mathias Agopian2011-05-111-12/+5
| | | | Change-Id: I8382e346ddaa2c4c8ff56ac3ffd7f0109572f188
* new tests for SurfaceTexture synchronous modeMathias Agopian2011-05-111-0/+263
| | | | Change-Id: Icfdaa625238246f8d0224efe28fdf2c1c24203f8
* unify SurfaceTexture and SurfaceMathias Agopian2011-05-111-2/+2
| | | | Change-Id: I49da2f5d8408e4cd7e148cfb777bb4ff68cd8f37
* frameworks/base: android_native_buffer_t -> ANativeWindowBufferIliyan Malchev2011-05-033-13/+13
| | | | | Change-Id: Idc2eabaa805bb6d308ebb315872623f28d428417 Signed-off-by: Iliyan Malchev <malchev@google.com>
* libgui: enable tests in the 'tests' build.Jamie Gennis2011-04-261-3/+0
| | | | | | | | This change makes the libgui makefile recurse into the tests directory so that the tests get built by a top-level make when TARGET_BUILD_VARIANT=tests. Change-Id: I6f623cc4b86dfeb00b9d21823316dbd9def23110
* EGL: Allow creating a SurfaceTexture EGLSurface.Jamie Gennis2011-04-251-3/+3
| | | | | | | This change removes the check that disallowed the creation of an EGLSurface that would send frames to a SurfaceTexture. Change-Id: I44c6d5df503cc676a88144d72d39b414692ce4c9
* libgui: Fix the tests so they build.Jamie Gennis2011-04-252-2/+2
| | | | Change-Id: I7205b0819e5801ac549109ff562c3ab1b113d176
* SurfaceTexture can now force the client to request a bufferMathias Agopian2011-04-011-0/+147
| | | | | | | | | | | | SurfaceTexture now has the concept of default size a new method, setDefaultBufferSize() to set it. When the default size is changed, dequeueBuffer() will return a value telling the client that it must ask for a new buffer. The above only applies if the client has not overriden the buffer size with setGeometry. Change-Id: I520dc40363054b7e37fdb67d6a2e7bce70326e81
* merge libsurfaceflinger_client into libguiMathias Agopian2011-03-252-1/+142
| | | | | | | | | | | | this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
* SurfaceTexture: disallow unsupported uses.Jamie Gennis2011-03-151-1/+44
| | | | | | | | | | This change makes the ANativeWindow_lock NDK function error out if it is passed an ANativeWindow with a concrete type that is not Surface. It also makes eglCreateWindowSurface fail if it is passed a SurfaceTextureClient as its 'window' argument. Bug: 4087277 Change-Id: Ie68c50c52d88f72d8a387f6c094908044c83a88c
* SurfaceTextureClient: Add ISurfaceTexture getter.Jamie Gennis2011-03-141-0/+5
| | | | | | | | | This change adds a getter method to SurfaceTextureClient to get the ISurfaceTexture object with which the SurfaceTextureClient is communicating. Bug: 4086509 Change-Id: Ifec621e0fe5392a5be56b2348fdc54067cbebcdd
* ANativeWindow: add query for the concrete type.Jamie Gennis2011-03-141-0/+8
| | | | | | | | This change adds a query to the ANativeWindow interface for getting the concrete type of the ANativeWindow. Bug: 4086509 Change-Id: I64aa86d72fbca3b52a98e1fc35608737781a3178
* SurfaceTexture: fix transform matrix computation.Jamie Gennis2011-03-142-19/+638
| | | | | | | | | This change fixes the transform matrix computation in SurfaceTexture when a crop rectangle is specified by the image producer. It also adds a test for this case as well as a basic test for the uncropped case. Bug: 4070775 Change-Id: I1481c9ce9d08fe7f2bff86d3afdeab7d4002b157
* ANativeWindow: add queues-to-window-composer check.Jamie Gennis2011-03-082-0/+100
This change adds a new 'method' to the ANativeWindow interface to check whether buffers queued to the window will be sent directly to the system window compositor. Change-Id: I4d4b199e328c110b68b250029aea650f03c8724d Bug: 3495535