OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MAC_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MAC_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MAC_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // The "GPU plugin" is currently implemented as a special kind of | 9 // The "GPU plugin" is currently implemented as a special kind of |
10 // NPAPI plugin to provide high-performance on-screen 3D rendering for | 10 // NPAPI plugin to provide high-performance on-screen 3D rendering for |
11 // Pepper 3D. | 11 // Pepper 3D. |
12 // | 12 // |
13 // On Windows and X11 platforms the GPU plugin relies on cross-process | 13 // On Windows and X11 platforms the GPU plugin relies on cross-process |
14 // parenting of windows, which is not supported via any public APIs in | 14 // parenting of windows, which is not supported via any public APIs in |
15 // the Mac OS X window system. | 15 // the Mac OS X window system. |
16 // | 16 // |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 // Releases the IOSurface reference, if any, retained by this object. | 143 // Releases the IOSurface reference, if any, retained by this object. |
144 void ReleaseIOSurface(); | 144 void ReleaseIOSurface(); |
145 | 145 |
146 // Enqueue our texture for later deletion. | 146 // Enqueue our texture for later deletion. |
147 void EnqueueTextureForDeletion(); | 147 void EnqueueTextureForDeletion(); |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerMac); | 149 DISALLOW_COPY_AND_ASSIGN(AcceleratedSurfaceContainerMac); |
150 }; | 150 }; |
151 | 151 |
152 #endif // CHROME_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MAC_H_ | 152 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_PLUGIN_CONTAINER_MAC_H_ |
153 | |
OLD | NEW |