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

Side by Side Diff: content/renderer/android/synchronous_compositor_factory.h

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 years, 8 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual scoped_refptr<base::MessageLoopProxy> 43 virtual scoped_refptr<base::MessageLoopProxy>
44 GetCompositorMessageLoop() = 0; 44 GetCompositorMessageLoop() = 0;
45 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( 45 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
46 int routing_id) = 0; 46 int routing_id) = 0;
47 47
48 // The factory maintains ownership of the returned interface. 48 // The factory maintains ownership of the returned interface.
49 virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0; 49 virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0;
50 50
51 virtual scoped_refptr<webkit::gpu::ContextProviderWebContext> 51 virtual scoped_refptr<webkit::gpu::ContextProviderWebContext>
52 GetSharedOffscreenContextProviderForMainThread() = 0; 52 GetSharedOffscreenContextProviderForMainThread() = 0;
53 virtual scoped_refptr<cc::ContextProvider>
54 GetOffscreenContextProviderForCompositorThread() = 0;
55 virtual scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory( 53 virtual scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
56 int view_id) = 0; 54 int view_id) = 0;
57 virtual blink::WebGraphicsContext3D* CreateOffscreenGraphicsContext3D( 55 virtual blink::WebGraphicsContext3D* CreateOffscreenGraphicsContext3D(
58 const blink::WebGraphicsContext3D::Attributes& attributes) = 0; 56 const blink::WebGraphicsContext3D::Attributes& attributes) = 0;
59 57
60 protected: 58 protected:
61 SynchronousCompositorFactory() {} 59 SynchronousCompositorFactory() {}
62 virtual ~SynchronousCompositorFactory() {} 60 virtual ~SynchronousCompositorFactory() {}
63 }; 61 };
64 62
65 } 63 }
66 64
67 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_ 65 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FACTORY_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698