diff options
Diffstat (limited to 'gfx/angle/src/tests/angle_unittests_utils.h')
-rwxr-xr-x | gfx/angle/src/tests/angle_unittests_utils.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gfx/angle/src/tests/angle_unittests_utils.h b/gfx/angle/src/tests/angle_unittests_utils.h index 790d3455d..487c1685c 100755 --- a/gfx/angle/src/tests/angle_unittests_utils.h +++ b/gfx/angle/src/tests/angle_unittests_utils.h @@ -41,7 +41,7 @@ class NullFactory : public GLImplFactory RenderbufferImpl *createRenderbuffer() override { return nullptr; } // Buffer creation - BufferImpl *createBuffer(const gl::BufferState &state) override { return nullptr; } + BufferImpl *createBuffer() override { return nullptr; } // Vertex Array creation VertexArrayImpl *createVertexArray(const gl::VertexArrayState &data) override @@ -80,7 +80,7 @@ class MockGLFactory : public GLImplFactory MOCK_METHOD1(createFramebuffer, FramebufferImpl *(const gl::FramebufferState &)); MOCK_METHOD1(createTexture, TextureImpl *(const gl::TextureState &)); MOCK_METHOD0(createRenderbuffer, RenderbufferImpl *()); - MOCK_METHOD1(createBuffer, BufferImpl *(const gl::BufferState &)); + MOCK_METHOD0(createBuffer, BufferImpl *()); MOCK_METHOD1(createVertexArray, VertexArrayImpl *(const gl::VertexArrayState &)); MOCK_METHOD1(createQuery, QueryImpl *(GLenum type)); MOCK_METHOD0(createFenceNV, FenceNVImpl *()); @@ -103,10 +103,9 @@ class MockEGLFactory : public EGLImplFactory SurfaceImpl *(const egl::SurfaceState &, const egl::Config *, const egl::AttributeMap &)); - MOCK_METHOD5(createPbufferFromClientBuffer, + MOCK_METHOD4(createPbufferFromClientBuffer, SurfaceImpl *(const egl::SurfaceState &, const egl::Config *, - EGLenum, EGLClientBuffer, const egl::AttributeMap &)); MOCK_METHOD4(createPixmapSurface, |