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

Unified Diff: content/renderer/gpu/mailbox_output_surface.h

Issue 20185002: ContextProvider in OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: contextprovider: don't access Context3d() in OutputSurface contructors, it's not bound yet Created 7 years, 4 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/renderer/gpu/mailbox_output_surface.h
diff --git a/content/renderer/gpu/mailbox_output_surface.h b/content/renderer/gpu/mailbox_output_surface.h
index 41514300e441df4ce7e1e3ffddfe9d35ca3f16f6..c2455b99f052a4f30627ffd232696b8453acd731 100644
--- a/content/renderer/gpu/mailbox_output_surface.h
+++ b/content/renderer/gpu/mailbox_output_surface.h
@@ -23,10 +23,11 @@ namespace content {
// to a fixed thread when bindToClient is called.
class MailboxOutputSurface : public CompositorOutputSurface {
public:
- MailboxOutputSurface(int32 routing_id,
- uint32 output_surface_id,
- WebGraphicsContext3DCommandBufferImpl* context3d,
- cc::SoftwareOutputDevice* software);
+ MailboxOutputSurface(
+ int32 routing_id,
+ uint32 output_surface_id,
+ const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
+ scoped_ptr<cc::SoftwareOutputDevice> software_device);
virtual ~MailboxOutputSurface();
// cc::OutputSurface implementation.
« no previous file with comments | « content/renderer/gpu/delegated_compositor_output_surface.cc ('k') | content/renderer/gpu/mailbox_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698