summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gles2_cmd_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder.cc')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 5b9fc40..183fb03 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -550,8 +550,6 @@ class GLES2DecoderImpl : public base::SupportsWeakPtr<GLES2DecoderImpl>,
virtual gfx::GLContext* GetGLContext() { return context_.get(); }
virtual void SetSwapBuffersCallback(Callback0::Type* callback);
- virtual bool GetServiceTextureId(uint32 client_texture_id,
- uint32* service_texture_id);
// Restores the current state to the user's settings.
void RestoreCurrentFramebufferBindings();
@@ -2077,17 +2075,6 @@ void GLES2DecoderImpl::SetSwapBuffersCallback(Callback0::Type* callback) {
swap_buffers_callback_.reset(callback);
}
-bool GLES2DecoderImpl::GetServiceTextureId(uint32 client_texture_id,
- uint32* service_texture_id) {
- TextureManager::TextureInfo* texture =
- texture_manager()->GetTextureInfo(client_texture_id);
- if (texture) {
- *service_texture_id = texture->service_id();
- return true;
- }
- return false;
-}
-
void GLES2DecoderImpl::Destroy() {
if (vertex_compiler_ != NULL) {
ShDestruct(vertex_compiler_);