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

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: Better share group management Created 7 years 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 2844 matching lines...) Expand 10 before | Expand all | Expand 10 after
2855 max_transfer_buffer_usage_mb * kBytesPerMegabyte; 2855 max_transfer_buffer_usage_mb * kBytesPerMegabyte;
2856 #endif 2856 #endif
2857 2857
2858 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context( 2858 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context(
2859 new WebGraphicsContext3DCommandBufferImpl( 2859 new WebGraphicsContext3DCommandBufferImpl(
2860 surface_id(), 2860 surface_id(),
2861 GetURLForGraphicsContext3D(), 2861 GetURLForGraphicsContext3D(),
2862 gpu_channel_host.get(), 2862 gpu_channel_host.get(),
2863 attributes, 2863 attributes,
2864 false /* bind generates resources */, 2864 false /* bind generates resources */,
2865 limits)); 2865 limits,
2866 NULL));
2866 return context.Pass(); 2867 return context.Pass();
2867 } 2868 }
2868 2869
2869 } // namespace content 2870 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698