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

Side by Side Diff: ui/gl/gl_image_shared_memory.h

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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
« no previous file with comments | « ui/gl/gl_image_ref_counted_memory.h ('k') | ui/gl/gl_image_stub.h » ('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 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 UI_GL_GL_IMAGE_SHARED_MEMORY_H_ 5 #ifndef UI_GL_GL_IMAGE_SHARED_MEMORY_H_
6 #define UI_GL_GL_IMAGE_SHARED_MEMORY_H_ 6 #define UI_GL_GL_IMAGE_SHARED_MEMORY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/shared_memory_handle.h" 14 #include "base/memory/shared_memory_handle.h"
15 #include "ui/gfx/generic_shared_memory_id.h" 15 #include "ui/gfx/generic_shared_memory_id.h"
16 #include "ui/gl/gl_export.h"
16 #include "ui/gl/gl_image_memory.h" 17 #include "ui/gl/gl_image_memory.h"
17 18
18 namespace base { 19 namespace base {
19 class SharedMemory; 20 class SharedMemory;
20 } 21 }
21 22
22 namespace gl { 23 namespace gl {
23 24
24 class GL_EXPORT GLImageSharedMemory : public GLImageMemory { 25 class GL_EXPORT GLImageSharedMemory : public GLImageMemory {
25 public: 26 public:
(...skipping 17 matching lines...) Expand all
43 private: 44 private:
44 std::unique_ptr<base::SharedMemory> shared_memory_; 45 std::unique_ptr<base::SharedMemory> shared_memory_;
45 gfx::GenericSharedMemoryId shared_memory_id_; 46 gfx::GenericSharedMemoryId shared_memory_id_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(GLImageSharedMemory); 48 DISALLOW_COPY_AND_ASSIGN(GLImageSharedMemory);
48 }; 49 };
49 50
50 } // namespace gl 51 } // namespace gl
51 52
52 #endif // UI_GL_GL_IMAGE_SHARED_MEMORY_H_ 53 #endif // UI_GL_GL_IMAGE_SHARED_MEMORY_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_image_ref_counted_memory.h ('k') | ui/gl/gl_image_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698