History log of /external/autotest/client/deps/glbench/src/windowmanagertest.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1b1803984d3cad1af4f0c9c1c2ff6ee43c6ab805 13-Mar-2013 Ilja Friedel <ihf@chromium.org> Use valid context when using glGet*.

Otherwise random numbers are returned as maximum dimensions leading
to intermittent aborts on 64 bit systems. (Somehow 32 bit systems
were passsing with this.)

BUG=None.
TEST=Ran locally on Arrow.

Change-Id: Ifd1479d808df7cc9a69c9dbcb0053ef2759f6079
Reviewed-on: https://gerrit.chromium.org/gerrit/45275
Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
c04bdd4a43f9a240961c8fb07afc1386fddb5826 31-Jan-2013 Ilja Friedel <ihf@chromium.org> Enforce max sizes for glViewport.

The driver may clamp the viewport when requesting too large dimensions.
Reduce all viewports to screen size and adjust shaders in corresponding
files (only). Also switch texture in the capture test from LUMINANCE to
RGBA as we don't really care about the former.

Updating the varyings_shader references as the output changes with the
new glViewport (and no shader adjustment).

Finally this fixes a bug in triangle_setup where we were drawing only
1/4 of the triangles in the lower left corner. Now the output is
centered and made slightly larger.

BUG=chromium-os:30493
TEST=Ran GLBench and WindowManagerGraphicsCapture on Alex. Verified
performance output is the same as on the dashboard modulo noise.

Change-Id: I716a79c8d52cd15bb1f6810b61140566e5798504
Reviewed-on: https://gerrit.chromium.org/gerrit/41848
Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
068608273fa39b4032003d3a1f00d4125cc321e3 18-Dec-2012 Simon Que <sque@chromium.org> glbench: add ContextTest and GLInterfaceTest base class

Add a test class, ContextTest, to test context switching. This is
similar enough to SwapTest so create a base class GLInterfaceTest that
contains code that is common to both. ContextTest and SwapTest classes
derive from GLInterfaceTest:

GLInterfaceTest
|
+--------+--------+
| |
ContextTest SwapTest

BUG=chromium-os:36746,chromium-os:36750
TEST=emerge autotest-deps-glbench, run: "glbench -tests swap:context"

Change-Id: Ibc5e506c61bdbca75a81e04ee6ca70af310c345c
Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/39886
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
7f840e726dd0455d4ef338de4de89adcf2118534 19-Dec-2012 Simon Que <sque@chromium.org> glbench: refactor EGL/GLX API into its own class

- Don't leave it hanging in main.h.
- Create GLInterface class to contain the common EGL/GLX API.
- Define derived EGLInterface and GLXInterface classes in
egl/glx_stuff.h, respectively.
- In egl/glx_stuff.cc, the functions are mostly the same, just members
of the EGL/GLXInterface class.
- There is a common global pointer g_main_gl_interface that contains a
globally used GLInterface object. Calls to the EGL/GLX functions are
made through this pointer.

BUG=chromium-os:36746,chromium-os:36750
TEST=emerge autotest-deps-glbench, run glbench on link and daisy

Change-Id: I123a8005c960783df7e4c75ea5126ec8b5d8bbd5
Signed-off-by: Simon Que <sque@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/39970
Reviewed-by: Stuart Abercrombie <sabercrombie@chromium.org>
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
387edd7ecf25b31b06d13ec6374e5c3d9c56df32 20-Jun-2012 Han Shen <shenhan@google.com> Fix autotest-deps-glbench gcc-4.7 building problem.

Added explicit converion in initialization list.

TEST=built with gcc-4.7
BUG=None

Change-Id: I6b3ebd4cdef949ed29a5add8e9dbdcf3757791b9
Reviewed-on: https://gerrit.chromium.org/gerrit/25686
Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Han Shen <shenhan@chromium.org>
Commit-Ready: Han Shen <shenhan@chromium.org>
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
b8f4e7a20cddf76c31f3e00438b46963365c8b97 27-Sep-2011 Stuart Abercrombie <sabercrombie@chromium.org> Remove the obsolete I915_WORKAROUND from glbench.

