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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc

Issue 16200002: Remove unused methods in WebGraphicsContext3D: isGLES2Compliant() and getPlatformTextureId() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch to try bot. 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: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
index 05454f8cbed2bab85ea48e596bb6967fbfb27a1f..ed105b4fe93c19225e424538c4ebfe528e8657c7 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
@@ -406,10 +406,6 @@ int WebGraphicsContext3DCommandBufferImpl::height() {
return cached_height_;
}
-bool WebGraphicsContext3DCommandBufferImpl::isGLES2Compliant() {
- return true;
-}
-
bool WebGraphicsContext3DCommandBufferImpl::setParentContext(
WebGraphicsContext3D* parent_context) {
WebGraphicsContext3DCommandBufferImpl* parent_context_impl =
@@ -524,10 +520,6 @@ int WebGraphicsContext3DCommandBufferImpl::GetContextID() {
return command_buffer_->GetRouteID();
}
-WebGLId WebGraphicsContext3DCommandBufferImpl::getPlatformTextureId() {
- return parent_texture_id_;
-}
-
void WebGraphicsContext3DCommandBufferImpl::prepareTexture() {
TRACE_EVENT1("gpu",
"WebGraphicsContext3DCommandBufferImpl::SwapBuffers",
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h ('k') | ui/compositor/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698