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 UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ | 5 #ifndef UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
6 #define UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ | 6 #define UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "ui/gfx/buffer_types.h" | 10 #include "ui/gfx/buffer_types.h" |
(...skipping 17 matching lines...) Expand all Loading... | |
28 int z_order, | 28 int z_order, |
29 gfx::OverlayTransform transform, | 29 gfx::OverlayTransform transform, |
30 const gfx::Rect& bounds_rect, | 30 const gfx::Rect& bounds_rect, |
31 const gfx::RectF& crop_rect) override; | 31 const gfx::RectF& crop_rect) override; |
32 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, | 32 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, |
33 uint64_t process_tracing_id, | 33 uint64_t process_tracing_id, |
34 const std::string& dump_name) override; | 34 const std::string& dump_name) override; |
35 | 35 |
36 static unsigned GetInternalFormatForTesting(gfx::BufferFormat format); | 36 static unsigned GetInternalFormatForTesting(gfx::BufferFormat format); |
37 | 37 |
38 void Flush() override; | |
reveman
2016/07/11 18:59:06
nit: move below ScheduleOverlayPlane
| |
39 | |
38 protected: | 40 protected: |
39 ~GLImageOzoneNativePixmap() override; | 41 ~GLImageOzoneNativePixmap() override; |
40 | 42 |
41 private: | 43 private: |
42 unsigned internalformat_; | 44 unsigned internalformat_; |
43 scoped_refptr<ui::NativePixmap> pixmap_; | 45 scoped_refptr<ui::NativePixmap> pixmap_; |
44 }; | 46 }; |
45 | 47 |
46 } // namespace gl | 48 } // namespace gl |
47 | 49 |
48 #endif // UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ | 50 #endif // UI_GL_GL_IMAGE_OZONE_NATIVE_PIXMAP_H_ |
OLD | NEW |