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

Unified Diff: components/viz/display_compositor/buffer_queue.h

Issue 2873243002: Move components/display_compositor to components/viz/display_compositor (Closed)
Patch Set: Rebase Created 3 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 | « components/viz/display_compositor/OWNERS ('k') | components/viz/display_compositor/buffer_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/viz/display_compositor/buffer_queue.h
diff --git a/components/display_compositor/buffer_queue.h b/components/viz/display_compositor/buffer_queue.h
similarity index 91%
rename from components/display_compositor/buffer_queue.h
rename to components/viz/display_compositor/buffer_queue.h
index c6bedbb1757ff8cc06f73889f3d34d3acbd087f9..a0e91441eb0e7f07bf2f8129a8c50f090fdae707 100644
--- a/components/display_compositor/buffer_queue.h
+++ b/components/viz/display_compositor/buffer_queue.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_
-#define COMPONENTS_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_
+#ifndef COMPONENTS_VIZ_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_
+#define COMPONENTS_VIZ_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_
#include <stddef.h>
@@ -13,7 +13,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "components/display_compositor/display_compositor_export.h"
+#include "components/viz/viz_export.h"
#include "gpu/ipc/common/surface_handle.h"
#include "ui/gfx/buffer_types.h"
#include "ui/gfx/color_space.h"
@@ -32,7 +32,7 @@ class GLES2Interface;
}
}
-namespace display_compositor {
+namespace viz {
class GLHelper;
@@ -40,7 +40,7 @@ class GLHelper;
// created using CHROMIUM_image. Double/triple buffering is implemented
// internally. Doublebuffering occurs if PageFlipComplete is called before the
// next BindFramebuffer call, otherwise it creates extra buffers.
-class DISPLAY_COMPOSITOR_EXPORT BufferQueue {
+class VIZ_EXPORT BufferQueue {
public:
BufferQueue(gpu::gles2::GLES2Interface* gl,
uint32_t texture_target,
@@ -70,7 +70,7 @@ class DISPLAY_COMPOSITOR_EXPORT BufferQueue {
friend class BufferQueueTest;
friend class AllocatedSurface;
- struct DISPLAY_COMPOSITOR_EXPORT AllocatedSurface {
+ struct VIZ_EXPORT AllocatedSurface {
AllocatedSurface(BufferQueue* buffer_queue,
std::unique_ptr<gfx::GpuMemoryBuffer> buffer,
uint32_t texture,
@@ -131,6 +131,6 @@ class DISPLAY_COMPOSITOR_EXPORT BufferQueue {
DISALLOW_COPY_AND_ASSIGN(BufferQueue);
};
-} // namespace display_compositor
+} // namespace viz
-#endif // COMPONENTS_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_
+#endif // COMPONENTS_VIZ_DISPLAY_COMPOSITOR_BUFFER_QUEUE_H_
« no previous file with comments | « components/viz/display_compositor/OWNERS ('k') | components/viz/display_compositor/buffer_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698