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

Side by Side Diff: content/browser/android/in_process/synchronous_compositor_impl.h

Issue 394113002: Tiling priorities in Android Webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
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_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // SynchronousCompositor 48 // SynchronousCompositor
49 virtual void SetClient(SynchronousCompositorClient* compositor_client) 49 virtual void SetClient(SynchronousCompositorClient* compositor_client)
50 OVERRIDE; 50 OVERRIDE;
51 virtual bool InitializeHwDraw() OVERRIDE; 51 virtual bool InitializeHwDraw() OVERRIDE;
52 virtual void ReleaseHwDraw() OVERRIDE; 52 virtual void ReleaseHwDraw() OVERRIDE;
53 virtual gpu::GLInProcessContext* GetShareContext() OVERRIDE; 53 virtual gpu::GLInProcessContext* GetShareContext() OVERRIDE;
54 virtual scoped_ptr<cc::CompositorFrame> DemandDrawHw( 54 virtual scoped_ptr<cc::CompositorFrame> DemandDrawHw(
55 gfx::Size surface_size, 55 gfx::Size surface_size,
56 const gfx::Transform& transform, 56 const gfx::Transform& transform,
57 gfx::Rect viewport, 57 gfx::Rect viewport,
58 gfx::Rect clip) OVERRIDE; 58 gfx::Rect clip,
59 gfx::Rect device_rect_for_tiling) OVERRIDE;
59 virtual bool DemandDrawSw(SkCanvas* canvas) OVERRIDE; 60 virtual bool DemandDrawSw(SkCanvas* canvas) OVERRIDE;
60 virtual void ReturnResources( 61 virtual void ReturnResources(
61 const cc::CompositorFrameAck& frame_ack) OVERRIDE; 62 const cc::CompositorFrameAck& frame_ack) OVERRIDE;
62 virtual void SetMemoryPolicy( 63 virtual void SetMemoryPolicy(
63 const SynchronousCompositorMemoryPolicy& policy) OVERRIDE; 64 const SynchronousCompositorMemoryPolicy& policy) OVERRIDE;
64 virtual void DidChangeRootLayerScrollOffset() OVERRIDE; 65 virtual void DidChangeRootLayerScrollOffset() OVERRIDE;
65 66
66 // SynchronousCompositorOutputSurfaceDelegate 67 // SynchronousCompositorOutputSurfaceDelegate
67 virtual void DidBindOutputSurface( 68 virtual void DidBindOutputSurface(
68 SynchronousCompositorOutputSurface* output_surface) OVERRIDE; 69 SynchronousCompositorOutputSurface* output_surface) OVERRIDE;
(...skipping 30 matching lines...) Expand all
99 cc::InputHandler* input_handler_; 100 cc::InputHandler* input_handler_;
100 101
101 base::WeakPtrFactory<SynchronousCompositorImpl> weak_ptr_factory_; 102 base::WeakPtrFactory<SynchronousCompositorImpl> weak_ptr_factory_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorImpl); 104 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorImpl);
104 }; 105 };
105 106
106 } // namespace content 107 } // namespace content
107 108
108 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_ 109 #endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_COMPOSITOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698