History log of /frameworks/base/libs/hwui/tests/unit/CanvasContextTests.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2de950d5a8b47c7b4648ada1b1260ce4b7342798 25-Jan-2017 John Reck <jreck@google.com> Overhaul RenderNode's DisplayList management

* Move mValid to native
* Have destroyHardwareResources destroy everything
* Remove flaky mParentCount checks in setStaging
* All tree updates have an internal observer to
ensure onRemovedFromTree() is a reliable signal
* onRemovedFromTree() immediately releases resources
to avoid displaylist "leaks"

Test: Unit tests for validity added & pass, manually
verified that b/34072929 doesn't repro

Bug: 34072929

Change-Id: I856534b4ed1b7f009fc4b7cd13209b97fa42a71c
/frameworks/base/libs/hwui/tests/unit/CanvasContextTests.cpp
98c78dad1969e2321cfee2085faa55d95bba7e29 04-Jan-2017 Greg Daniel <egdaniel@google.com> Update hwui_unit_tests to support running with Vulkan backend.

Added Macros for RENDERTHREAD_TESTS which run these tests using specific backends.
RENDERTHREAD_TESTS - Runs OpenGL, SkiaGL, and SkiaVulkan
RENDERTHREAD_SKIA_TESTS - Runs SkiaGL and SkiaVulkan
RENDERTHREAD_OPENGL_TESTS - Runs OpenGL

Test: manual running of hwui_unit_tests

Change-Id: Ia7420ee7a38803a15e2d58394d14b38cae8208d3
/frameworks/base/libs/hwui/tests/unit/CanvasContextTests.cpp
835b3a69c345d2b58a0774daeb2e717a8a878059 28-Oct-2016 Derek Sollenberger <djsollen@google.com> Refactor mock Functors into a common TestUtils class.

Test: refactor. existing tests still pass
Change-Id: I55258487c371869a5b91dd2dcf6bf7bd47ac1a35
/frameworks/base/libs/hwui/tests/unit/CanvasContextTests.cpp
5ef78a895b8a168b2f4dfb28bfdde984f8cc3684 28-Oct-2016 Derek Sollenberger <djsollen@google.com> Fix test breakage due to naming collision in the linker.

Test: hwui_unit_tests in question now run successfully.
Change-Id: If99865cd1cfa5c819338d062f5685700380a60a6
/frameworks/base/libs/hwui/tests/unit/CanvasContextTests.cpp
daf7229047c44947b9b02ee187fe5b13f30ebd4b 25-Oct-2016 Derek Sollenberger <djsollen@google.com> Move OpenGL specific details behind renderPipeline interface.

Test: new and existing unit tests still pass.
Change-Id: I6164f30f45ebe450788ed8d949eca5af9a44e585
/frameworks/base/libs/hwui/tests/unit/CanvasContextTests.cpp