
We need to *write* to the shared memory, not read from it. cogl_texture_from_data() is read-only, it doesn't keep the data in sync with the texture. Instead, we have to call cogl_texture_get_data() ourselves to sync manually.
We need to *write* to the shared memory, not read from it. cogl_texture_from_data() is read-only, it doesn't keep the data in sync with the texture. Instead, we have to call cogl_texture_get_data() ourselves to sync manually.