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

Side by Side Diff: content/browser/renderer_host/image_transport_factory.h

Issue 11861020: Aura: Browser-side changes for Composite-To-Mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 unsigned int texture_id) = 0; 82 unsigned int texture_id) = 0;
83 83
84 // Gets a GLHelper instance, associated with the shared context. This 84 // Gets a GLHelper instance, associated with the shared context. This
85 // GLHelper will get destroyed whenever the shared context is lost 85 // GLHelper will get destroyed whenever the shared context is lost
86 // (ImageTransportFactoryObserver::OnLostResources is called). 86 // (ImageTransportFactoryObserver::OnLostResources is called).
87 virtual GLHelper* GetGLHelper() = 0; 87 virtual GLHelper* GetGLHelper() = 0;
88 88
89 // Inserts a SyncPoint into the shared context. 89 // Inserts a SyncPoint into the shared context.
90 virtual uint32 InsertSyncPoint() = 0; 90 virtual uint32 InsertSyncPoint() = 0;
91 91
92 // Blocks waiting for the sync point on the service side.
93 virtual void WaitSyncPoint(uint32 sync_point) = 0;
94
92 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0; 95 virtual void AddObserver(ImageTransportFactoryObserver* observer) = 0;
93 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0; 96 virtual void RemoveObserver(ImageTransportFactoryObserver* observer) = 0;
94 }; 97 };
95 98
96 } // namespace content 99 } // namespace content
97 100
98 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_ 101 #endif // CONTENT_BROWSER_RENDERER_HOST_IMAGE_TRANSPORT_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698