summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorLloyd Pique <lpique@google.com>2018-01-17 11:57:07 -0800
committerLloyd Pique <lpique@google.com>2018-02-16 14:37:30 -0800
commit5b36f3f1330b15a60c9f6d114c5ecdb8b6e1234a (patch)
treee6b3ab104459a8fe8c77b42d2063f7ddd6ee19d7 /opengl/tests/gl_basic/gl_basic.cpp
parent12eb423785adba54be4c7112e5198a80d563896e (diff)
SF: Add and use MockGraphicBufferProducer/Consumer
This has the benefit of allowing the tests to set expectations on the producer/consumer queue calls. Additionally this speeds up test execution (though possibly only for the first test which creates a buffer queue) by a factor of 4x. [Test execution time reduced from 25ms to 6.1ms] Test: libsurfaceflinger_unittest passes on Pixel XL Bug: None Change-Id: Ic400e8d123fea497061c193df5036218ebef1d3a
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions