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

Unified Diff: Source/platform/graphics/filters/FETile.cpp

Issue 205033010: Remove --enable-accelerated-filters flag, Blink-side. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take AcceleratedImageBufferSurface behind the woodshed. Created 6 years, 9 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 | « Source/platform/graphics/filters/FELighting.cpp ('k') | Source/platform/graphics/filters/FETurbulence.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FETile.cpp
diff --git a/Source/platform/graphics/filters/FETile.cpp b/Source/platform/graphics/filters/FETile.cpp
index f2a91791b3ab48250c01c705316e6ff9945ab373..dc27d05d2b13cb3b42f2459ef4df15cc928a30f9 100644
--- a/Source/platform/graphics/filters/FETile.cpp
+++ b/Source/platform/graphics/filters/FETile.cpp
@@ -29,7 +29,6 @@
#include "platform/graphics/Pattern.h"
#include "platform/graphics/UnacceleratedImageBufferSurface.h"
#include "platform/graphics/filters/SkiaImageFilterBuilder.h"
-#include "platform/graphics/gpu/AcceleratedImageBufferSurface.h"
#include "platform/text/TextStream.h"
#include "platform/transforms/AffineTransform.h"
#include "third_party/skia/include/core/SkDevice.h"
@@ -73,12 +72,7 @@ void FETile::applySoftware()
OwnPtr<ImageBufferSurface> surface;
IntSize intTileSize = roundedIntSize(tileRect.size());
- if (filter()->isAccelerated()) {
- surface = adoptPtr(new AcceleratedImageBufferSurface(intTileSize));
- }
- if (!surface || !surface->isValid()) {
- surface = adoptPtr(new UnacceleratedImageBufferSurface(intTileSize));
- }
+ surface = adoptPtr(new UnacceleratedImageBufferSurface(intTileSize));
OwnPtr<ImageBuffer> tileImage = ImageBuffer::create(surface.release());
if (!tileImage)
return;
« no previous file with comments | « Source/platform/graphics/filters/FELighting.cpp ('k') | Source/platform/graphics/filters/FETurbulence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698