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

Side by Side Diff: content/browser/compositor/gpu_surfaceless_browser_compositor_output_surface.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_SUR FACE_H_
7 7
8 #include <memory>
9
8 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" 10 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h"
9 11
10 namespace gpu { 12 namespace gpu {
11 class GpuMemoryBufferManager; 13 class GpuMemoryBufferManager;
12 } 14 }
13 15
14 namespace content { 16 namespace content {
15 17
16 class BufferQueue; 18 class BufferQueue;
17 class GLHelper; 19 class GLHelper;
(...skipping 30 matching lines...) Expand all
48 50
49 unsigned int internalformat_; 51 unsigned int internalformat_;
50 std::unique_ptr<GLHelper> gl_helper_; 52 std::unique_ptr<GLHelper> gl_helper_;
51 std::unique_ptr<BufferQueue> output_surface_; 53 std::unique_ptr<BufferQueue> output_surface_;
52 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 54 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
53 }; 55 };
54 56
55 } // namespace content 57 } // namespace content
56 58
57 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_ SURFACE_H_ 59 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_ SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698