projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
content
/
renderer
/
android
/
synchronous_compositor_factory.h
diff --git
a/src/content/renderer/android/synchronous_compositor_factory.h
b/src/content/renderer/android/synchronous_compositor_factory.h
index
88908ba
..
c21d82a
100644
(file)
--- a/
src/content/renderer/android/synchronous_compositor_factory.h
+++ b/
src/content/renderer/android/synchronous_compositor_factory.h
@@
-28,6
+28,7
@@
namespace content {
class InputHandlerManagerClient;
class StreamTextureFactory;
class InputHandlerManagerClient;
class StreamTextureFactory;
+class FrameSwapMessageQueue;
// Decouples creation from usage of the parts needed for the synchonous
// compositor rendering path. In practice this is only used in single
// Decouples creation from usage of the parts needed for the synchonous
// compositor rendering path. In practice this is only used in single
@@
-44,13
+45,16
@@
class SynchronousCompositorFactory {
GetCompositorMessageLoop() = 0;
virtual bool RecordFullLayer() = 0;
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
GetCompositorMessageLoop() = 0;
virtual bool RecordFullLayer() = 0;
virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
- int routing_id) = 0;
+ int routing_id,
+ scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue) = 0;
// The factory maintains ownership of the returned interface.
virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0;
virtual scoped_refptr<webkit::gpu::ContextProviderWebContext>
// The factory maintains ownership of the returned interface.
virtual InputHandlerManagerClient* GetInputHandlerManagerClient() = 0;
virtual scoped_refptr<webkit::gpu::ContextProviderWebContext>
- GetSharedOffscreenContextProviderForMainThread() = 0;
+ CreateOffscreenContextProvider(
+ const blink::WebGraphicsContext3D::Attributes& attributes,
+ const std::string& debug_name) = 0;
virtual scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
int frame_id) = 0;
virtual blink::WebGraphicsContext3D* CreateOffscreenGraphicsContext3D(
virtual scoped_refptr<StreamTextureFactory> CreateStreamTextureFactory(
int frame_id) = 0;
virtual blink::WebGraphicsContext3D* CreateOffscreenGraphicsContext3D(