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

Unified Diff: cc/raster/gpu_rasterizer.h

Issue 1951193002: cc: Add mailbox support to ResourceProvider write locks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@worker_context_stream
Patch Set: vmpstr's review 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 | « cc/raster/gpu_raster_buffer_provider.cc ('k') | cc/raster/gpu_rasterizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/gpu_rasterizer.h
diff --git a/cc/raster/gpu_rasterizer.h b/cc/raster/gpu_rasterizer.h
deleted file mode 100644
index 592dea773ab3c31d83524f5f0eedc2b503fe8153..0000000000000000000000000000000000000000
--- a/cc/raster/gpu_rasterizer.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright 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.
-
-#ifndef CC_RASTER_GPU_RASTERIZER_H_
-#define CC_RASTER_GPU_RASTERIZER_H_
-
-#include <vector>
-
-#include "base/macros.h"
-#include "cc/base/cc_export.h"
-#include "cc/playback/raster_source.h"
-#include "cc/resources/resource_pool.h"
-#include "cc/tiles/tile.h"
-#include "third_party/skia/include/core/SkMultiPictureDraw.h"
-
-namespace cc {
-
-class ContextProvider;
-class RasterSource;
-class ResourceProvider;
-
-class CC_EXPORT GpuRasterizer {
- public:
- ~GpuRasterizer();
-
- void RasterizeSource(ResourceProvider::ScopedWriteLockGr* write_lock,
- const RasterSource* raster_source,
- const gfx::Rect& raster_full_rect,
- const gfx::Rect& playback_rect,
- float scale,
- const RasterSource::PlaybackSettings& playback_settings);
-
- ResourceProvider* resource_provider() const { return resource_provider_; }
- ContextProvider* worker_context_provider() const {
- return worker_context_provider_;
- }
-
- private:
- GpuRasterizer(ContextProvider* worker_context_provider,
- ResourceProvider* resource_provider,
- bool use_distance_filed_text,
- int msaa_sample_count);
-
- ContextProvider* worker_context_provider_;
- ResourceProvider* resource_provider_;
-
- bool use_distance_field_text_;
- int msaa_sample_count_;
-
- friend class GpuRasterBufferProvider;
- DISALLOW_COPY_AND_ASSIGN(GpuRasterizer);
-};
-
-} // namespace cc
-
-#endif // CC_RASTER_GPU_RASTERIZER_H_
« no previous file with comments | « cc/raster/gpu_raster_buffer_provider.cc ('k') | cc/raster/gpu_rasterizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698