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

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

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/direct_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_DIRECT_RENDERER_H_ 5 #ifndef CC_OUTPUT_DIRECT_RENDERER_H_
6 #define CC_OUTPUT_DIRECT_RENDERER_H_ 6 #define CC_OUTPUT_DIRECT_RENDERER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 bool disable_picture_quad_image_filtering; 53 bool disable_picture_quad_image_filtering;
54 54
55 OverlayCandidateList overlay_list; 55 OverlayCandidateList overlay_list;
56 }; 56 };
57 57
58 void SetEnlargePassTextureAmountForTesting(const gfx::Vector2d& amount); 58 void SetEnlargePassTextureAmountForTesting(const gfx::Vector2d& amount);
59 59
60 protected: 60 protected:
61 DirectRenderer(RendererClient* client, 61 DirectRenderer(RendererClient* client,
62 const LayerTreeSettings* settings, 62 const RendererSettings* settings,
63 OutputSurface* output_surface, 63 OutputSurface* output_surface,
64 ResourceProvider* resource_provider); 64 ResourceProvider* resource_provider);
65 65
66 static gfx::RectF QuadVertexRect(); 66 static gfx::RectF QuadVertexRect();
67 static void QuadRectTransform(gfx::Transform* quad_rect_transform, 67 static void QuadRectTransform(gfx::Transform* quad_rect_transform,
68 const gfx::Transform& quad_transform, 68 const gfx::Transform& quad_transform,
69 const gfx::RectF& quad_rect); 69 const gfx::RectF& quad_rect);
70 void InitializeViewport(DrawingFrame* frame, 70 void InitializeViewport(DrawingFrame* frame,
71 const gfx::Rect& draw_rect, 71 const gfx::Rect& draw_rect,
72 const gfx::Rect& viewport_rect, 72 const gfx::Rect& viewport_rect,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 private: 132 private:
133 gfx::Vector2d enlarge_pass_texture_amount_; 133 gfx::Vector2d enlarge_pass_texture_amount_;
134 134
135 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); 135 DISALLOW_COPY_AND_ASSIGN(DirectRenderer);
136 }; 136 };
137 137
138 } // namespace cc 138 } // namespace cc
139 139
140 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ 140 #endif // CC_OUTPUT_DIRECT_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/direct_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698