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

Side by Side Diff: content/renderer/render_widget.cc

Issue 101223005: Plumbing explicit share groups through context creation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored to always use a ShareGroup + Rebase errata. Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 2851 matching lines...) Expand 10 before | Expand all | Expand 10 after
2862 max_transfer_buffer_usage_mb * kBytesPerMegabyte; 2862 max_transfer_buffer_usage_mb * kBytesPerMegabyte;
2863 #endif 2863 #endif
2864 2864
2865 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context( 2865 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context(
2866 new WebGraphicsContext3DCommandBufferImpl( 2866 new WebGraphicsContext3DCommandBufferImpl(
2867 surface_id(), 2867 surface_id(),
2868 GetURLForGraphicsContext3D(), 2868 GetURLForGraphicsContext3D(),
2869 gpu_channel_host.get(), 2869 gpu_channel_host.get(),
2870 attributes, 2870 attributes,
2871 false /* bind generates resources */, 2871 false /* bind generates resources */,
2872 limits)); 2872 limits,
2873 NULL));
2873 return context.Pass(); 2874 return context.Pass();
2874 } 2875 }
2875 2876
2876 } // namespace content 2877 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698