• Georges Basile Stavracas Neto's avatar
    clutter/image: Also invalidate size · 25f36b38
    Georges Basile Stavracas Neto authored
    ClutterImage is a ClutterContent implementation that
    has an internally managed CoglTexture. This texture
    is recreated when new image data is set.
    
    ClutterContent implementations may have control over
    the allocation of the widgets they're attached to,
    through CLUTTER_REQUEST_CONTENT_SIZE. On those cases,
    if the new image data differs in size from the previous
    data, it is important to notify those actors about the
    size change. However, currently ClutterImage does not
    notify them.
    
    With the introduction of clutter_content_invalidate_size(),
    it is possible to report the size changes to attached
    actors.
    
    Adapt ClutterImage to invalidate_size() when image data
    has different sizes.
    
    !405
    25f36b38
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
config.h.meson Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mutter.doap Loading commit data...