[cogl] Removed legacy cogl-fixed 1.x api
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] Removed legacy cogl-fixed 1.x api
- Date: Mon, 16 Apr 2012 11:23:27 +0000 (UTC)
commit ac0c72ab281815a1648b481fad16e429c657ed18
Author: Robert Bragg <robert linux intel com>
Date: Fri Apr 13 17:16:29 2012 +0100
Removed legacy cogl-fixed 1.x api
We haven't really used the cogl fixed point api for a very long time so
for now we are simply going to remove it for 2.0.
Reviewed-by: Neil Roberts <neil linux intel com>
cogl/Makefile.am | 2 -
cogl/cogl-color.c | 1 -
cogl/cogl-fixed.c | 1097 --------------------------------
cogl/cogl-fixed.h | 804 -----------------------
cogl/cogl-types.h | 11 -
cogl/cogl.h | 1 -
cogl/cogl.symbols | 12 +-
doc/reference/cogl2/cogl2-sections.txt | 1 -
8 files changed, 1 insertions(+), 1928 deletions(-)
---
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index cc55ce1..e86135a 100644
--- a/cogl/Makefile.am
+++ b/cogl/Makefile.am
@@ -51,7 +51,6 @@ cogl_1_public_h = \
$(srcdir)/cogl1-context.h \
$(srcdir)/cogl-bitmap.h \
$(srcdir)/cogl-color.h \
- $(srcdir)/cogl-fixed.h \
$(srcdir)/cogl-material-compat.h \
$(srcdir)/cogl-matrix.h \
$(srcdir)/cogl-offscreen.h \
@@ -216,7 +215,6 @@ cogl_sources_c = \
$(srcdir)/cogl2-compatibility.c \
$(srcdir)/cogl-feature-private.h \
$(srcdir)/cogl-feature-private.c \
- $(srcdir)/cogl-fixed.c \
$(srcdir)/cogl-color-private.h \
$(srcdir)/cogl-color.c \
$(srcdir)/cogl-buffer-private.h \
diff --git a/cogl/cogl-color.c b/cogl/cogl-color.c
index 9359f44..0182035 100644
--- a/cogl/cogl-color.c
+++ b/cogl/cogl-color.c
@@ -29,7 +29,6 @@
#include "cogl-util.h"
#include "cogl-color.h"
-#include "cogl-fixed.h"
#include "cogl-color-private.h"
CoglColor *
diff --git a/cogl/cogl-types.h b/cogl/cogl-types.h
index 92c5e9a..b7ce618 100644
--- a/cogl/cogl-types.h
+++ b/cogl/cogl-types.h
@@ -138,17 +138,6 @@ typedef struct _CoglQuaternion CoglQuaternion;
typedef struct _CoglEuler CoglEuler;
/**
- * CoglFixed:
- *
- * Fixed point number using a (16.16) notation.
- */
-typedef gint32 CoglFixed;
-
-#define COGL_TYPE_FIXED (cogl_fixed_get_type ())
-GType
-cogl_fixed_get_type (void) G_GNUC_CONST;
-
-/**
* CoglAngle:
*
* Integer representation of an angle such that 1024 corresponds to
diff --git a/cogl/cogl.h b/cogl/cogl.h
index 85e17b3..b756f46 100644
--- a/cogl/cogl.h
+++ b/cogl/cogl.h
@@ -69,7 +69,6 @@
#include <cogl/cogl-clip-state.h>
#include <cogl/cogl-vertex-buffer.h>
#include <cogl/cogl-enum-types.h>
-#include <cogl/cogl-fixed.h>
#include <cogl/cogl-material-compat.h>
#include <cogl/cogl-shader.h>
#endif
diff --git a/cogl/cogl.symbols b/cogl/cogl.symbols
index c0017f3..14da1d1 100644
--- a/cogl/cogl.symbols
+++ b/cogl/cogl.symbols
@@ -199,16 +199,6 @@ cogl_euler_init_from_quaternion
cogl_features_available
cogl_feature_flags_get_type
-cogl_fixed_atan
-cogl_fixed_atan2
-cogl_fixed_cos
-cogl_fixed_get_type
-cogl_fixed_log2
-cogl_fixed_pow
-cogl_fixed_pow2
-cogl_fixed_sin
-cogl_fixed_sqrt
-cogl_fixed_tan
cogl_fog_mode_get_type
@@ -893,4 +883,4 @@ _cogl_texture_set_filters
_cogl_texture_set_wrap_mode_parameters
_cogl_texture_transform_coords_to_gl
_cogl_texture_transform_quad_coords_to_gl
-#endif
\ No newline at end of file
+#endif
diff --git a/doc/reference/cogl2/cogl2-sections.txt b/doc/reference/cogl2/cogl2-sections.txt
index ade861d..baebaa4 100644
--- a/doc/reference/cogl2/cogl2-sections.txt
+++ b/doc/reference/cogl2/cogl2-sections.txt
@@ -149,7 +149,6 @@ cogl_buffer_target_get_type
cogl_debug_flags_get_type
cogl_driver_error_get_type
cogl_feature_flags_get_type
-cogl_fixed_get_type
cogl_fog_mode_get_type
cogl_indices_type_get_type
cogl_pixel_format_get_type
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]