Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::egl::MockProcTable Class Reference

Mock for the |ProcTable| base class. More...

#include <mock_proc_table.h>

Inheritance diagram for flutter::testing::egl::MockProcTable:
flutter::egl::ProcTable

Public Member Functions

 MockProcTable ()=default
 
virtual ~MockProcTable ()=default
 
 MOCK_METHOD (void, GenTextures,(GLsizei n, GLuint *textures),(const override))
 
 MOCK_METHOD (void, DeleteTextures,(GLsizei n, const GLuint *textures),(const override))
 
 MOCK_METHOD (void, BindTexture,(GLenum target, GLuint texture),(const override))
 
 MOCK_METHOD (void, TexParameteri,(GLenum target, GLenum pname, GLint param),(const override))
 
 MOCK_METHOD (void, TexImage2D,(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *data),(const override))
 
- Public Member Functions inherited from flutter::egl::ProcTable
virtual ~ProcTable ()
 
virtual void GenTextures (GLsizei n, GLuint *textures) const
 
virtual void DeleteTextures (GLsizei n, const GLuint *textures) const
 
virtual void BindTexture (GLenum target, GLuint texture) const
 
virtual void TexParameteri (GLenum target, GLenum pname, GLint param) const
 
virtual void TexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *data) const
 

Additional Inherited Members

- Static Public Member Functions inherited from flutter::egl::ProcTable
static std::shared_ptr< ProcTableCreate ()
 
- Protected Member Functions inherited from flutter::egl::ProcTable
 ProcTable ()
 

Detailed Description

Mock for the |ProcTable| base class.

Definition at line 17 of file mock_proc_table.h.

Constructor & Destructor Documentation

◆ MockProcTable()

flutter::testing::egl::MockProcTable::MockProcTable ( )
default

◆ ~MockProcTable()

virtual flutter::testing::egl::MockProcTable::~MockProcTable ( )
virtualdefault

Member Function Documentation

◆ MOCK_METHOD() [1/5]

flutter::testing::egl::MockProcTable::MOCK_METHOD ( void  ,
BindTexture  ,
(GLenum target, GLuint texture ,
(const override)   
)

◆ MOCK_METHOD() [2/5]

flutter::testing::egl::MockProcTable::MOCK_METHOD ( void  ,
DeleteTextures  ,
(GLsizei n, const GLuint *textures)  ,
(const override)   
)

◆ MOCK_METHOD() [3/5]

flutter::testing::egl::MockProcTable::MOCK_METHOD ( void  ,
GenTextures  ,
(GLsizei n, GLuint *textures)  ,
(const override)   
)

◆ MOCK_METHOD() [4/5]

flutter::testing::egl::MockProcTable::MOCK_METHOD ( void  ,
TexImage2D  ,
(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *data ,
(const override)   
)

◆ MOCK_METHOD() [5/5]

flutter::testing::egl::MockProcTable::MOCK_METHOD ( void  ,
TexParameteri  ,
(GLenum target, GLenum pname, GLint param)  ,
(const override)   
)

The documentation for this class was generated from the following file: