Make a public CoglBitmapError enum
authorNeil Roberts <neil@linux.intel.com>
Thu, 1 Jul 2010 20:49:16 +0000 (21:49 +0100)
committerNeil Roberts <neil@linux.intel.com>
Tue, 13 Jul 2010 13:28:45 +0000 (14:28 +0100)
commit8940c3068183c4e78bbb8a2c3570c3c77d8ff509
treed2f22db761245730c9417bf7473ff0b56678e4eb
parent539b3f83e1614ebe2b93b8ce3c713cbcee6ea975
Make a public CoglBitmapError enum

There are many places in the texture backend that need to do
conversion using the CoglBitmap code. Currently none of these
functions can throw an error but they do return a value to indicate
failure. In future it would make sense if new texture functions could
throw an error and in that case they would want to use a CoglBitmap
error if the failure was due to the conversion. This moves the
internal CoglBitmap error from the quartz backend to be public in
cogl-bitmap.h so that it can be used in this way.
clutter/cogl/cogl/cogl-bitmap-pixbuf.c
clutter/cogl/cogl/cogl-bitmap.c
clutter/cogl/cogl/cogl-bitmap.h
doc/reference/cogl/cogl-sections.txt