591e2c249ea3291b844210606dcbf19ada6fe380 |
|
02-Nov-2014 |
Frank Henigman <fjhenigman@chromium.org> |
autotest/graphics_SanAngeles: port to waffle Instead of using egl or glx directly, use the waffle library to open windows, choose configs, create/use contexts, and swap buffers. Add a command line parameters for specifying the platform: e.g. gbm, glx or x11_egl. Remove command line parameters for specifying libraries to load at run time (they weren't used, and selecting libraries at run time is waffle's job). Remove X event handling because we don't need it and we do need to run without X. Note that waffle gbm currently renders to an off-screen buffer, so you won't see anything on screen when running in gbm mode. BUG=chromium:413083 TEST=on link_freon, lumpy, daisy: test_that <host> graphics_SanAngeles Change-Id: I2797d88b71bb87146eb62f360cba8c899b098e9b Reviewed-on: https://chromium-review.googlesource.com/229663 Commit-Queue: Frank Henigman <fjhenigman@chromium.org> Tested-by: Frank Henigman <fjhenigman@chromium.org> Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
/external/autotest/client/site_tests/graphics_SanAngeles/src/importgl.c
|