Page MenuHomePhabricator

evas: add 'clipper_is_static' property for canvas objects
Needs ReviewPublic

Authored by zmike on Mon, May 13, 9:24 AM.

Details

Reviewers
Hermet
Summary

this provides a hint for rendering that the clipper is not going to resize
for as long as the flag is set and allows for some optimizations to
be made during rendering based on this knowledge

@feature

Diff Detail

Repository
rEFL core/efl
Branch
master
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 11388
zmike created this revision.Mon, May 13, 9:24 AM
zmike requested review of this revision.Mon, May 13, 9:24 AM
YOhoho added a subscriber: YOhoho.Wed, May 15, 9:24 PM
YOhoho added inline comments.
src/lib/evas/include/evas_private.h
1176

We already have is_static_clip property and evas_object_static_clip_set/get legacy APIs.
What do you think to use this?

zmike added inline comments.Thu, May 16, 6:43 AM
src/lib/evas/include/evas_private.h
1176

Oh I forgot about this. The legacy static clipper is conceptually different, as that is for a clipper which can be resized but not moved. This patch is for a clipper which can be moved but not resized.