diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-06 03:32:18 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-06 03:32:18 +0000 |
commit | 7b804737da08be40c307ca98c57a3595c468ab5a (patch) | |
tree | 36d200d5f1cd305963311ad41a3c861df036c313 /gpu | |
parent | 950fc1eff7bc711dd6a25433b246de30186d277d (diff) | |
download | chromium_src-7b804737da08be40c307ca98c57a3595c468ab5a.zip chromium_src-7b804737da08be40c307ca98c57a3595c468ab5a.tar.gz chromium_src-7b804737da08be40c307ca98c57a3595c468ab5a.tar.bz2 |
Bind to eglCreateImageKHR and eglDestroyImageKHR when KHR_image_base is advertised by EGL.
At the moment we only bind to them if KHR_image (a superset) is advertised.
Because we determine to which extension each entry point belongs by parsing the header files and those entry points are not listed for KHR_image_base, I had to add some code to the autogenerator script to to add extra extensions for each entry point.
Review URL: http://codereview.chromium.org/9111039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/common/gl_mock.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gpu/command_buffer/common/gl_mock.h b/gpu/command_buffer/common/gl_mock.h index 8ebb4c3..174da30 100644 --- a/gpu/command_buffer/common/gl_mock.h +++ b/gpu/command_buffer/common/gl_mock.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -152,6 +152,9 @@ class MockGLInterface : public GLInterface { MOCK_METHOD2(EGLImageTargetTexture2DOES, void( GLenum target, GLeglImageOES image)); + MOCK_METHOD2(EGLImageTargetRenderbufferStorageOES, void( + GLenum target, GLeglImageOES image)); + MOCK_METHOD1(Enable, void(GLenum cap)); MOCK_METHOD1(EnableVertexAttribArray, void(GLuint index)); |