Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: gpu/command_buffer/client/gles2_implementation.cc

Issue 15798014: Replace context parenting by sharing through mailboxes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add test Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/gles2_implementation.cc
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index b64c67b9f0e4b63ae9408ecd12fa10947d85cd4b..b74a23ed6642329275248cced2823a799e116568 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -279,17 +279,6 @@ GLES2CmdHelper* GLES2Implementation::helper() const {
return helper_;
}
-GLuint GLES2Implementation::MakeTextureId() {
- GLuint id;
- GetIdHandler(id_namespaces::kTextures)->MakeIds(this, 0, 1, &id);
- return id;
-}
-
-void GLES2Implementation::FreeTextureId(GLuint id) {
- GetIdHandler(id_namespaces::kTextures)->FreeIds(
- this, 1, &id, &GLES2Implementation::DeleteTexturesStub);
-}
-
IdHandlerInterface* GLES2Implementation::GetIdHandler(int namespace_id) const {
return share_group_->GetIdHandler(namespace_id);
}

Powered by Google App Engine
This is Rietveld 408576698