mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 12:20:47 -05:00
shaped-texture: Move private function to private header
meta_shaped_texture_update_area() is a private function that is exposed in the public headers. It is not used anywhere outside Mutter, and should really be in the private header. Move it to the private header. https://gitlab.gnome.org/GNOME/mutter/merge_requests/409
This commit is contained in:
parent
4c1fde9deb
commit
6b35a4901e
@ -54,4 +54,11 @@ void meta_shaped_texture_set_buffer_scale (MetaShapedTexture *stex,
|
|||||||
int buffer_scale);
|
int buffer_scale);
|
||||||
int meta_shaped_texture_get_buffer_scale (MetaShapedTexture *stex);
|
int meta_shaped_texture_get_buffer_scale (MetaShapedTexture *stex);
|
||||||
|
|
||||||
|
gboolean meta_shaped_texture_update_area (MetaShapedTexture *stex,
|
||||||
|
int x,
|
||||||
|
int y,
|
||||||
|
int width,
|
||||||
|
int height,
|
||||||
|
cairo_rectangle_int_t *clip);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -44,14 +44,6 @@ META_EXPORT
|
|||||||
void meta_shaped_texture_set_create_mipmaps (MetaShapedTexture *stex,
|
void meta_shaped_texture_set_create_mipmaps (MetaShapedTexture *stex,
|
||||||
gboolean create_mipmaps);
|
gboolean create_mipmaps);
|
||||||
|
|
||||||
META_EXPORT
|
|
||||||
gboolean meta_shaped_texture_update_area (MetaShapedTexture *stex,
|
|
||||||
int x,
|
|
||||||
int y,
|
|
||||||
int width,
|
|
||||||
int height,
|
|
||||||
cairo_rectangle_int_t *clip);
|
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
CoglTexture * meta_shaped_texture_get_texture (MetaShapedTexture *stex);
|
CoglTexture * meta_shaped_texture_get_texture (MetaShapedTexture *stex);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user