• Home
  • History
  • Annotate
  • only in /external/autotest/client/site_tests/graphics_SanAngeles/src/
History log of /external/autotest/client/site_tests/graphics_SanAngeles/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
585e76585e4a0c45c925dbc85fe527b36a1eb6bb 18-Mar-2015 Frank Henigman <fjhenigman@chromium.org> graphics_SanAngeles: support null platform

Freon boards now support only EGL_PLATFORM_NULL and minigbm so use
WAFFLE_PLATFORM_NULL.

Platform arg parsing is moved to the SanAngeles executable, since that
is where we ultimately want it, and the attempt to factor it out to
graphics_utils.py was cumbersome and not used by anything else.

The waffle_window_show() call was moved because in WAFFLE_PLATFORM_NULL
it must happen before waffle_make_current().

Restored the depth buffer configuration that was accidentally removed
during porting to waffle.

On freon, stop ui in order to mode set.

BUG=chromium:468328
TEST=test_that -b samus -i trybot-samus-paladin/... :lab: graphics_SanAngeles
TEST=test_that -b lumpy -i trybot-lumpy-paladin/... :lab: graphics_SanAngeles
TEST=test_that -b daisy -i trybot-daisy-paladin/... :lab: graphics_SanAngeles
CQ-DEPEND=CL:260993

Change-Id: Idb3aa5a8024f920beec2364a9701bc5455acb602
Reviewed-on: https://chromium-review.googlesource.com/260995
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
pp-linux.c
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>
akefile
pp-linux.c
mportgl.c
mportgl.h
5bfe6352feafc731e3c2155d0763e16f39d6ea02 29-Oct-2014 Ilja H. Friedel <ihf@chromium.org> graphics_SanAngeles: speed demo time up.

For ChromeOS we don't really use SanAngeles as a benchmark, but as a
simple test to exercise the graphics pipeline. Hence we can speed up
the time in the test by a large factor and still get all the benefit
from running it.

TEST=Runs on desktop in 11s now instead of 110s.
BUG=chromium:427641

Change-Id: I76b34f423043d154486045107909523b331fffd2
Reviewed-on: https://chromium-review.googlesource.com/226130
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
pp-linux.c
pp.h
fd97ee8636d2e52212eb5d4d8ba6450ec643263f 13-Jul-2011 Ilja H. Friedel <ihf@google.com> Fix break: OpenGLES does not know GLintptrARB

Change-Id: I6099486432130843a7bd4f7a02dedba61924be2c
Reviewed-on: http://gerrit.chromium.org/gerrit/3975
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
emo.c
08f9dd023db83e838b93b46e432e3e8bfe6680d1 09-Jul-2011 Ilja H. Friedel <ihf@google.com> More robust error handling in SanAngeles.
1) Fix graphics_SanAngeles.py such that it only raises exception on errors (not warnings).
2) Clean up C code so errors have Error: prefixed.
3) Clean up pointer casting so we don't have compile warnings anymore.

Change-Id: I724b8cac81b5691243b311fe554a859725225548
Reviewed-on: http://gerrit.chromium.org/gerrit/3822
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
pp-linux.c
emo.c
hader.c
96600b150b3eef033eec4655a687c2953fa7fbba 16-Dec-2010 Kenneth Waters <kwaters@chromium.org> graphics_SanAngeles: Fix OpenGL-ES incompatibilites.

- Use default credentials for the test UI
- Switch to linking EGL and GLESv2 statically, all of our drivers use
the Khronos recomended library names now.

BUG=7736
TEST=Run on tegra2_seaboard and x86-generic

Change-Id: I1cee3167761fde0d6a492008c7613f0823148c44

Review URL: http://codereview.chromium.org/5633004
akefile
5546eebca97cc324218761280db5978b4bd057eb 14-Jul-2010 Eric Li <ericli@google.com> remove GCLIENT_ROOT reference inside autotest makefiles. This is the easy part of the change.

BUG=4663

TEST:
build_autotest.sh --board --build=all
run_remote_tests.sh with all affected test cases.

Review URL: http://codereview.chromium.org/2943005
akefile
aeea8e867c815b5af83e7bc3967a7eebfd99e0f1 26-May-2010 Zhenyao Mo <zmo@google.com> Build either GL or ES version of SanAngeles based on $(GRAPHICS_BACKEND).

Review URL: http://codereview.chromium.org/2083024
akefile
0e7679af1bcffb1f2dce9643a34ffc3320a5111d 24-Mar-2010 Kenneth Waters <kwaters@chromium.org> graphics_SanAngles: fix ARM build

- This test was passing an extranious -m32 to the compiler. The build
system makes sure to use a 32 bit toolchain when building for an i686
target.

TEST=Built for x86-generic and arm-generic
BUG=None

Review URL: http://codereview.chromium.org/1245001
akefile
36f1a65e6eb9ab85144d0e917380d2c695e14fe8 19-Mar-2010 Ken Mixter <kmixter@google.com> Rename autotests to be consistent with tracker areas

Review URL: http://codereview.chromium.org/1105001
akefile
EADME.txt
pp-linux.c
pp.h
ams.h
emo.c
mportgl.c
mportgl.h
mportvbo.c
mportvbo.h
icense-BSD.txt
icense-LGPL.txt
icense.txt
atrixop.c
atrixop.h
hader.c
hader.h
hadersrc.h
hapes.h