History log of /external/autotest/client/deps/glbench/src/glinterface.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c9faddb4a9c94f7ec477fea7f32ce9c4fa34c8d0 09-Dec-2016 Ben Chan <benchan@chromium.org> glbench: replace scoped_ptr with std::unique_ptr

scoped_ptr from libchrome has been deprecated in favor of C++11
std::unique_ptr.

BUG=chromium:672314
TEST=Run unit tests.

Change-Id: I0f71641e2be379c2a0efe80e1b4e7b303610bf20
Reviewed-on: https://chromium-review.googlesource.com/418397
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/deps/glbench/src/glinterface.h
e44242033efbbcb714f9354ec3b554e5cce07fd8 23-Dec-2014 Frank Henigman <fjhenigman@chromium.org> glbench: port to waffle

Port glbench and windowmanagertest to waffle so they will run on x11/egl,
x11/glx or X-less gbm. Synccontroltest and teartest are NOT ported as we
plan to delete them. Until then both remain available for X platforms.

BUG=chromium:413080
TEST=test_that -b lumpy -i trybot-lumpy-paladin/R42-6729.0.0-b1967 :lab: graphics_GLBench
TEST=test_that -b lumpy -i trybot-lumpy-paladin/R42-6729.0.0-b1967 :lab: graphics_SyncControlTest
TEST=test_that -b lumpy -i trybot-lumpy-paladin/R42-6729.0.0-b1967 :lab: graphics_Sanity
TEST=test_that -b daisy -i trybot-daisy-paladin/R42-6729.0.0-b1756 :lab: graphics_GLBench
TEST=test_that -b daisy -i trybot-daisy-paladin/R42-6729.0.0-b1756 :lab: graphics_SyncControlTest
TEST=test_that -b daisy -i trybot-daisy-paladin/R42-6729.0.0-b1756 :lab: graphics_Sanity
CQ-DEPEND=CL:241015

Change-Id: I49e286c6ee1270623709b4a4993bacbecb67a520
Reviewed-on: https://chromium-review.googlesource.com/241014
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/deps/glbench/src/glinterface.h
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/glinterface.h
aa6dea876d0bf7f393e16505408bc3767a3ce7ef 10-Jan-2013 Ryan Harrison <rharrison@chromium.org> Add in graphics_SyncControlTest to autotests

This test checks that sync control extension behave as expected. Currently this
only implemented for EGL, with the GLX implementation being a place holder for
future work. For EGL there is only one function tested,
eglGetsyncValuesCHROMIUM, since the rest of the spec has not yet been defined
and implemented.

This CL add the implementation of the test as a dep in the glbench dep. There
are other standalone binaries in this dep already, so this seems like the most
resonable place for it to be.

BUG=chrome-os-partner:16624
TEST=Tested binary as a standalone on a EGL device, daisy:
- `emerge-daisy autotest-deps-glbench`
- Copied synccontroltest from /build/daisy/... to device
- `export DISPLAY=:0`
- `synccontroltest`
- Confirmed no errors reported
Confirmed that binary built for a GLX device, link:
- `emerge-link autotest-deps-glbench`
Built and ran the autotest, on daisy:
- `emerge-daisy autotest-deps-glbench`
- `emerge-daisy autotest-tests`
- `run_remote_tests.sh --use_emerged --remote=$REMOTE
graphics_SyncControlTest`
Confirmed that autotest built for a GLX device, link:
- `emerge-link autotest-deps-glbench`
- `emerge-link autotest-tests`

Change-Id: Ia0d737cbd939920cf1c2055e3158901f6094be38
Reviewed-on: https://gerrit.chromium.org/gerrit/41290
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Tested-by: Ryan Harrison <rharrison@chromium.org>
/external/autotest/client/deps/glbench/src/glinterface.h
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/glinterface.h