offload: Drop unused api

This commit is contained in:
Matthias Clasen 2023-11-18 02:03:34 -05:00
parent c57245b73c
commit ef6ed31853
2 changed files with 0 additions and 30 deletions

View File

@ -651,27 +651,3 @@ gsk_offload_get_subsurface_info (GskOffload *self,
{
return find_subsurface_info (self, subsurface);
}
gboolean
gsk_offload_subsurface_was_offloaded (GskOffload *self,
GdkSubsurface *subsurface)
{
GskOffloadInfo *info = find_subsurface_info (self, subsurface);
if (!info)
return FALSE;
return info->was_offloaded;
}
gboolean
gsk_offload_subsurface_is_offloaded (GskOffload *self,
GdkSubsurface *subsurface)
{
GskOffloadInfo *info = find_subsurface_info (self, subsurface);
if (!info)
return FALSE;
return info->is_offloaded;
}

View File

@ -48,9 +48,3 @@ void gsk_offload_free (GskOffload *self);
GskOffloadInfo * gsk_offload_get_subsurface_info (GskOffload *self,
GdkSubsurface *subsurface);
gboolean gsk_offload_subsurface_was_offloaded (GskOffload *self,
GdkSubsurface *subsurface);
gboolean gsk_offload_subsurface_is_offloaded (GskOffload *self,
GdkSubsurface *subsurface);