Pekka Paalanen
a3d826c54b
renderer/native: honour dumb buffer stride
...
meta_renderer_native_gles3_read_pixels() was assuming that the target
buffer stride == width * 4. This is not generally true. When a DRM
driver allocates a dumb buffer, it is free to choose a stride so that
the buffer can actually work on the hardware.
Record the driver chosen stride in MetaDumbBuffer, and use it in the CPU
copy path. This should fix any possible stride issues in
meta_renderer_native_gles3_read_pixels().
2018-10-04 11:57:35 +03:00
..
2018-10-04 11:57:35 +03:00
2018-09-19 08:48:27 +00:00
2014-05-02 09:34:48 -04:00
2014-09-12 11:55:08 -06:00
2018-04-16 13:28:03 +02:00
2018-07-18 10:17:37 +00:00
2018-07-20 16:49:49 +02:00
2016-02-16 19:02:48 +08:00
2018-07-31 23:40:01 +02:00
2017-10-05 18:05:20 -04:00
2017-10-05 18:05:20 -04:00
2018-06-15 19:09:55 +00:00
2018-07-06 19:47:16 +02:00
2018-06-15 19:09:55 +00:00
2018-06-15 19:09:52 +00:00
2018-06-15 19:09:51 +00:00
2018-07-06 19:47:17 +02:00
2018-06-15 19:09:52 +00:00
2018-06-15 19:09:52 +00:00
2017-08-29 14:39:04 +08:00
2017-08-29 14:39:04 +08:00
2014-05-02 09:34:48 -04:00
2018-07-06 19:47:16 +02:00
2017-03-04 18:34:17 +08:00
2018-03-05 15:42:27 +00:00
2018-03-05 15:42:27 +00:00
2017-10-05 18:17:26 -04:00
2017-10-05 18:17:26 -04:00
2017-10-05 18:17:26 -04:00
2017-10-05 18:05:20 -04:00
2017-10-05 18:05:20 -04:00
2018-04-16 13:28:03 +02:00
2014-03-31 22:11:00 -04:00
2018-04-16 13:28:03 +02:00
2018-08-14 15:14:05 +00:00
2018-09-19 08:48:27 +00:00
2018-09-19 08:48:27 +00:00
2018-07-06 19:47:16 +02:00
2018-07-06 19:47:16 +02:00
2018-07-18 10:17:36 +00:00
2017-11-30 11:48:44 +08:00
2017-10-04 09:45:02 -04:00
2017-08-21 12:23:51 +08:00
2017-10-02 15:34:24 -04:00
2017-08-21 12:23:51 +08:00
2018-06-28 13:42:15 +02:00
2017-10-05 18:05:20 -04:00
2018-07-18 10:17:36 +00:00
2018-07-30 15:57:31 +02:00
2018-07-31 13:37:03 +02:00
2018-07-30 15:57:31 +02:00
2017-07-14 15:31:20 +02:00
2017-07-14 15:31:20 +02:00
2018-06-28 13:42:15 +02:00
2018-06-28 13:42:15 +02:00
2016-02-16 19:02:48 +08:00
2016-02-16 19:02:48 +08:00
2018-07-20 16:49:49 +02:00
2018-07-20 16:49:49 +02:00
2018-07-20 16:49:49 +02:00
2018-07-20 16:49:49 +02:00
2018-07-06 19:47:17 +02:00
2017-08-29 14:39:04 +08:00
2017-04-07 22:30:49 +08:00
2017-04-07 22:30:49 +08:00
2017-01-25 16:28:52 +08:00
2017-01-25 16:28:51 +08:00
2017-08-29 14:39:04 +08:00
2017-08-29 14:39:04 +08:00
2018-02-23 19:33:31 +08:00
2017-08-29 14:39:04 +08:00
2018-07-20 16:49:49 +02:00
2018-07-20 16:49:49 +02:00
2018-07-31 23:40:01 +02:00
2017-09-08 17:54:44 +02:00
2018-02-23 19:33:31 +08:00
2018-02-23 19:33:31 +08:00
2018-02-23 19:33:31 +08:00
2017-08-29 14:39:04 +08:00
2018-06-07 12:57:51 +00:00
2018-06-07 12:57:52 +00:00
2018-05-07 21:44:47 +02:00
2018-05-07 21:44:47 +02:00