summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_object.eo
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-13 12:14:00 -0400
committerCedric BAIL <cedric.bail@free.fr>2019-08-08 18:32:23 -0700
commit0f5854708527365ab248990b385f65e2f7ab6160 (patch)
tree501f19decd973d609353c7ddca63090d15975c9d /src/lib/evas/canvas/efl_canvas_object.eo
parent9149767184bfa9b64102eaea89f6733351de71e9 (diff)
evas: add 'has_fixed_size' property for canvas objects
this provides a hint for rendering that the object 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 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8887
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_object.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 7660b73..6062458 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -138,6 +138,23 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
138 clipper: Efl.Canvas.Object; [[The object to clip $obj by.]] 138 clipper: Efl.Canvas.Object; [[The object to clip $obj by.]]
139 } 139 }
140 } 140 }
141 @property has_fixed_size @beta {
142 [[A hint for an object that its size will not change.
143
144 When this flag is set, various optimizations may be employed by the
145 renderer based on the fixed size of the object.
146
147 It is a user error to change the size of an object while this flag
148 is set.
149
150 @since 1.23
151 ]]
152 set {}
153 get {}
154 values {
155 enable: bool; [[Whether the object size is known to be static.]]
156 }
157 }
141 @property repeat_events { 158 @property repeat_events {
142 set { 159 set {
143 [[Set whether an Evas object is to repeat events. 160 [[Set whether an Evas object is to repeat events.