SET_InvalidateFramebuffer(exec, _mesa_InvalidateFramebuffer);
}
-#if FEATURE_ES1
if (ctx->API == API_OPENGLES) {
SET_AlphaFuncxOES(exec, _es_AlphaFuncx);
SET_ClearColorxOES(exec, _es_ClearColorx);
SET_TexParameterxvOES(exec, _es_TexParameterxv);
SET_TranslatexOES(exec, _es_Translatex);
}
-#endif
return exec;
}
#include <stdbool.h>
#include "main/mfeatures.h"
-#if FEATURE_ES1
-
#include "api_loopback.h"
#include "api_exec.h"
#include "blend.h"
(GLfloat) (y / 65536.0f),
(GLfloat) (z / 65536.0f));
}
-
-#endif /* FEATURE_ES1 */
};
extern const struct function gl_core_functions_possible[];
+extern const struct function gles11_functions_possible[];
extern const struct function gles2_functions_possible[];
extern const struct function gles3_functions_possible[];
-#if FEATURE_ES1
-extern const struct function gles11_functions_possible[];
-#endif /* FEATURE_ES1 */
-
class DispatchSanity_test : public ::testing::Test {
public:
virtual void SetUp();
validate_nops(&ctx);
}
-#if FEATURE_ES1
TEST_F(DispatchSanity_test, GLES11)
{
SetUpCtx(API_OPENGLES, 11);
validate_functions(&ctx, gles11_functions_possible);
validate_nops(&ctx);
}
-#endif /* FEATURE_ES1 */
TEST_F(DispatchSanity_test, GLES2)
{
{ NULL, 0, -1 }
};
-#if FEATURE_ES1
const struct function gles11_functions_possible[] = {
{ "glActiveTexture", 11, _gloffset_ActiveTextureARB },
{ "glAlphaFunc", 11, _gloffset_AlphaFunc },
{ "glViewport", 11, _gloffset_Viewport },
{ NULL, 0, -1 }
};
-#endif /* FEATURE_ES1 */
const struct function gles2_functions_possible[] = {
{ "glActiveTexture", 20, _gloffset_ActiveTextureARB },
_mesa_TexGenfv( coord, pname, p );
}
-#if FEATURE_ES1
void GLAPIENTRY
_es_GetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
_mesa_TexGenfv(GL_R, pname, params);
}
-#endif
static void GLAPIENTRY
_mesa_TexGendv(GLenum coord, GLenum pname, const GLdouble *params )