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

Unified Diff: cc/resources/scoped_gpu_raster.h

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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/resources/recording_source_unittest.cc ('k') | cc/resources/scoped_gpu_raster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/scoped_gpu_raster.h
diff --git a/cc/resources/scoped_gpu_raster.h b/cc/resources/scoped_gpu_raster.h
deleted file mode 100644
index e70ebd0c35491350d1028eb1ee2e028e7aa99fb1..0000000000000000000000000000000000000000
--- a/cc/resources/scoped_gpu_raster.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 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_RESOURCES_SCOPED_GPU_RASTER_H_
-#define CC_RESOURCES_SCOPED_GPU_RASTER_H_
-
-#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
-#include "cc/output/context_provider.h"
-
-namespace cc {
-
-// The following class is needed to modify GL resources using GPU
-// raster. The user must ensure that they only use GPU raster on
-// GL resources while an instance of this class is alive.
-class CC_EXPORT ScopedGpuRaster {
- public:
- explicit ScopedGpuRaster(ContextProvider* context_provider);
- ~ScopedGpuRaster();
-
- private:
- void BeginGpuRaster();
- void EndGpuRaster();
-
- ContextProvider* context_provider_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedGpuRaster);
-};
-
-} // namespace cc
-
-#endif // CC_RESOURCES_SCOPED_GPU_RASTER_H_
« no previous file with comments | « cc/resources/recording_source_unittest.cc ('k') | cc/resources/scoped_gpu_raster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698