77ec8774a0
Revert all the work that happened on the master branch.
Sadly, this is the only way to merge the current development branch back
into master.
It is now abundantly clear that I merged the 1.99 branch far too soon,
and that Clutter 2.0 won't happen any time soon, if at all.
Since having the development happen on a separate branch throws a lot of
people into confusion, let's undo the clutter-1.99 → master merge, and
move back the development of Clutter to the master branch.
In order to do so, we need to do some surgery to the Git repository.
First, we do a massive revert in a single commit of all that happened
since the switch to 1.99 and the API version bump done with the
89a2862b05
commit. The history is too long
to be reverted commit by commit without being extremely messy.
139 lines
8.5 KiB
C
139 lines
8.5 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* Authored By Matthew Allum <mallum@openedhand.com>
|
|
*
|
|
* Copyright (C) 2006 OpenedHand
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
|
#error "Only <clutter/clutter.h> can be included directly."
|
|
#endif
|
|
|
|
#ifndef __CLUTTER_TEXTURE_DEPRECATED_H__
|
|
#define __CLUTTER_TEXTURE_DEPRECATED_H__
|
|
|
|
#include <clutter/clutter-texture.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_image_new)
|
|
ClutterActor * clutter_texture_new (void);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
ClutterActor * clutter_texture_new_from_file (const gchar *filename,
|
|
GError **error);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gboolean clutter_texture_set_from_file (ClutterTexture *texture,
|
|
const gchar *filename,
|
|
GError **error);
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_image_set_data)
|
|
gboolean clutter_texture_set_from_rgb_data (ClutterTexture *texture,
|
|
const guchar *data,
|
|
gboolean has_alpha,
|
|
gint width,
|
|
gint height,
|
|
gint rowstride,
|
|
gint bpp,
|
|
ClutterTextureFlags flags,
|
|
GError **error);
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_image_set_area)
|
|
gboolean clutter_texture_set_area_from_rgb_data (ClutterTexture *texture,
|
|
const guchar *data,
|
|
gboolean has_alpha,
|
|
gint x,
|
|
gint y,
|
|
gint width,
|
|
gint height,
|
|
gint rowstride,
|
|
gint bpp,
|
|
ClutterTextureFlags flags,
|
|
GError **error);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_get_base_size (ClutterTexture *texture,
|
|
gint *width,
|
|
gint *height);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_filter_quality (ClutterTexture *texture,
|
|
ClutterTextureQuality filter_quality);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
ClutterTextureQuality clutter_texture_get_filter_quality (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
CoglHandle clutter_texture_get_cogl_texture (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_cogl_texture (ClutterTexture *texture,
|
|
CoglHandle cogl_tex);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
CoglHandle clutter_texture_get_cogl_material (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_cogl_material (ClutterTexture *texture,
|
|
CoglHandle cogl_material);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_sync_size (ClutterTexture *texture,
|
|
gboolean sync_size);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gboolean clutter_texture_get_sync_size (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_repeat (ClutterTexture *texture,
|
|
gboolean repeat_x,
|
|
gboolean repeat_y);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_get_repeat (ClutterTexture *texture,
|
|
gboolean *repeat_x,
|
|
gboolean *repeat_y);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
CoglPixelFormat clutter_texture_get_pixel_format (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gint clutter_texture_get_max_tile_waste (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_keep_aspect_ratio (ClutterTexture *texture,
|
|
gboolean keep_aspect);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gboolean clutter_texture_get_keep_aspect_ratio (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_load_async (ClutterTexture *texture,
|
|
gboolean load_async);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gboolean clutter_texture_get_load_async (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_load_data_async (ClutterTexture *texture,
|
|
gboolean load_async);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gboolean clutter_texture_get_load_data_async (ClutterTexture *texture);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
void clutter_texture_set_pick_with_alpha (ClutterTexture *texture,
|
|
gboolean pick_with_alpha);
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
gboolean clutter_texture_get_pick_with_alpha (ClutterTexture *texture);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_8_FOR(ClutterOffscreenEffect)
|
|
ClutterActor * clutter_texture_new_from_actor (ClutterActor *actor);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
|
gboolean clutter_texture_set_from_yuv_data (ClutterTexture *texture,
|
|
const guchar *data,
|
|
gint width,
|
|
gint height,
|
|
ClutterTextureFlags flags,
|
|
GError **error);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __CLUTTER_TEXTURE_DEPRECATED_H__ */
|