Create Stubs For Unimplemented Extensions
Create context and validation stubs for unimplemented extensions. This
will allow us to use an autogeneration script in the future to generate
entry_points_gles_2_0_ext.cpp.
Bug:angleproject:2263
Change-Id: If3ad3ebd823d65085c7f143cce9e09187e65d4da
Reviewed-on: https://chromium-review.googlesource.com/998440
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/validationES31.cpp b/src/libANGLE/validationES31.cpp
index 12a1867..097e463 100644
--- a/src/libANGLE/validationES31.cpp
+++ b/src/libANGLE/validationES31.cpp
@@ -940,6 +940,18 @@
return ValidateGetTexLevelParameterBase(context, target, level, pname, nullptr);
}
+bool ValidateGetTexLevelParameterfvRobustANGLE(Context *context,
+ TextureTarget target,
+ GLint level,
+ GLenum pname,
+ GLsizei bufSize,
+ GLsizei *length,
+ GLfloat *params)
+{
+ UNIMPLEMENTED();
+ return false;
+}
+
bool ValidateGetTexLevelParameteriv(Context *context,
TextureTarget target,
GLint level,
@@ -949,6 +961,18 @@
return ValidateGetTexLevelParameterBase(context, target, level, pname, nullptr);
}
+bool ValidateGetTexLevelParameterivRobustANGLE(Context *context,
+ TextureTarget target,
+ GLint level,
+ GLenum pname,
+ GLsizei bufSize,
+ GLsizei *length,
+ GLint *params)
+{
+ UNIMPLEMENTED();
+ return false;
+}
+
bool ValidateTexStorage2DMultisample(Context *context,
TextureType target,
GLsizei samples,
@@ -1063,6 +1087,17 @@
return true;
}
+bool ValidateGetMultisamplefvRobustANGLE(Context *context,
+ GLenum pname,
+ GLuint index,
+ GLsizei bufSize,
+ GLsizei *length,
+ GLfloat *val)
+{
+ UNIMPLEMENTED();
+ return false;
+}
+
bool ValidateFramebufferParameteri(Context *context, GLenum target, GLenum pname, GLint param)
{
if (context->getClientVersion() < ES_3_1)
@@ -1173,6 +1208,17 @@
return true;
}
+bool ValidateGetFramebufferParameterivRobustANGLE(Context *context,
+ GLenum target,
+ GLenum pname,
+ GLsizei bufSize,
+ GLsizei *length,
+ GLint *params)
+{
+ UNIMPLEMENTED();
+ return false;
+}
+
bool ValidateGetProgramResourceIndex(Context *context,
GLuint program,
GLenum programInterface,
@@ -1697,6 +1743,18 @@
return true;
}
+bool ValidateGetProgramInterfaceivRobustANGLE(Context *context,
+ GLuint program,
+ GLenum programInterface,
+ GLenum pname,
+ GLsizei bufSize,
+ GLsizei *length,
+ GLint *params)
+{
+ UNIMPLEMENTED();
+ return false;
+}
+
static bool ValidateGenOrDeleteES31(Context *context, GLint n)
{
if (context->getClientVersion() < ES_3_1)