History log of /frameworks/base/libs/hwui/BakedOpState.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
49b403dc9c47ada51c8e5b883347682a868515f8 06-Mar-2017 Chris Craik <ccraik@google.com> Workaround arc textures drawing outside of bounds

Fixes: 34077513
Test: hwui unit tests passing

This fixes an issue where drawArc operations would cause artifacts by
drawing outside of the clip / screen damage area. We now more
conservatively clip drawArc operations specifically, as they tend to
draw into the outer parts of their path textures more than other
operations.

A more long term fix would involve alignment between draw operation
sizing (in terms of what's resolved in a BakedOpState), and
PathTexture sizing (which currently conservatively expands beyond
stroked op bounds).

Change-Id: I5aff39cc04382323b457b159974032f5f371251a
/frameworks/base/libs/hwui/BakedOpState.cpp
04d46eb69fb4f4c4c332c36c6ae845da3b2ae848 07-Apr-2016 Chris Craik <ccraik@google.com> Support replace op in new pipeline

bug:26562461

Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63
/frameworks/base/libs/hwui/BakedOpState.cpp
80d2ade939153da87b3cd3b0a69a713bf68b64ba 28-Mar-2016 Chris Craik <ccraik@google.com> Overdraw avoidance in new pipeline

bug:27873093

Adds the simple overdraw avoidance optimization to the new
pipeline. This means when LayerBuilder defers draws that are opaque over
the full area of the repaint region, it will discard all drawing content
beneth.

Also moves a lot of complexity out of BakedOpState's header.

Change-Id: Iffca6d8e1b170ef31a5d6c83d25592670e02323d
/frameworks/base/libs/hwui/BakedOpState.cpp
4c3980b6e43cc7c0541f54b8e7e2d9d6108be622 15-Mar-2016 Chris Craik <ccraik@google.com> Handle unbounded drawPaint/drawGLFunction operations safely

bug:26591194

Also, revert to using current clip bounds as drawColor/drawPaint bounds
for simplicity in new pipeline.

Change-Id: I1a6b3f9716b564b46df41d57dfe14475fdd24de0
/frameworks/base/libs/hwui/BakedOpState.cpp
678ff81105753656aa4822f4f675ef96dc9d2b83 01-Mar-2016 Chris Craik <ccraik@google.com> Clip projected ripples to outlines

bug:27343928

Also fixes positioning of ripples to a scrolled projection receiver.

Change-Id: I74b7233c46d7c15839ca8bf50e188ba6646d7432
/frameworks/base/libs/hwui/BakedOpState.cpp
4876de16e34622634266d09522c9153c78c7c2fb 26-Feb-2016 Chris Craik <ccraik@google.com> Properly reject empty unclipped savelayers

bug:27225580
bug:27281241

Empty unclipped savelayers (clipped at defer time, often by dirty rect)
were resulting in invalid layer clear rectangles. Simplify by just
rejecting these unclipped savelayers entirely at defer.

Also, use repaint rect as base clip for constructed ops within
LayerBuilder.

Change-Id: I5c466199e85201a2f68f5cdc60b29187c849961b
/frameworks/base/libs/hwui/BakedOpState.cpp
6e068c0182f6f85bccb855a647510724d1c65a13 16-Jan-2016 Chris Craik <ccraik@google.com> Early kickoff of shadow tasks

bug:26562703

Change-Id: I7cdf18f2c662380bd31c7ffeefd5c3f569e5c1c6
/frameworks/base/libs/hwui/BakedOpState.cpp
420d655950447f508bbc88e072337d6539f1c5d1 13-Jan-2016 Chris Craik <ccraik@google.com> Fix shadow bounds calculation

Change-Id: I78b6aa91d62c3c4838ffc80b380604c7863e8467
/frameworks/base/libs/hwui/BakedOpState.cpp
15f046866cb650d78f55d03327cfa4a474fc9471 12-Jan-2016 Chris Craik <ccraik@google.com> Fix clip serialization crash

Can't safely rewind clip allocations, since those pointers are cached by
ClipArea. Instead add early rejection to handle most cases, and update
tests.

Change-Id: Ic32f95cf95602f427f25761a8da1583c4495f36d
/frameworks/base/libs/hwui/BakedOpState.cpp
7435eb148e72382126e9073183e881357bb38a8b 08-Jan-2016 Chris Craik <ccraik@google.com> Unclipped savelayer support in new renderer

bug:22480459

Change-Id: I89dd5de8d7d008a1e298d227d767aabff5c96e27
/frameworks/base/libs/hwui/BakedOpState.cpp
b87eadda1818034ce03d85f30388384d1ac65916 06-Jan-2016 Chris Craik <ccraik@google.com> Partial unclipped save layer support

Not yet implemented in renderer.

Change-Id: I491ec6e7886bfa313d1db71dd5981690d45b78a9
/frameworks/base/libs/hwui/BakedOpState.cpp
e4db79de127cfe961195f52907af8451026eaa20 23-Dec-2015 Chris Craik <ccraik@google.com> Stencil support in new recorder/reorderer

bug:22480459
bug:26358504

Adds complex (non-rectangular) clipping support, and overdraw
visualization. Doesn't support stencil clipping in layers.

Change-Id: I8d10c7f1d2769ab5756774ca672344cc09901f87
/frameworks/base/libs/hwui/BakedOpState.cpp