History log of /frameworks/base/libs/hwui/ClipArea.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
04d46eb69fb4f4c4c332c36c6ae845da3b2ae848 07-Apr-2016 Chris Craik <ccraik@google.com> Support replace op in new pipeline


Change-Id: Ie48d2da30f5e9d9abe88a5cd973dfb26e38abf63
02806288d1c56475413888a934c796e6e4eb11c5 12-Mar-2016 Chris Craik <ccraik@google.com> Fix flickering when layers resize in-place

Change-Id: Ia11c93ebc1097f3735071204b6f14ca079bb9fc4
e4db79de127cfe961195f52907af8451026eaa20 23-Dec-2015 Chris Craik <ccraik@google.com> Stencil support in new recorder/reorderer


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

Change-Id: I8d10c7f1d2769ab5756774ca672344cc09901f87
a2a70723b8cbda4354d23f901f995623e819012c 17-Dec-2015 Chris Craik <ccraik@google.com> Simplify ClipArea to prefer Rect args

Change-Id: I8af83d01dc5dd8009a0cd235dd8b59dab61d8560
ac02eb9035a13a3d09c2def9ed63d04225eb2509 05-Oct-2015 Chris Craik <ccraik@google.com> Remove confusing behavior of Rect::intersect() and rename


Removes silly 'do nothing if rects do not intersect' behavior, and
changes the name to clarify the difference (contrasting against


Change-Id: Id2ca1cfea1a9d720d4dc70b251f426d9916f8b53
4d3e704b04c6abd7995df640d12662b0271f6c7b 20-Aug-2015 Chris Craik <ccraik@google.com> Remove return values from clipping operations


Also switch mode to enum class

Change-Id: Iabb38634c01f2e3203b1b715967d8828d95da190
8ce8f3f4d68a7750bc02b5254ebbd8658281e675 16-Jul-2015 Chris Craik <ccraik@google.com> Fix clip area behavior for REPLACE op


Work around clippath-clipped-to-view-bounds behavior by
implementing REPLACE op fast path, avoiding the transition to

Change-Id: I63c1cf961db2d6e3759d83914de1036c9ac7497a
e30b53cec5eb6eaa5d24231feb3207b917c1baab 30-Mar-2015 Tom Hudson <tomhudson@google.com> Enter RectangleMode when the clip region is a rectangle

ClipArea's region mode implementation store the region's boundary in
a rectangle, and if the region is that rectangle, set its region to
empty. This is a bug, since as long as the ClipArea is in region
mode it treats its region as determinitive. When the next clipping
operation comes in, it is tested against the empty region instead of
against the valid rect.

Discovered via Skia GM testing.

Change-Id: I3bbc4e81c8d68636061f830156e017e9b5c7e587
487a92caef2eb90a62e8f8d7a6fe6315f1c1d8d8 06-Jan-2015 Rob Tsuk <robtsuk@google.com> Clipping performance improvements

Create a ClipArea class to handle tracking clip regions. This class can
select the most efficient implementation depending on the types of
clipping presented.

ClipArea re-used the rectangle and region-based clipping
implementations as well as adding a "list of rotated rectangles"
approach that is more efficient for rotated views with children.

Change-Id: I2133761a2462ebc0852b394220e265974b3086f0