summaryrefslogtreecommitdiffstats
path: root/libs/hwui/StatefulBaseRenderer.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Frameworks/base: Unused parameters in hwui"John Reck2014-11-221-2/+1
| | | | | | This reverts commit 42ddc18d108f789705ad4eb697ce9599ad322507. Change-Id: I3574a936a39a96314db6437d0a1eb58d260d893d
* Frameworks/base: Unused parameters in hwuiAndreas Gampe2014-11-211-1/+2
| | | | | | | | | Remove Clang cutout for unused parameters. Fix warnings. Remove Clang cutout for deprecated Skia function usage. Has been fixed in the L push. Change-Id: I7ea073ff67127cc1e14e798b655e2c50615fe8e7
* Prioritize reveal clipping over Outline clippingChris Craik2014-09-041-1/+1
| | | | | | | | | | bug:15780987 bug:17350602 Also update docs around clipping nesting behavior, and some Z ordering behavior. Change-Id: Iaa204350a0adfdcbd8c4b821fb4a9c0ae22f2613
* Update transform isolation to handle command chunksChris Craik2014-08-271-5/+4
| | | | | | | | | | bug:15570351 Prevent drawing transformations on a ViewGroup's canvas from directly affecting the transformation of the children through the renderer, since it's already baked into mTransformFromParent at record time. Change-Id: I6310a2260dfe4def0bde1fd2c5b93791a645d586
* Define shadow casting behavior within layersChris Craik2014-08-151-1/+2
| | | | | | | | | | | | bug:15860114 Savelayers and HW layers both now support shadow casting. For save layers, the light source should always be correct, for HW layers, the light source position is set when the layer is created, and updated when it is resized. Change-Id: Ie85567dd43c2bb0a0b08fd0bd4db41efa793ac2b
* Use RoundRect clipping for circle reveal animationChris Craik2014-07-301-0/+2
| | | | | | | | bug:16630975 Also, remove inverse clipping feature from reveal animator. Change-Id: I770a4eb48cd123b0ca0f39d16a0f3eefd1be3653
* Connect shadow style attributes to rendererChris Craik2014-07-241-5/+0
| | | | | | | | | bug:15859361 Moves lighting info out of StatefulBaseRenderer, since it's not useful at record time, and only used by OGLR. Change-Id: I7ab065d02d9304afad1dc4c48597a7a621366f8e
* am b1c76a1a: Merge "Tessellate on worker threads" into lmp-preview-devChris Craik2014-06-101-0/+1
|\ | | | | | | | | * commit 'b1c76a1abcfb2f33e12fef37ec71d20724863b5e': Tessellate on worker threads
| * Tessellate on worker threadsChris Craik2014-06-101-0/+1
| | | | | | | | | | | | Tessellate and cache (where possible) shadow and round rect tessellation tasks. Change-Id: I2cfda8e11d83d51ea74af871235cf26e8f831d40
* | Update HWUI matrix APIDerek Sollenberger2014-05-291-2/+2
|/ | | | | | | 1. more closely mirror Skia API by using const ref instead of ptrs 2. store SkMatrix in the drawOp instead of the linear allocation heap Change-Id: I4b9f6f76b9f7d19325e29303d27b793679fd4823
* Define light position (using new lighting spec) in JavaChris Craik2014-05-211-3/+9
| | | | | | Also updates the relative shadow strengths. Change-Id: I6cac7275d38df98aea9f0dda463cd7207102986a
* Round rect outline clippingChris Craik2014-05-151-1/+9
| | | | Change-Id: Iee9cf4f719f6f1917507b69189ad114fa365917b
* Combine projection matrix, and viewport managementChris Craik2014-05-141-0/+5
| | | | | | | Merge management of ortho projection matrix with the viewport size, since they should always be changed together. Change-Id: Iccb8f30828f4fb7848999ac54852e7ed2d6f2eb1
* Clip TouchFeedbackDrawable effect to receiver OutlineChris Craik2014-04-231-1/+4
| | | | | | | | Projected RenderNodes are now wrapped with a ClipRect or masked SaveLayer, so that they are clipped to the outline of the projection receiver surface. Change-Id: I1d4afc1bb5d638d650bc0b1dac51a498f216773e
* Use const where possible for drawing parametersChris Craik2014-01-031-4/+4
| | | | | | They should never be modified by a Renderer, only read and copied. Change-Id: I9d8d55dca19115ee9dfeb2bb3f092ba2fb327cd4
* Use const access to snapshot from OpenGLRendererChris Craik2014-01-021-20/+33
| | | | | | Additionally, move clipping methods to StatefulBaseRenderer Change-Id: Iff232bf16fc1ad3b7d89493da6d8915db7bc5e4f
* Move Snapshot management to intermediate StatefulBaseRenderer classChris Craik2014-01-011-0/+137
The eventual goal is for the StatefulBaseRenderer to serve as the common base class between the DisplayListRenderer and OpenGLRenderer. This will separate DisplayList recording, Snapshot stack management, and the GL in OpenGLRenderer. Additionally, avoid sp<> parameters, and use const parameters in several places, with the intent of greatly reducing the surface area where renderer subclasses can modify snapshot stack. Next steps: -move bulk of clipping logic into StatefulBaseRenderer -disable direct snapshot access Change-Id: Ibc3c6747134ec7daf8ea535866239fa73b874390