GNOME Bugzilla – Bug 722347
Fix build after cogl_texture_get_format() deprecation
Last modified: 2014-01-16 15:48:29 UTC
It should be safe to just remove the code that was using it, so do that instead of porting to the new cogl_texture_get_components() API.
Created attachment 266476 [details] [review] cursor-tracker: Rely on gbm_bo_imports()'s buffer validation cogl_texture_get_format() has been deprecated, so rather than using it to figure out beforehand whether the buffer format is supported, just rely on the import failing if it isn't.
Review of attachment 266476 [details] [review]: Yeah, this is something I wanted to do. Glad you beat me to it, though.
Attachment 266476 [details] pushed as 788bd59 - cursor-tracker: Rely on gbm_bo_imports()'s buffer validation