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

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

Issue 2399983003: cc: Make OutputSurface::Reshape abstract (Closed)
Patch Set: reshapeabstract: . Created 4 years, 2 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/direct_renderer.cc ('k') | cc/output/gl_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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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_GL_RENDERER_H_ 5 #ifndef CC_OUTPUT_GL_RENDERER_H_
6 #define CC_OUTPUT_GL_RENDERER_H_ 6 #define CC_OUTPUT_GL_RENDERER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void ApplyBlendModeUsingBlendFunc(SkXfermode::Mode blend_mode); 163 void ApplyBlendModeUsingBlendFunc(SkXfermode::Mode blend_mode);
164 void RestoreBlendFuncToDefault(SkXfermode::Mode blend_mode); 164 void RestoreBlendFuncToDefault(SkXfermode::Mode blend_mode);
165 165
166 gfx::Rect GetBackdropBoundingBoxForRenderPassQuad( 166 gfx::Rect GetBackdropBoundingBoxForRenderPassQuad(
167 DrawingFrame* frame, 167 DrawingFrame* frame,
168 const RenderPassDrawQuad* quad, 168 const RenderPassDrawQuad* quad,
169 const gfx::Transform& contents_device_transform, 169 const gfx::Transform& contents_device_transform,
170 const gfx::QuadF* clip_region, 170 const gfx::QuadF* clip_region,
171 bool use_aa); 171 bool use_aa);
172 std::unique_ptr<ScopedResource> GetBackdropTexture( 172 std::unique_ptr<ScopedResource> GetBackdropTexture(
173 DrawingFrame* frame,
173 const gfx::Rect& bounding_rect); 174 const gfx::Rect& bounding_rect);
174 175
175 static bool ShouldApplyBackgroundFilters(const RenderPassDrawQuad* quad); 176 static bool ShouldApplyBackgroundFilters(const RenderPassDrawQuad* quad);
176 sk_sp<SkImage> ApplyBackgroundFilters(const RenderPassDrawQuad* quad, 177 sk_sp<SkImage> ApplyBackgroundFilters(const RenderPassDrawQuad* quad,
177 ScopedResource* background_texture, 178 ScopedResource* background_texture,
178 const gfx::RectF& rect); 179 const gfx::RectF& rect);
179 180
180 const TileDrawQuad* CanPassBeDrawnDirectly(const RenderPass* pass) override; 181 const TileDrawQuad* CanPassBeDrawnDirectly(const RenderPass* pass) override;
181 182
182 void DrawRenderPassQuad(DrawingFrame* frame, 183 void DrawRenderPassQuad(DrawingFrame* frame,
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 bool force_drawing_frame_framebuffer_unflipped_ = false; 542 bool force_drawing_frame_framebuffer_unflipped_ = false;
542 543
543 BoundGeometry bound_geometry_; 544 BoundGeometry bound_geometry_;
544 ColorLUTCache color_lut_cache_; 545 ColorLUTCache color_lut_cache_;
545 DISALLOW_COPY_AND_ASSIGN(GLRenderer); 546 DISALLOW_COPY_AND_ASSIGN(GLRenderer);
546 }; 547 };
547 548
548 } // namespace cc 549 } // namespace cc
549 550
550 #endif // CC_OUTPUT_GL_RENDERER_H_ 551 #endif // CC_OUTPUT_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « cc/output/direct_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698