99cdcc9e3c
CoglPixelFormat is not a good way of describing the internal format of a texture because it's too specific given that we don't actually have exact knowledge of the internal format used by the driver. This makes cogl_texture_get_format private and in the future we'll provide a better way of querying the channels and their precision. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit ffde82981f22bd0185a7f33e1e6e1479f4c295b8) Note: Since we can't break API compatibility on the 1.x branch this adds a cogl/deprecated/cogl-texture-deprecated.c file with a cogl_texture_get_format() wrapper around the private api. This also moves the cogl_texture_get_rowstride() and cogl_texture_ref/unref() functions that were previously deprecated into cogl-texture-deprecated.c |
||
---|---|---|
.. | ||
cogl-auto-texture.c | ||
cogl-clip-state.c | ||
cogl-clip-state.h | ||
cogl-clutter-xlib.h | ||
cogl-clutter.c | ||
cogl-clutter.h | ||
cogl-fixed.c | ||
cogl-fixed.h | ||
cogl-framebuffer-deprecated.c | ||
cogl-framebuffer-deprecated.h | ||
cogl-material-compat.c | ||
cogl-material-compat.h | ||
cogl-program-private.h | ||
cogl-program.c | ||
cogl-shader-private.h | ||
cogl-shader.c | ||
cogl-shader.h | ||
cogl-texture-deprecated.c | ||
cogl-texture-deprecated.h | ||
cogl-type-casts.h | ||
cogl-vertex-buffer-private.h | ||
cogl-vertex-buffer.c | ||
cogl-vertex-buffer.h |