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

Unified Diff: cc/output/direct_renderer.h

Issue 2058013003: Revert of Optimize render passes with single quads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert "Optimize render passes with single quads" Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.h
diff --git a/cc/output/direct_renderer.h b/cc/output/direct_renderer.h
index 9f15ca40d467b3f8e7890d7d0826e65cfb853530..53339a69e81c94bf00e271a8b8770701897acaf0 100644
--- a/cc/output/direct_renderer.h
+++ b/cc/output/direct_renderer.h
@@ -13,7 +13,6 @@
#include "cc/output/ca_layer_overlay.h"
#include "cc/output/overlay_processor.h"
#include "cc/output/renderer.h"
-#include "cc/quads/tile_draw_quad.h"
#include "cc/raster/task_graph_runner.h"
#include "cc/resources/resource_provider.h"
#include "cc/resources/scoped_resource.h"
@@ -40,11 +39,6 @@ class CC_EXPORT DirectRenderer : public Renderer {
bool disable_picture_quad_image_filtering) override;
virtual void SwapBuffersComplete() {}
- // If a pass contains a single tile draw quad and can be drawn without
- // a render pass (e.g. applying a filter directly to the tile quad)
- // return that quad, otherwise return null.
- virtual const TileDrawQuad* CanPassBeDrawnDirectly(const RenderPass* pass);
-
struct CC_EXPORT DrawingFrame {
DrawingFrame();
~DrawingFrame();
@@ -158,8 +152,6 @@ class CC_EXPORT DirectRenderer : public Renderer {
std::unique_ptr<ScopedResource>,
RenderPassIdHash>
render_pass_textures_;
- std::unordered_map<RenderPassId, TileDrawQuad, RenderPassIdHash>
- render_pass_bypass_quads_;
OutputSurface* output_surface_;
ResourceProvider* resource_provider_;
std::unique_ptr<OverlayProcessor> overlay_processor_;
« no previous file with comments | « no previous file | cc/output/direct_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698