projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f947fe9
)
cogl-texture-2d: Add _cogl_is_texture_2d to the private header
author
Neil Roberts
<neil@linux.intel.com>
Thu, 10 Feb 2011 18:24:14 +0000
(18:24 +0000)
committer
Neil Roberts
<neil@linux.intel.com>
Tue, 15 Feb 2011 12:10:54 +0000
(12:10 +0000)
This adds a declaration for _cogl_is_texture_2d to the private header
so that it can be used in cogl-blit.c to determine if the target
texture is a simple 2D texture.
clutter/cogl/cogl/cogl-texture-2d-private.h
patch
|
blob
|
history
diff --git
a/clutter/cogl/cogl/cogl-texture-2d-private.h
b/clutter/cogl/cogl/cogl-texture-2d-private.h
index
e6dad37
..
9c30341
100644
(file)
--- a/
clutter/cogl/cogl/cogl-texture-2d-private.h
+++ b/
clutter/cogl/cogl/cogl-texture-2d-private.h
@@
-59,6
+59,9
@@
struct _CoglTexture2D
GQuark
_cogl_handle_texture_2d_get_type (void);
+gboolean
+_cogl_is_texture_2d (CoglHandle object);
+
CoglHandle
_cogl_texture_2d_new_with_size (unsigned int width,
unsigned int height,