2752
|
|
|
Daniel van Vugt |
8 years ago
|
|
|
2751
|
|
Pixel formats! Add some and fix some.
* Added support for common 16-bpp pixel formats (LP: #1469673), * Added support for software surface (ShmBuffer) compositing in GL of every single pixel format except bgr_888 (which OpenGL does not support). (LP: #1424909) * Fix texture upload alignment that caused corrupt images and/or crashes with non-32-bit formats. * Enhance some examples to support the new pixel formats, and also to allow the user to force a pixel format. * Detect supported pixel formats more accurately during surface creation. Sadly not in supported_pixel_formats(), yet. * Started on (documented but not enabled) support for big endian.
Future work:
* Move ShmBuffer out of mesa. It should be usable by any driver and even Android should benefit from using its wider pixel format support than Android native buffers provide right now. * Find out why forcing some unsupported pixel formats on mako makes the phone reboot instead of providing nice errors. * More big endian support. * Enhance (or remove) supported_pixel_formats() to take a paremeter like intended usage, so that it may give more accurate answers. * Fix compositing of those "X instead of A" formats (LP: #1423462) * Automatically relate EGLConfig to desired pixel format in examples at least.
Tips:
* To test a working rgb_565 EGL surface on mako (LP: #1460149), try this: mir_demo_client_egltriangle -e5 -p7
Fixes: LP: #1469673, LP: #1424909 Related but not yet fully fixed: LP: #1423462, LP: #1460149. Fixes: https://bugs.launchpad.net/bugs/1424909, https://bugs.launchpad.net/bugs/1460149, https://bugs.launchpad.net/bugs/1469673, https://bugs.launchpad.net/bugs/1473901.
Approved by PS Jenkins bot, Kevin DuBois, Robert Carr.
|
Daniel van Vugt |
8 years ago
|
|
|
2725
|
|
|
Alexandros Frantzis |
8 years ago
|
|
|
2715
|
|
|
Alexandros Frantzis |
8 years ago
|
|
|
2698
|
|
|
Alexandros Frantzis |
8 years ago
|
|
|