Commit 02de272c authored by Jiajia Qin's avatar Jiajia Qin Committed by Commit Bot

Add es31 enums and APIs in ui/gl

Bug: 859249
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I38dbc355743a6bb8f2f04fb31f51b92ab3377bff
Reviewed-on: https://chromium-review.googlesource.com/1146489Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Jiajia Qin <jiajia.qin@intel.com>
Cr-Commit-Position: refs/heads/master@{#577389}
parent ba00eb2c
......@@ -8,6 +8,10 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
// The following line silences a presubmit warning that would otherwise be
// triggered by this:
// no-include-guard-because-multiply-included
static EGLBoolean GL_BINDING_CALL Mock_eglBindAPI(EGLenum api);
static EGLBoolean GL_BINDING_CALL Mock_eglBindTexImage(EGLDisplay dpy,
EGLSurface surface,
......
This diff is collapsed.
......@@ -8,6 +8,10 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
// The following line silences a presubmit warning that would otherwise be
// triggered by this:
// no-include-guard-because-multiply-included
EGLBoolean eglBindAPIFn(EGLenum api) override;
EGLBoolean eglBindTexImageFn(EGLDisplay dpy,
EGLSurface surface,
......
This diff is collapsed.
......@@ -8,6 +8,10 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
// The following line silences a presubmit warning that would otherwise be
// triggered by this:
// no-include-guard-because-multiply-included
void glXBindTexImageEXTFn(Display* dpy,
GLXDrawable drawable,
int buffer,
......
......@@ -8,6 +8,10 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
// The following line silences a presubmit warning that would otherwise be
// triggered by this:
// no-include-guard-because-multiply-included
void OSMesaColorClampFn(GLboolean enable) override;
OSMesaContext OSMesaCreateContextFn(GLenum format,
OSMesaContext sharelist) override;
......
......@@ -8,6 +8,10 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
// The following line silences a presubmit warning that would otherwise be
// triggered by this:
// no-include-guard-because-multiply-included
BOOL wglChoosePixelFormatARBFn(HDC dc,
const int* int_attrib_list,
const float* float_attrib_list,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,6 +8,10 @@
// clang-format -i -style=chromium filename
// DO NOT EDIT!
// The following line silences a presubmit warning that would otherwise be
// triggered by this:
// no-include-guard-because-multiply-included
MOCK_METHOD1(BindAPI, EGLBoolean(EGLenum api));
MOCK_METHOD3(BindTexImage,
EGLBoolean(EGLDisplay dpy, EGLSurface surface, EGLint buffer));
......
This diff is collapsed.
......@@ -30,6 +30,12 @@ GLuint GLStubApiBase::glCreateShaderFn(GLenum type) {
return 0;
}
GLuint GLStubApiBase::glCreateShaderProgramvFn(GLenum type,
GLsizei count,
const char* const* strings) {
return 0;
}
GLsync GLStubApiBase::glFenceSyncFn(GLenum condition, GLbitfield flags) {
return 0;
}
......@@ -38,6 +44,10 @@ GLuint GLStubApiBase::glGenPathsNVFn(GLsizei range) {
return 0;
}
GLuint GLStubApiBase::glGenProgramPipelinesFn(GLsizei n, GLuint* pipelines) {
return 0;
}
GLint GLStubApiBase::glGetAttribLocationFn(GLuint program, const char* name) {
return 0;
}
......@@ -120,6 +130,10 @@ GLboolean GLStubApiBase::glIsProgramFn(GLuint program) {
return 0;
}
GLboolean GLStubApiBase::glIsProgramPipelineFn(GLuint pipeline) {
return 0;
}
GLboolean GLStubApiBase::glIsQueryFn(GLuint query) {
return 0;
}
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment