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

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

Issue 137893007: Add the UI compositor to the Mac build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missed file 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #include "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "content/browser/aura/image_transport_factory.h" 6 #include "content/browser/compositor/image_transport_factory.h"
7 #include "gpu/command_buffer/common/mailbox.h" 7 #include "gpu/command_buffer/common/mailbox.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 class GLHelper; 11 class GLHelper;
12 12
13 // This class holds a texture id and gpu::Mailbox, and deletes the texture 13 // This class holds a texture id and gpu::Mailbox, and deletes the texture
14 // id when the object itself is destroyed. Should only be created if a GLHelper 14 // id when the object itself is destroyed. Should only be created if a GLHelper
15 // exists on the ImageTransportFactory. 15 // exists on the ImageTransportFactory.
16 class OwnedMailbox : public base::RefCounted<OwnedMailbox>, 16 class OwnedMailbox : public base::RefCounted<OwnedMailbox>,
(...skipping 17 matching lines...) Expand all
34 private: 34 private:
35 friend class base::RefCounted<OwnedMailbox>; 35 friend class base::RefCounted<OwnedMailbox>;
36 36
37 uint32 texture_id_; 37 uint32 texture_id_;
38 gpu::Mailbox mailbox_; 38 gpu::Mailbox mailbox_;
39 uint32 sync_point_; 39 uint32 sync_point_;
40 GLHelper* gl_helper_; 40 GLHelper* gl_helper_;
41 }; 41 };
42 42
43 } // namespace content 43 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/compositor/no_transport_image_transport_factory.cc ('k') | content/browser/compositor/owned_mailbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698