The issue this was designed to address no longer exists in the Intel driver, and the workaround is not active in the browser video code.

On Sandy Bridge the workaround provokes a bug in the driver for which a separate Piglit test will be submitted.

Change-Id: I618f76dfeb3a5fcfb87c4446a0e79aaaa1a9666a
Reviewed-on: http://gerrit.chromium.org/gerrit/8329
Tested-by: Stuart Abercrombie <sabercrombie@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Ready: Stuart Abercrombie <sabercrombie@chromium.org>
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
8faad30e5a44271d9e50c4d75e1271018d7439b5 26-Apr-2011 Ilja H. Friedel <ihf@google.com> This change looks scary, but it shouldn't be once you ignore all the image file changes. Making the browser full screen also helps.

This change does not
a) change any of the existing tests
b) in particular it does not change any timing.

This change should do the following
1) write all images as .png
2) encode pixel MD5 in the image filename
These two things combined make it possible to easily examine images with standard viewers and do a check to classify an image by simply looking it up in a directory of known good/bad images. Also lists of good/bad images can be generated simply by doing an ls on a directory. This means checksums.txt can go away.
3) give more verbose output in case of warning/failures
4) make glbench buildable outside of chroot again controlled via #define
5) copy images into result tree in autotest so they can be easily be looked at when something breaks
6) create a human friendly summary.txt in the result tree for easy failure analysis

The beef of the changes is in testbase.cc and graphics_GLBench.py

The change was tested on mario and tegra.

BUG=chromium-os:14282
TEST=

Review URL: http://codereview.chromium.org/6880025

Change-Id: I480fb7c9c058594c5ccd32b9251a42778296db7f
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
ca03c73f37e0202140edf5c79cbde41a9535473e 20-Dec-2010 Kenneth Waters <kwaters@chromium.org> graphics_WindowManagerGraphicsCapture: Fix for Open GL-ES

- Fix GLSL to be GLSL-ES with I915 workaround.
- Change from CLAMP to CLAMP_TO_EDGE, CLAMP is unsupported by GL-ES and
is almost always not what you want (CLAMP is clamp to border
color/texel).
- Change makefile to build windowmanagertest for OpenGL-ES

BUG=None
TEST=Run on tegra2_seaboard

Change-Id: Ia8cce409c644a33e826f45ec5afa1db9de965031

Review URL: http://codereview.chromium.org/5949003
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
9f9b873ae65c0a087ed3cd9856121a6d41e3410a 21-May-2010 Alexey Marinichev <amarinichev@chromium.org> Split tests into individual files. Got rid of globals by converting them to classes.

Review URL: http://codereview.chromium.org/2123013
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
df7d51ece55fe917fbbab0a9c92eb1c6c1eabf84 06-May-2010 Vincent Scheib <scheib@chromium.org> graphics_WindowManagerGraphicsCapture test taking screenshots and comparing them to reference images.

BUG=2054
TEST=graphics_WindowManagerGraphicsCapture

Review URL: http://codereview.chromium.org/1972001
/external/autotest/client/deps/glbench/src/windowmanagertest.cc
c5114c18df9f909f87611b3a6f45d607f1d0a631 08-Apr-2010 Vincent Scheib <scheib@google.com> Stubbed in new test: graphics_WindowManagerGraphicsCapture

This is the beginning of a functional test described by issue 2054 "Test graphics stack in window manager":
http://code.google.com/p/chromium-os/issues/detail?id=2054

glbench has been modified to create a new target, "windowmanagertest". This application is used in a new site_test that logs in (if needed), displays the full screen app, and then logs out.

Following changes will perform window manager screen captures and compare against known good images.

Review URL: http://codereview.chromium.org/1523011
/external/autotest/client/deps/glbench/src/windowmanagertest.cc