121 + static MirPixelFormat select_format_for_visual_id(int visual_id) 122 + { 123 + if (visual_id == 5) 124 + return mir_pixel_format_argb_8888;
It would be nice to see some constants for visual_id.
Haven't tested on nexus 4. Let me know if it needs some runs.
== + case NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS: 43 + return 2; ===
Wondering if this has implications on existing hardware support (n4, etc...)
« Back to merge proposal
121 + static MirPixelFormat select_ format_ for_visual_ id(int visual_id) format_ argb_8888;
122 + {
123 + if (visual_id == 5)
124 + return mir_pixel_
It would be nice to see some constants for visual_id.
Haven't tested on nexus 4. Let me know if it needs some runs.
== WINDOW_ MIN_UNDEQUEUED_ BUFFERS:
+ case NATIVE_
43 + return 2;
===
Wondering if this has implications on existing hardware support (n4, etc...)