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

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

Issue 411643002: Early wait on texture resource sync points in gl_renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix missing calls to WaitSyncPointIfNeeded in ResourceProvider tests. Created 6 years, 4 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
« no previous file with comments | « cc/output/delegating_renderer_unittest.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 22 matching lines...) Expand all
33 virtual void DrawFrame(RenderPassList* render_passes_in_draw_order, 33 virtual void DrawFrame(RenderPassList* render_passes_in_draw_order,
34 float device_scale_factor, 34 float device_scale_factor,
35 const gfx::Rect& device_viewport_rect, 35 const gfx::Rect& device_viewport_rect,
36 const gfx::Rect& device_clip_rect, 36 const gfx::Rect& device_clip_rect,
37 bool disable_picture_quad_image_filtering) OVERRIDE; 37 bool disable_picture_quad_image_filtering) OVERRIDE;
38 38
39 struct CC_EXPORT DrawingFrame { 39 struct CC_EXPORT DrawingFrame {
40 DrawingFrame(); 40 DrawingFrame();
41 ~DrawingFrame(); 41 ~DrawingFrame();
42 42
43 const RenderPassList* render_passes_in_draw_order;
43 const RenderPass* root_render_pass; 44 const RenderPass* root_render_pass;
44 const RenderPass* current_render_pass; 45 const RenderPass* current_render_pass;
45 const ScopedResource* current_texture; 46 const ScopedResource* current_texture;
46 47
47 gfx::Rect root_damage_rect; 48 gfx::Rect root_damage_rect;
48 gfx::Rect device_viewport_rect; 49 gfx::Rect device_viewport_rect;
49 gfx::Rect device_clip_rect; 50 gfx::Rect device_clip_rect;
50 51
51 gfx::Transform projection_matrix; 52 gfx::Transform projection_matrix;
52 gfx::Transform window_matrix; 53 gfx::Transform window_matrix;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 private: 133 private:
133 gfx::Vector2d enlarge_pass_texture_amount_; 134 gfx::Vector2d enlarge_pass_texture_amount_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(DirectRenderer); 136 DISALLOW_COPY_AND_ASSIGN(DirectRenderer);
136 }; 137 };
137 138
138 } // namespace cc 139 } // namespace cc
139 140
140 #endif // CC_OUTPUT_DIRECT_RENDERER_H_ 141 #endif // CC_OUTPUT_DIRECT_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/delegating_renderer_unittest.cc ('k') | cc/output/direct_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698