| OLD | NEW |
| 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> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" | 10 #include "content/browser/compositor/gpu_browser_compositor_output_surface.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 gfx::SwapResult result, | 54 gfx::SwapResult result, |
| 55 const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) override; | 55 const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) override; |
| 56 | 56 |
| 57 private: | 57 private: |
| 58 gfx::Size reshape_size_; | 58 gfx::Size reshape_size_; |
| 59 gfx::Size swap_size_; | 59 gfx::Size swap_size_; |
| 60 | 60 |
| 61 std::unique_ptr<display_compositor::GLHelper> gl_helper_; | 61 std::unique_ptr<display_compositor::GLHelper> gl_helper_; |
| 62 std::unique_ptr<display_compositor::BufferQueue> buffer_queue_; | 62 std::unique_ptr<display_compositor::BufferQueue> buffer_queue_; |
| 63 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; | 63 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; |
| 64 size_t swap_count_ = 0; |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 } // namespace content | 67 } // namespace content |
| 67 | 68 |
| 68 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_
SURFACE_H_ | 69 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_SURFACELESS_BROWSER_COMPOSITOR_OUTPUT_
SURFACE_H_ |
| OLD | NEW |