OLD | NEW |
---|---|
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef UI_GL_GL_IMAGE_EGL_H_ | 5 #ifndef UI_GL_GL_IMAGE_EGL_H_ |
6 #define UI_GL_GL_IMAGE_EGL_H_ | 6 #define UI_GL_GL_IMAGE_EGL_H_ |
7 | 7 |
8 #include "base/threading/thread_checker.h" | 8 #include "base/threading/thread_checker.h" |
9 #include "ui/gl/gl_bindings.h" | 9 #include "ui/gl/gl_bindings.h" |
10 #include "ui/gl/gl_image.h" | 10 #include "ui/gl/gl_image.h" |
(...skipping 17 matching lines...) Expand all Loading... | |
28 const Rect& rect) override; | 28 const Rect& rect) override; |
29 void WillUseTexImage() override {} | 29 void WillUseTexImage() override {} |
30 void DidUseTexImage() override {} | 30 void DidUseTexImage() override {} |
31 void WillModifyTexImage() override {} | 31 void WillModifyTexImage() override {} |
32 void DidModifyTexImage() override {} | 32 void DidModifyTexImage() override {} |
33 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 33 bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
34 int z_order, | 34 int z_order, |
35 OverlayTransform transform, | 35 OverlayTransform transform, |
36 const Rect& bounds_rect, | 36 const Rect& bounds_rect, |
37 const RectF& crop_rect) override; | 37 const RectF& crop_rect) override; |
38 void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd, | |
reveman
2015/08/18 08:32:52
This is not the final class. SurfaceTexture is and
ericrk
2015/08/18 09:00:47
Done.
| |
39 uint64_t process_tracing_id, | |
40 const std::string& dump_name) override; | |
38 | 41 |
39 protected: | 42 protected: |
40 ~GLImageEGL() override; | 43 ~GLImageEGL() override; |
41 | 44 |
42 EGLImageKHR egl_image_; | 45 EGLImageKHR egl_image_; |
43 const gfx::Size size_; | 46 const gfx::Size size_; |
44 base::ThreadChecker thread_checker_; | 47 base::ThreadChecker thread_checker_; |
45 | 48 |
46 private: | 49 private: |
47 DISALLOW_COPY_AND_ASSIGN(GLImageEGL); | 50 DISALLOW_COPY_AND_ASSIGN(GLImageEGL); |
48 }; | 51 }; |
49 | 52 |
50 } // namespace gfx | 53 } // namespace gfx |
51 | 54 |
52 #endif // UI_GL_GL_IMAGE_EGL_H_ | 55 #endif // UI_GL_GL_IMAGE_EGL_H_ |
OLD | NEW |