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

Side by Side Diff: content/browser/aura/gpu_process_transport_factory.h

Issue 132473004: aura: Remove sync point methods from ImageTransportFactory api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/aura/gpu_process_transport_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/id_map.h" 10 #include "base/id_map.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE; 54 virtual gfx::GLSurfaceHandle CreateSharedSurfaceHandle() OVERRIDE;
55 virtual void DestroySharedSurfaceHandle( 55 virtual void DestroySharedSurfaceHandle(
56 gfx::GLSurfaceHandle surface) OVERRIDE; 56 gfx::GLSurfaceHandle surface) OVERRIDE;
57 virtual scoped_refptr<ui::Texture> CreateTransportClient( 57 virtual scoped_refptr<ui::Texture> CreateTransportClient(
58 float device_scale_factor) OVERRIDE; 58 float device_scale_factor) OVERRIDE;
59 virtual scoped_refptr<ui::Texture> CreateOwnedTexture( 59 virtual scoped_refptr<ui::Texture> CreateOwnedTexture(
60 const gfx::Size& size, 60 const gfx::Size& size,
61 float device_scale_factor, 61 float device_scale_factor,
62 unsigned int texture_id) OVERRIDE; 62 unsigned int texture_id) OVERRIDE;
63 virtual GLHelper* GetGLHelper() OVERRIDE; 63 virtual GLHelper* GetGLHelper() OVERRIDE;
64 virtual uint32 InsertSyncPoint() OVERRIDE;
65 virtual void WaitSyncPoint(uint32 sync_point) OVERRIDE;
66 virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE; 64 virtual void AddObserver(ImageTransportFactoryObserver* observer) OVERRIDE;
67 virtual void RemoveObserver( 65 virtual void RemoveObserver(
68 ImageTransportFactoryObserver* observer) OVERRIDE; 66 ImageTransportFactoryObserver* observer) OVERRIDE;
69 67
70 private: 68 private:
71 struct PerCompositorData; 69 struct PerCompositorData;
72 70
73 PerCompositorData* CreatePerCompositorData(ui::Compositor* compositor); 71 PerCompositorData* CreatePerCompositorData(ui::Compositor* compositor);
74 scoped_ptr<WebGraphicsContext3DCommandBufferImpl> 72 scoped_ptr<WebGraphicsContext3DCommandBufferImpl>
75 CreateContextCommon(int surface_id); 73 CreateContextCommon(int surface_id);
(...skipping 14 matching lines...) Expand all
90 IDMap<BrowserCompositorOutputSurface> output_surface_map_; 88 IDMap<BrowserCompositorOutputSurface> output_surface_map_;
91 89
92 scoped_refptr<BrowserCompositorOutputSurfaceProxy> output_surface_proxy_; 90 scoped_refptr<BrowserCompositorOutputSurfaceProxy> output_surface_proxy_;
93 91
94 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 92 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
95 }; 93 };
96 94
97 } // namespace content 95 } // namespace content
98 96
99 #endif // CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_ 97 #endif // CONTENT_BROWSER_AURA_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/aura/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698