[cogl] remove unused gles/cogl-utils.[c,h]
authorRobert Bragg <robert@linux.intel.com>
Wed, 11 Nov 2009 12:52:08 +0000 (12:52 +0000)
committerRobert Bragg <robert@linux.intel.com>
Tue, 24 Nov 2009 17:58:22 +0000 (17:58 +0000)
The only function in gles/cogl-utils.c was cogl_util_next_p2() and it's
redundant since we also have a cogl/cogl-utils.[c,h]

clutter/cogl/cogl/driver/gles/cogl-util.c [deleted file]
clutter/cogl/cogl/driver/gles/cogl-util.h [deleted file]

diff --git a/clutter/cogl/cogl/driver/gles/cogl-util.c b/clutter/cogl/cogl/driver/gles/cogl-util.c
deleted file mode 100644 (file)
index 4fc90b8..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Cogl
- *
- * An object oriented GL/GLES Abstraction/Utility Layer
- *
- * Copyright (C) 2007,2008,2009 Intel Corporation.
- *
- * 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 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, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include "cogl.h"
-#include "cogl-internal.h"
-#include "cogl-util.h"
-
-/**
- * cogl_util_next_p2:
- * @a: Value to get the next power
- *
- * Calculates the next power greater than @a.
- *
- * Return value: The next power after @a.
- */
-int
-cogl_util_next_p2 (int a)
-{
-  int rval=1;
-
-  while(rval < a)
-    rval <<= 1;
-
-  return rval;
-}
diff --git a/clutter/cogl/cogl/driver/gles/cogl-util.h b/clutter/cogl/cogl/driver/gles/cogl-util.h
deleted file mode 100644 (file)
index 589ddd3..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Cogl
- *
- * An object oriented GL/GLES Abstraction/Utility Layer
- *
- * Copyright (C) 2007,2008,2009 Intel Corporation.
- *
- * 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 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, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifndef __COGL_UTIL_H
-#define __COGL_UTIL_H
-
-int
-cogl_util_next_p2 (int a);
-
-#endif /* __COGL_UTIL_H */