OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 PAPPI_TESTS_TEST_COMPOSITOR_H_ | 5 #ifndef PAPPI_TESTS_TEST_COMPOSITOR_H_ |
6 #define PAPPI_TESTS_TEST_COMPOSITOR_H_ | 6 #define PAPPI_TESTS_TEST_COMPOSITOR_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <set> | 10 #include <set> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "ppapi/cpp/compositor.h" | 13 #include "ppapi/cpp/compositor.h" |
12 #include "ppapi/cpp/compositor_layer.h" | 14 #include "ppapi/cpp/compositor_layer.h" |
13 #include "ppapi/cpp/graphics_3d.h" | 15 #include "ppapi/cpp/graphics_3d.h" |
14 #include "ppapi/lib/gl/include/GLES2/gl2.h" | 16 #include "ppapi/lib/gl/include/GLES2/gl2.h" |
15 #include "ppapi/tests/test_case.h" | 17 #include "ppapi/tests/test_case.h" |
16 | 18 |
17 class TestCompositor : public TestCase { | 19 class TestCompositor : public TestCase { |
(...skipping 25 matching lines...) Expand all Loading... |
43 | 45 |
44 // Helper functions | 46 // Helper functions |
45 std::string CreateTexture(uint32_t* texture); | 47 std::string CreateTexture(uint32_t* texture); |
46 std::string ReleaseTexture(uint32_t texture); | 48 std::string ReleaseTexture(uint32_t texture); |
47 std::string CreateImage(pp::ImageData* image); | 49 std::string CreateImage(pp::ImageData* image); |
48 std::string SetColorLayer(pp::CompositorLayer layer, int32_t result); | 50 std::string SetColorLayer(pp::CompositorLayer layer, int32_t result); |
49 | 51 |
50 }; | 52 }; |
51 | 53 |
52 #endif // PAPPI_TESTS_TEST_COMPOSItor_H_ | 54 #endif // PAPPI_TESTS_TEST_COMPOSItor_H_ |
OLD | NEW |