| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_BITMAP_UPLOADER_BITMAP_UPLOADER_H_ | 5 #ifndef COMPONENTS_BITMAP_UPLOADER_BITMAP_UPLOADER_H_ |
| 6 #define COMPONENTS_BITMAP_UPLOADER_BITMAP_UPLOADER_H_ | 6 #define COMPONENTS_BITMAP_UPLOADER_BITMAP_UPLOADER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "components/bitmap_uploader/bitmap_uploader_export.h" | 15 #include "components/bitmap_uploader/bitmap_uploader_export.h" |
| 16 #include "components/mus/public/cpp/window_surface.h" | |
| 17 #include "components/mus/public/cpp/window_surface_client.h" | |
| 18 #include "components/mus/public/interfaces/surface.mojom.h" | |
| 19 #include "gpu/GLES2/gl2chromium.h" | 16 #include "gpu/GLES2/gl2chromium.h" |
| 20 #include "gpu/GLES2/gl2extchromium.h" | 17 #include "gpu/GLES2/gl2extchromium.h" |
| 18 #include "services/ui/public/cpp/window_surface.h" |
| 19 #include "services/ui/public/cpp/window_surface_client.h" |
| 20 #include "services/ui/public/interfaces/surface.mojom.h" |
| 21 | 21 |
| 22 namespace mus { | 22 namespace mus { |
| 23 class GLES2Context; | 23 class GLES2Context; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace shell { | 26 namespace shell { |
| 27 class Connector; | 27 class Connector; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace bitmap_uploader { | 30 namespace bitmap_uploader { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 uint32_t next_resource_id_; | 85 uint32_t next_resource_id_; |
| 86 uint32_t id_namespace_; | 86 uint32_t id_namespace_; |
| 87 base::hash_map<uint32_t, uint32_t> resource_to_texture_id_map_; | 87 base::hash_map<uint32_t, uint32_t> resource_to_texture_id_map_; |
| 88 | 88 |
| 89 DISALLOW_COPY_AND_ASSIGN(BitmapUploader); | 89 DISALLOW_COPY_AND_ASSIGN(BitmapUploader); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace bitmap_uploader | 92 } // namespace bitmap_uploader |
| 93 | 93 |
| 94 #endif // COMPONENTS_BITMAP_UPLOADER_BITMAP_UPLAODER_H_ | 94 #endif // COMPONENTS_BITMAP_UPLOADER_BITMAP_UPLAODER_H_ |
| OLD | NEW |