Index: gpu/command_buffer/service/gl_state_restorer_impl.cc |
diff --git a/gpu/command_buffer/service/gl_state_restorer_impl.cc b/gpu/command_buffer/service/gl_state_restorer_impl.cc |
index 2eec5fb024c06d9b91a2a0613c4bf9a99c048806..fe761453af6af610546a794f0ed32c4dfbbddfac 100644 |
--- a/gpu/command_buffer/service/gl_state_restorer_impl.cc |
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.cc |
@@ -36,6 +36,11 @@ void GLStateRestorerImpl::RestoreAllTextureUnitBindings() { |
decoder_->RestoreAllTextureUnitBindings(NULL); |
} |
+void GLStateRestorerImpl::RestoreActiveTexture() { |
+ DCHECK(decoder_.get()); |
+ decoder_->RestoreActiveTexture(); |
+} |
+ |
void GLStateRestorerImpl::RestoreActiveTextureUnitBinding(unsigned int target) { |
DCHECK(decoder_.get()); |
decoder_->RestoreActiveTextureUnitBinding(target); |
@@ -51,6 +56,21 @@ void GLStateRestorerImpl::RestoreFramebufferBindings() { |
decoder_->RestoreFramebufferBindings(); |
} |
+void GLStateRestorerImpl::RestoreProgramBindings() { |
+ DCHECK(decoder_.get()); |
+ decoder_->RestoreProgramBindings(); |
+} |
+ |
+void GLStateRestorerImpl::RestoreBufferBinding(unsigned int target) { |
+ DCHECK(decoder_.get()); |
+ decoder_->RestoreBufferBinding(target); |
+} |
+ |
+void GLStateRestorerImpl::RestoreVertexAttribArray(unsigned int index) { |
+ DCHECK(decoder_.get()); |
+ decoder_->RestoreVertexAttribArray(index); |
+} |
+ |
void GLStateRestorerImpl::PauseQueries() { |
DCHECK(decoder_.get()); |
decoder_->GetQueryManager()->PauseQueries(); |