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

Side by Side Diff: cc/output/delegating_renderer.h

Issue 17504006: GPU process clients can perform a "shallow" finish. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | « no previous file | cc/output/gl_renderer.h » ('j') | cc/output/gl_renderer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CC_OUTPUT_DELEGATING_RENDERER_H_ 5 #ifndef CC_OUTPUT_DELEGATING_RENDERER_H_
6 #define CC_OUTPUT_DELEGATING_RENDERER_H_ 6 #define CC_OUTPUT_DELEGATING_RENDERER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/base/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/output/compositor_frame.h" 10 #include "cc/output/compositor_frame.h"
(...skipping 12 matching lines...) Expand all
23 OutputSurface* output_surface, 23 OutputSurface* output_surface,
24 ResourceProvider* resource_provider); 24 ResourceProvider* resource_provider);
25 virtual ~DelegatingRenderer(); 25 virtual ~DelegatingRenderer();
26 26
27 virtual const RendererCapabilities& Capabilities() const OVERRIDE; 27 virtual const RendererCapabilities& Capabilities() const OVERRIDE;
28 28
29 virtual bool CanReadPixels() const OVERRIDE; 29 virtual bool CanReadPixels() const OVERRIDE;
30 30
31 virtual void DrawFrame(RenderPassList* render_passes_in_draw_order) OVERRIDE; 31 virtual void DrawFrame(RenderPassList* render_passes_in_draw_order) OVERRIDE;
32 32
33 virtual void Finish() OVERRIDE {} 33 //virtual void Finish() OVERRIDE {}
34 34
35 virtual void SwapBuffers() OVERRIDE; 35 virtual void SwapBuffers() OVERRIDE;
36 virtual void ReceiveSwapBuffersAck(const CompositorFrameAck&) OVERRIDE; 36 virtual void ReceiveSwapBuffersAck(const CompositorFrameAck&) OVERRIDE;
37 37
38 virtual void GetFramebufferPixels(void* pixels, gfx::Rect rect) OVERRIDE; 38 virtual void GetFramebufferPixels(void* pixels, gfx::Rect rect) OVERRIDE;
39 39
40 virtual bool IsContextLost() OVERRIDE; 40 virtual bool IsContextLost() OVERRIDE;
41 41
42 virtual void SetVisible(bool visible) OVERRIDE; 42 virtual void SetVisible(bool visible) OVERRIDE;
43 43
(...skipping 12 matching lines...) Expand all
56 RendererCapabilities capabilities_; 56 RendererCapabilities capabilities_;
57 CompositorFrame frame_for_swap_buffers_; 57 CompositorFrame frame_for_swap_buffers_;
58 bool visible_; 58 bool visible_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer); 60 DISALLOW_COPY_AND_ASSIGN(DelegatingRenderer);
61 }; 61 };
62 62
63 } // namespace cc 63 } // namespace cc
64 64
65 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_ 65 #endif // CC_OUTPUT_DELEGATING_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/gl_renderer.h » ('j') | cc/output/gl_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698