Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions | Variables
mock_gles.cc File Reference
#include <memory>
#include "GLES3/gl3.h"
#include "fml/logging.h"
#include "impeller/renderer/backend/gles/proc_table_gles.h"
#include "impeller/renderer/backend/gles/test/mock_gles.h"

Go to the source code of this file.

Classes

struct  impeller::testing::CheckSameSignature< T, U >
 
struct  impeller::testing::CheckSameSignature< Ret(Args...), Ret(Args...)>
 

Namespaces

namespace  impeller
 
namespace  impeller::testing
 

Functions

void impeller::testing::RecordGLCall (const char *name)
 
void impeller::testing::doNothing ()
 
const unsigned char * impeller::testing::mockGetString (GLenum name)
 
const unsigned char * impeller::testing::mockGetStringi (GLenum name, GLuint index)
 
void impeller::testing::mockGetIntegerv (GLenum name, int *value)
 
GLenum impeller::testing::mockGetError ()
 
void impeller::testing::mockPopDebugGroupKHR ()
 
void impeller::testing::mockPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message)
 
void impeller::testing::mockGenQueriesEXT (GLsizei n, GLuint *ids)
 
void impeller::testing::mockBeginQueryEXT (GLenum target, GLuint id)
 
void impeller::testing::mockEndQueryEXT (GLuint id)
 
void impeller::testing::mockGetQueryObjectuivEXT (GLuint id, GLenum target, GLuint *result)
 
void impeller::testing::mockGetQueryObjectui64vEXT (GLuint id, GLenum target, GLuint64 *result)
 
void impeller::testing::mockDeleteQueriesEXT (GLsizei size, const GLuint *queries)
 

Variables

static std::mutex impeller::testing::g_test_lock
 
static std::weak_ptr< MockGLES > impeller::testing::g_mock_gles
 
static ProcTableGLES::Resolver impeller::testing::g_resolver
 
static std::vector< const unsigned char * > impeller::testing::g_extensions
 
static const unsigned char * impeller::testing::g_version
 
auto const impeller::testing::kMockVendor = (unsigned char*)"MockGLES"
 
const auto impeller::testing::kMockShadingLanguageVersion = (unsigned char*)"GLSL ES 1.0"
 
auto const impeller::testing::kExtensions
 
const ProcTableGLES::Resolver impeller::testing::kMockResolverGLES