summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
AgeCommit message (Collapse)Author
2017-08-08Revert "Switch default renderer to Skia's OpenGL pipeline."Derek Sollenberger
This reverts commit 312a3a0c28c8e899ff60883fa388c3919ea3b72b. Fixes: 64478761 Change-Id: I8caf95ead1b339447768b5e360a6d0b9705477de
2017-08-07Switch default renderer to Skia's OpenGL pipeline.Derek Sollenberger
Bug: 63910712 Test: CtsGraphicsTestCases, CtsUiRenderingTestCases Change-Id: I901c236cfb5bfadcb59c449a76699479625944f9
2017-07-19Delete all ro.hwui.* propsJohn Reck
Remove all ro.hwui.* tuning props and instead calculate them from the screen resolution. Or just hardcode them to what all devices were hardcoding them to anyway. Bug: 63741221 Test: Check cache size results on sailfish Change-Id: I8b0d210572a246f4fefb076935cf5156a70c274c
2017-06-14Add a workaround for simulate secondary displayJohn Reck
To workaround a deadlock caused by bufferqueue locks we force RenderThread over to use async mode which we enable via eglSwapInterval(0) Bug: 38372997 Test: steps in the bug Change-Id: Ia305f73abbdd64ab0c25d1f7d32792cc6295a0ce
2017-02-23Log rendering pipeline when initializingChris Craik
Test: manual, boots Change-Id: I6e544510053ecf2b397ac998bcc7be9c00295a7d
2017-02-14Add developer setting to set the default GPU renderer.Derek Sollenberger
Test: manual on-device testing Bug: 35345959 Change-Id: I1d846f922a048dd215caf053b10aaa909bdbc74d
2017-01-18Merge "Update hwui_unit_tests to support running with Vulkan backend."Greg Daniel
2017-01-18Update hwui_unit_tests to support running with Vulkan backend.Greg Daniel
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
2017-01-12resolve merge conflicts of ec7e2a164c37 to masterMark Salyzyn
Test: compile Bug: 26552300 Bug: 31289077 Change-Id: I49c6e41b79061e2b3c0352e3ac8fa5ebb152b6f5
2017-01-11Replace cutils/log.h and log/logger.h with android/log.h or log/log.hMark Salyzyn
(part deux) Test: compile Bug: 26552300 Bug: 31289077 Change-Id: I7417936c4d3666608fccfe51a312c90ecefba2fb
2017-01-11resolve merge conflicts of 082a1721b516 to masterMark Salyzyn
Test: compile Bug: 26552300 Bug: 31289077 Change-Id: I17f178f425975c1c0dbd48091d25b101956d505e
2017-01-09Replace cutils/log.h and log/logger.h with log/log.hMark Salyzyn
Test: compile Bug: 26552300 Bug: 31289077 Change-Id: I578b15b48f0fc2807a92abbc69a377c3d2191496
2016-10-05Initial refactoring to enable the addition of the SkiaOpenGLPipeline.Derek Sollenberger
Test: existing and new HWUI unit tests all pass. Change-Id: I4f5c1dc839a2ed15d8b0f6245fe030684501b083
2016-07-11Move isSkiaEnabled to the Properties classStan Iliev
Move CanvasContext::isSkiaEnabled to Properties:isSkiaEnabled. Change-Id: I0a62f43825cf59ba338a24a056e8c2a56d1c5315
2016-07-07Implement runtime switch to select default renderer modeStan Iliev
Add a system property debug.hwui.default_renderer, which allows to set rendering mode to OpenGL (default), Skia OpenGL or Vulkan. Change-Id: I8bca5bacc5108f77437e340ac61f2d8db8cc4c39
2016-07-06Benchmark-mode for macrobenchJohn Reck
Adds googlebench output format support Adds offscreen rendering for >60fps benchmarking Adds 'all' alias to run all registered TestScenes Change-Id: I2579e40f2f4c941bfbd90c75efbee384c08a116b
2016-03-30Add an option to try and filter out test overheadJohn Reck
Bug: 26912651 By setting debug.hwui.filter_test_overhead to true, hwui's janktracker will attempt to filter out overhead caused by the event injection that automated testing uses Change-Id: I75c8dc5e7798e06e3009baf396108507c7240eec
2016-02-05Move several property queries to Properties classChris Craik
bug:17478770 This removes a lot of redundant property query code, and puts the queries all in one place, so defining them automatically will be simpler in the future. Change-Id: I0428550e6081f07bc6554ffdf73b22284325abb8
2015-12-16Add some options to macrobenchJohn Reck
Change-Id: If8d5f5d3ace050577986a554182b2b66fd2257e1
2015-11-12Recycle OffscreenBuffersChris Craik
Change-Id: Ia2e219026f211a5308ecf8209c5f986bb888aadd
2015-11-03Remove almost-all android::Singleton usersJohn Reck
Bug: 25426213 Change-Id: I88e6206e8915cce95c3a8a8a82a4bb8fbf668141
2015-10-22Remove obsolete debug optionJohn Reck
Bug: 25149700 Change-Id: I9280e2414255fb01e672094cd8d173efadac1681
2015-09-22Remove lookup3 gamma codeChris Craik
Also clean up gamma / glyph cache properties Change-Id: I75b1ac0cb55638bf787ffd3cf457483ae314f03b
2015-08-12Support new EGL extensionsJohn Reck
Bug: 21753739 Includes a revert of 13d1b4ab10fbee5e81a2ba1ac59cfae1e51d3ef0 as that only supported EGL_EXT_buffer_age Change-Id: Ia86a47d19e3355c067934d7764c330b640c6958d
2015-07-07Remove all usage of fmin and fmaxChris Craik
bug:22208220 Removes needless call, and upconversion to doubles in multiple places. Change-Id: I1b949fa5f206446ac34de800154c0147d6bd8034
2015-05-27Enable swapBuffersWithDamage by defaultJohn Reck
Bug: 20761426 Change-Id: I520e60ca4f182dea590bc86eebd522e1db7a018a
2015-05-08Add eglSwapBuffersWithDamageKHR supportJohn Reck
BUG: 20761426 Disabled temporarily Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
2015-05-05Cleanup propertiesChris Craik
bug:19967854 Separate properties from Caches, into static, RenderThread-only class. Also rewrites the means for java to set properties to correctly handle threading, and adds an override for profile bars so that SysUi doesn't clutter the screen with them. Change-Id: I6e21a96065f52b9ecc49d1a126244804ba106fa9