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

Unified Diff: gpu/skia_runner/sk_picture_rasterizer.h

Issue 1183513006: Revert of gpu: play skp files through the command buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « gpu/skia_runner/in_process_graphics_system.cc ('k') | gpu/skia_runner/sk_picture_rasterizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/skia_runner/sk_picture_rasterizer.h
diff --git a/gpu/skia_runner/sk_picture_rasterizer.h b/gpu/skia_runner/sk_picture_rasterizer.h
deleted file mode 100644
index 380bfa0de06a6394355c23ce33ba15368962d4e4..0000000000000000000000000000000000000000
--- a/gpu/skia_runner/sk_picture_rasterizer.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/memory/scoped_ptr.h"
-#include "gpu/command_buffer/client/gl_in_process_context.h"
-#include "skia/ext/refptr.h"
-#include "third_party/skia/include/core/SkPicture.h"
-#include "third_party/skia/include/gpu/GrContext.h"
-
-namespace skia_runner {
-
-class SkPictureRasterizer {
- public:
- SkPictureRasterizer(skia::RefPtr<GrContext> gr_context, int max_texture_size);
- ~SkPictureRasterizer();
-
- skia::RefPtr<SkImage> Rasterize(const SkPicture* picture) const;
-
- void set_msaa_sample_count(int msaa_sample_count) {
- msaa_sample_count_ = msaa_sample_count;
- }
- void set_use_lcd_text(bool use_lcd_text) { use_lcd_text_ = use_lcd_text; }
- void set_use_distance_field_text(bool use_distance_field_text) {
- use_distance_field_text_ = use_distance_field_text;
- }
-
- private:
- skia::RefPtr<SkImage> RasterizeTile(const SkPicture* picture,
- const SkRect& rect) const;
-
- bool use_lcd_text_;
- bool use_distance_field_text_;
- int msaa_sample_count_;
-
- int max_texture_size_;
- skia::RefPtr<GrContext> gr_context_;
-};
-
-} // namespace skia_runner
« no previous file with comments | « gpu/skia_runner/in_process_graphics_system.cc ('k') | gpu/skia_runner/sk_picture_rasterizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698