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

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

Issue 13042012: Browser side changes for software compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | cc/output/software_renderer.cc » ('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 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_SOFTWARE_RENDERER_H_ 5 #ifndef CC_OUTPUT_SOFTWARE_RENDERER_H_
6 #define CC_OUTPUT_SOFTWARE_RENDERER_H_ 6 #define CC_OUTPUT_SOFTWARE_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void DrawTileQuad(const DrawingFrame* frame, 78 void DrawTileQuad(const DrawingFrame* frame,
79 const TileDrawQuad* quad); 79 const TileDrawQuad* quad);
80 void DrawRenderPassQuad(const DrawingFrame* frame, 80 void DrawRenderPassQuad(const DrawingFrame* frame,
81 const RenderPassDrawQuad* quad); 81 const RenderPassDrawQuad* quad);
82 void DrawUnsupportedQuad(const DrawingFrame* frame, 82 void DrawUnsupportedQuad(const DrawingFrame* frame,
83 const DrawQuad* quad); 83 const DrawQuad* quad);
84 84
85 RendererCapabilities capabilities_; 85 RendererCapabilities capabilities_;
86 bool visible_; 86 bool visible_;
87 bool is_scissor_enabled_; 87 bool is_scissor_enabled_;
88 bool is_viewport_changed_;
88 gfx::Rect scissor_rect_; 89 gfx::Rect scissor_rect_;
89 90
90 OutputSurface* output_surface_; 91 OutputSurface* output_surface_;
91 SoftwareOutputDevice* output_device_; 92 SoftwareOutputDevice* output_device_;
92 SkCanvas* root_canvas_; 93 SkCanvas* root_canvas_;
93 SkCanvas* current_canvas_; 94 SkCanvas* current_canvas_;
94 SkPaint current_paint_; 95 SkPaint current_paint_;
95 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware> 96 scoped_ptr<ResourceProvider::ScopedWriteLockSoftware>
96 current_framebuffer_lock_; 97 current_framebuffer_lock_;
97 CompositorFrame compositor_frame_; 98 CompositorFrame compositor_frame_;
98 99
99 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer); 100 DISALLOW_COPY_AND_ASSIGN(SoftwareRenderer);
100 }; 101 };
101 102
102 } // namespace cc 103 } // namespace cc
103 104
104 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_ 105 #endif // CC_OUTPUT_SOFTWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698