summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Turn off vector code for tests where this reduces performance."Jason Sams2013-01-223-3/+3
|\
| * Turn off vector code for tests where this reduces performance.Jason Sams2013-01-223-3/+3
| | | | | | | | Change-Id: Ice90a8f510db9acc5325a1cfa44638b5a1cef782
* | Merge "Build the actual RSTest_CompatLib."Stephen Hines2013-01-2273-0/+5939
|\ \
| * | Build the actual RSTest_CompatLib.Stephen Hines2013-01-1873-0/+5939
| |/ | | | | | | Change-Id: I1d1ae707a1326b56e91c81c3744bd702f296bbc2
* | Merge "fast math error testing."Jason Sams2013-01-228-4/+296
|\ \ | |/ |/|
| * fast math error testing.Jason Sams2013-01-188-4/+296
| | | | | | | | Change-Id: Ib9c2af9ac2aaf44c0e08a47099dc1f9c057c9ac3
* | Revert "Move RSTest to compatibility library."Stephen Hines2013-01-1872-5909/+0
| | | | | | | | This reverts commit 36103c80b1d258157f0f4b531bc02f2fbb9e2d40.
* | Merge "Move RSTest to compatibility library."Tim Murray2013-01-1972-0/+5909
|\ \
| * | Move RSTest to compatibility library.Tim Murray2013-01-1872-0/+5909
| |/ | | | | | | Change-Id: I486f485fe9798d81dcd8e1ca9001bb851bcfc9b8
* | Merge "Allow layers with a stencil buffer to be resized on the fly Bug #7146141"Romain Guy2013-01-192-11/+79
|\ \
| * | Allow layers with a stencil buffer to be resized on the flyRomain Guy2013-01-182-11/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7146141 This change moves the resizeLayer() from LayerCache (where it should never have been anyway) to Layer. This makes a little more sense. Change-Id: I8b2f9c19c558e738405a58b9e71ec5799fc6be88
* | | Merge "Better detecting if current threasd is main thread"Kristian Monsen2013-01-182-2/+4
|\ \ \
| * | | Better detecting if current threasd is main threadKristian Monsen2013-01-182-2/+4
| |/ / | | | | | | | | | | | | | | | | | | Old approach got broken after: https://googleplex-android-review.googlesource.com/#/c/266421/2 Change-Id: I12ae23efdbaebd8ba24acb1b7eff75c912d24f1d
* | | Merge "Actually test fract(float)."Stephen Hines2013-01-181-0/+1
|\ \ \ | |/ / |/| |
| * | Actually test fract(float).Stephen Hines2013-01-161-0/+1
| | | | | | | | | | | | Change-Id: I402c7ea43ea626f9748982919cb3753015df3da7
* | | Implement clipRect with a transform, clipRegion & clipPathRomain Guy2013-01-173-13/+147
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7146141 When non-rectangular clipping occurs in a layer the render buffer used as the stencil buffer is not cached. If this happens on a View's hardware layer the render buffer will live for as long as the layer is bound to the view. When a stencil buffer is required because of a call to Canvas.saveLayer() it will be allocated on every frame. A future change will address this problem. If "show GPU overdraw" is enabled, non-rectangular clips are not supported anymore and we fall back to rectangular clips instead. This is a limitation imposed by OpenGL ES that cannot be worked around at this time. This change also improves the Matrix4 implementation to easily detect when a rect remains a rect after transform. Change-Id: I0e69fb901792d38bc0c4ca1bf9fdb02d7db415b9
* | Merge "Fix test build failure"Amith Yamasani2013-01-171-2/+3
|\ \
| * | Fix test build failureAmith Yamasani2013-01-161-2/+3
| | | | | | | | | | | | Change-Id: Ic96c2490439a78af2fb92db49b25b67b56954a20
* | | Merge "Fix image processing test to include all benchmark tests -- each test ↵Xia Wang2013-01-153-147/+446
|\ \ \ | | | | | | | | | | | | case can be excuted separately -- add a test case to run all benchmarks."
| * | | Fix image processing test to include all benchmark testsXia Wang2013-01-153-147/+446
| | |/ | |/| | | | | | | | | | | | | | | | -- each test case can be excuted separately -- add a test case to run all benchmarks. Change-Id: I3c61dfe50267a6db11bc1895a4f37ed618a9103b
* | | Preliminary Support for region clippingRomain Guy2013-01-141-7/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Region clipping, using Canvas.clipPath or Canvas.clipRegion, requires a stencil buffer to be always present. In addition, extra wiring is required in JNI and display lists. This change only adds the necessary JNI/C++ APIs and some extra plumbing to start the real work on properly supporting region clipping. A new debug define called DEBUG_CLIP_REGIONS can be used to draw the current clip region. It is off by default, as is region clipping. The default implementation of clipPath() and clipRegion(), now in native, mimics the previous Dalvik implementation to prevent regressions. Change-Id: I7903e7cfd7412b9b9b622566d4dbfce7bdcec00c
* | Merge "Add parentheses for latest Clang warnings."Stephen Hines2013-01-101-3/+3
|\ \
| * | Add parentheses for latest Clang warnings.Stephen Hines2013-01-101-3/+3
| | | | | | | | | | | | Change-Id: I843fd3eb44e1ab0a177d7045ca97cf146fd81231
* | | Merge "Maybe fix build."Dianne Hackborn2013-01-091-2/+2
|\ \ \
| * | | Maybe fix build.Dianne Hackborn2013-01-091-2/+2
| | | | | | | | | | | | | | | | Change-Id: If9bf7b7e2725cb472918fbbbf0cfb5070d0c6d46
* | | | Merge "Update IP2 to use bitmap-backed allocations."Tim Murray2013-01-092-11/+7
|\ \ \ \
| * | | | Update IP2 to use bitmap-backed allocations.Tim Murray2013-01-092-11/+7
| | | | | | | | | | | | | | | | | | | | Change-Id: I2967fff71db40b4a8a00cd0152bcc04c43b87f80
* | | | | Cleanup 9patch mesh matching codeRomain Guy2013-01-091-0/+0
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #7970966 The bug described in #7970966 should normally never happen but just in case, change the detection code to be more robust. Change-Id: I7040a6087590e34abe8803cb8f83f051d77f3944
* | | | Merge "Add 3D LUT intrinsic java class"Jason Sams2013-01-082-7/+18
|\ \ \ \
| * | | | Add 3D LUT intrinsic java classJason Sams2013-01-082-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test for 3D LUT Change-Id: I52bc20fd5458afda6de0a6015e9c8bc6a4970055
* | | | | Add plumbing for better text scalingRomain Guy2013-01-082-6/+49
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fonts are now described by a transform matrix. This lead to switching from a vector to a hashmap. This change therefore adds new comparators and hash computations to Font. Change-Id: I2daffa7d6287c18554c606b8bfa06640d28b4530
* | | | Add more tests for libhwuiRomain Guy2013-01-073-0/+189
| |/ / |/| | | | | | | | | | | | | | These tests verify the behavior when scaling paths and text Change-Id: I0f3259175bcee93186e30296759996e0447cba99
* | | Properly support ALPHA_8 bitmaps in all drawBitmap() methodsRomain Guy2013-01-043-0/+106
| | | | | | | | | | | | Change-Id: I869993c59e0a0d76f369c09acbae711753908f48
* | | Fix off by 1 in color cube.Jason Sams2013-01-022-59/+50
|/ / | | | | | | | | | | | | Tested with 2x2x2 and 32x32x16 cubes. Bit exact in 2x2x2 Change-Id: I0ca3e3736d1d9c611a02bba8ee9bfea3befd0e76
* | Merge "Fix color cube tests."Jason Sams2012-12-282-19/+61
|\ \
| * | Fix color cube tests.Jason Sams2012-12-282-19/+61
| | | | | | | | | | | | Change-Id: I644ac26c6d234bf5b9cf4c549bebdfee67e98f50
* | | Merge "Add API support for 3D allocations."Jason Sams2012-12-283-1/+143
|\ \ \ | |/ /
| * | Add API support for 3D allocations.Jason Sams2012-12-273-1/+143
| | | | | | | | | | | | Change-Id: I19c525f90135d83caec545e77e8f61a957d220ee
* | | Switch to simpler createFromBitmap in ImageProcessing.Tim Murray2012-12-181-9/+5
|/ / | | | | | | Change-Id: I61034689ed83b6536abc034e21c39adac2cdf553
* | Revert "Turn off IP2."Stephen Hines2012-12-141-2/+1
| | | | | | | | | | | | This reverts commit bc897302afcc40aee2bbce75a156a0d61883ff55 Change-Id: Ie2d0f32e248a20c26e8251195614d8df751c99ae
* | Turn off IP2.Stephen Hines2012-12-131-1/+2
| | | | | | | | Change-Id: I1d45b0077c1a57c74e36fa8df45428b06a454253
* | Merge "Compatibility lib changes for IP2."Stephen Hines2012-12-121-0/+1
|\ \
| * | Compatibility lib changes for IP2.Stephen Hines2012-12-111-0/+1
| |/ | | | | | | | | Bug: 7419958 Change-Id: Ibd62c06b60875e17d232e27f1845ce0ffafff834
* | Merge "Minor cleanup of a few RS filter ports."Jason Sams2012-12-115-34/+25
|\ \
| * | Minor cleanup of a few RS filter ports.Jason Sams2012-12-115-34/+25
| |/ | | | | | | | | | | | | | | on Manta these reduce the times from Contrast: 180ms to 21ms Exposure: 177ms to 19ms Change-Id: I1224ecaeaee22dc49069383e2f000a193c331b4c
* | Test bounds on rsForEach calls.Stephen Hines2012-12-103-0/+135
|/ | | | Change-Id: I1dedfda90200bac984b552d52e1ac26523085357
* Merge "add filters from Gallery to ImageProcessing"Tim Murray2012-12-0613-1/+781
|\
| * add filters from Gallery to ImageProcessingTim Murray2012-12-0613-1/+781
| | | | | | | | Change-Id: Iaf90f4a9468adde4bc8d94ec3ceed41846f424d0
* | Merge "Fix app bug related to same input/output bitmap."Stephen Hines2012-12-062-3/+3
|\ \
| * | Fix app bug related to same input/output bitmap.Stephen Hines2012-12-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to our new bitmap storage optimization, we can't reuse the same bitmap as input and output safely (since we modify the output directly). This change updates ImageProcessing to appropriately create a distinct output Bitmap Allocation and actually use it. Change-Id: Iecf6c2d203bd1c370b8d0a9fb7e69b419d2eb69b