diff options
author | siva.gunturi <siva.gunturi@samsung.com> | 2015-11-15 08:15:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-15 16:16:18 +0000 |
commit | 5d4feb054523b92862e6e4aca237ca44401fc404 (patch) | |
tree | 0e5c1e27dd23bc6bcaf26d2a0d19fe22fddb0fc0 /mojo/gpu | |
parent | c971ed1615a7a3062828cc56fe4f6668be627f26 (diff) | |
download | chromium_src-5d4feb054523b92862e6e4aca237ca44401fc404.zip chromium_src-5d4feb054523b92862e6e4aca237ca44401fc404.tar.gz chromium_src-5d4feb054523b92862e6e4aca237ca44401fc404.tar.bz2 |
Remove CreateStreamTexture from GL interfaces.
Remove CreateStreamTexture from gpu_control.h.
Use CreateStreamTexture as a non virtual function in
command_buffer_proxy and in_process_command_buffer
(for STFSynchronous).Use CreateStreamTexture
instead of gl->CreateStreamTextureCHROMIUM.
BUG=516585, 339191
Review URL: https://codereview.chromium.org/1385883002
Cr-Commit-Position: refs/heads/master@{#359778}
Diffstat (limited to 'mojo/gpu')
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.cc | 4 | ||||
-rw-r--r-- | mojo/gpu/mojo_gles2_impl_autogen.h | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/mojo/gpu/mojo_gles2_impl_autogen.cc b/mojo/gpu/mojo_gles2_impl_autogen.cc index 2413ba8..0e58f73 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.cc +++ b/mojo/gpu/mojo_gles2_impl_autogen.cc @@ -1447,10 +1447,6 @@ void MojoGLES2Impl::GetUniformsES3CHROMIUM(GLuint program, void* info) { NOTREACHED() << "Unimplemented GetUniformsES3CHROMIUM."; } -GLuint MojoGLES2Impl::CreateStreamTextureCHROMIUM(GLuint texture) { - MojoGLES2MakeCurrent(context_); - return glCreateStreamTextureCHROMIUM(texture); -} GLuint MojoGLES2Impl::CreateImageCHROMIUM(ClientBuffer buffer, GLsizei width, GLsizei height, diff --git a/mojo/gpu/mojo_gles2_impl_autogen.h b/mojo/gpu/mojo_gles2_impl_autogen.h index c0b1c86..19ad386 100644 --- a/mojo/gpu/mojo_gles2_impl_autogen.h +++ b/mojo/gpu/mojo_gles2_impl_autogen.h @@ -668,7 +668,6 @@ class MojoGLES2Impl : public gpu::gles2::GLES2Interface { GLsizei bufsize, GLsizei* size, void* info) override; - GLuint CreateStreamTextureCHROMIUM(GLuint texture) override; GLuint CreateImageCHROMIUM(ClientBuffer buffer, GLsizei width, GLsizei height, |