summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-10 22:41:58 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-10 22:41:58 +0000
commita19fd88e26b76a970649ff76c27076b5a64bd91c (patch)
treed1d12933449bc0b554941edd8e0e56f4f1b2db02 /gpu/command_buffer/client
parent1d753141e20ccf7b223fd750594327f77a084a1f (diff)
downloadchromium_src-a19fd88e26b76a970649ff76c27076b5a64bd91c.zip
chromium_src-a19fd88e26b76a970649ff76c27076b5a64bd91c.tar.gz
chromium_src-a19fd88e26b76a970649ff76c27076b5a64bd91c.tar.bz2
Delete copy_texture_to_parent_texture from GPU command buffer code.
Because we aren't using it for anything anymore. Review URL: http://codereview.chromium.org/7538008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client')
-rw-r--r--gpu/command_buffer/client/gles2_c_lib_autogen.h5
-rw-r--r--gpu/command_buffer/client/gles2_cmd_helper_autogen.h7
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc9
-rw-r--r--gpu/command_buffer/client/gles2_implementation_autogen.h3
4 files changed, 0 insertions, 24 deletions
diff --git a/gpu/command_buffer/client/gles2_c_lib_autogen.h b/gpu/command_buffer/client/gles2_c_lib_autogen.h
index 3585cab..fdd781e 100644
--- a/gpu/command_buffer/client/gles2_c_lib_autogen.h
+++ b/gpu/command_buffer/client/gles2_c_lib_autogen.h
@@ -554,11 +554,6 @@ void* GLES2MapTexSubImage2DCHROMIUM(
void GLES2UnmapTexSubImage2DCHROMIUM(const void* mem) {
gles2::GetGLContext()->UnmapTexSubImage2DCHROMIUM(mem);
}
-void GLES2CopyTextureToParentTextureCHROMIUM(
- GLuint client_child_id, GLuint client_parent_id) {
- gles2::GetGLContext()->CopyTextureToParentTextureCHROMIUM(
- client_child_id, client_parent_id);
-}
void GLES2ResizeCHROMIUM(GLuint width, GLuint height) {
gles2::GetGLContext()->ResizeCHROMIUM(width, height);
}
diff --git a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
index c28e989..010443c 100644
--- a/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
+++ b/gpu/command_buffer/client/gles2_cmd_helper_autogen.h
@@ -1195,13 +1195,6 @@
c.Init(bucket_id, result_shm_id, result_shm_offset);
}
- void CopyTextureToParentTextureCHROMIUM(
- GLuint client_child_id, GLuint client_parent_id) {
- gles2::CopyTextureToParentTextureCHROMIUM& c =
- GetCmdSpace<gles2::CopyTextureToParentTextureCHROMIUM>();
- c.Init(client_child_id, client_parent_id);
- }
-
void ResizeCHROMIUM(GLuint width, GLuint height) {
gles2::ResizeCHROMIUM& c = GetCmdSpace<gles2::ResizeCHROMIUM>();
c.Init(width, height);
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 06108d4..0c052ce 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -847,15 +847,6 @@ void GLES2Implementation::SwapBuffers() {
}
}
-void GLES2Implementation::CopyTextureToParentTextureCHROMIUM(
- GLuint client_child_id, GLuint client_parent_id) {
- GPU_CLIENT_LOG("[" << this << "] glCopyTextureToParentTextureCHROMIUM("
- << client_child_id << ", "
- << client_parent_id << ")");
- helper_->CopyTextureToParentTextureCHROMIUM(client_child_id,
- client_parent_id);
-}
-
void GLES2Implementation::GenSharedIdsCHROMIUM(
GLuint namespace_id, GLuint id_offset, GLsizei n, GLuint* ids) {
GPU_CLIENT_LOG("[" << this << "] glGenSharedIdsCHROMIUMTextures("
diff --git a/gpu/command_buffer/client/gles2_implementation_autogen.h b/gpu/command_buffer/client/gles2_implementation_autogen.h
index 245b726..f0c5c4d 100644
--- a/gpu/command_buffer/client/gles2_implementation_autogen.h
+++ b/gpu/command_buffer/client/gles2_implementation_autogen.h
@@ -1266,9 +1266,6 @@ void* MapTexSubImage2DCHROMIUM(
void UnmapTexSubImage2DCHROMIUM(const void* mem);
-void CopyTextureToParentTextureCHROMIUM(
- GLuint client_child_id, GLuint client_parent_id);
-
void ResizeCHROMIUM(GLuint width, GLuint height) {
GPU_CLIENT_LOG("[" << this << "] glResizeCHROMIUM(" << width << ", " << height << ")"); // NOLINT
helper_->ResizeCHROMIUM(width, height);