OLD | NEW |
1 #include <cstdio> | 1 #include <cstdio> |
2 #include <string> | 2 #include <string> |
3 | 3 |
4 #include "ppapi/cpp/completion_callback.h" | 4 #include "ppapi/cpp/completion_callback.h" |
5 #include "ppapi/cpp/graphics_2d.h" | 5 #include "ppapi/cpp/graphics_2d.h" |
6 #include "ppapi/cpp/image_data.h" | 6 #include "ppapi/cpp/image_data.h" |
7 #include "ppapi/cpp/instance.h" | 7 #include "ppapi/cpp/instance.h" |
8 #include "ppapi/cpp/module.h" | 8 #include "ppapi/cpp/module.h" |
9 #include "ppapi/cpp/var.h" | 9 #include "ppapi/cpp/var.h" |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual pp::Instance* CreateInstance(PP_Instance instance) { | 97 virtual pp::Instance* CreateInstance(PP_Instance instance) { |
98 return new SkiaInstance(instance); | 98 return new SkiaInstance(instance); |
99 } | 99 } |
100 }; | 100 }; |
101 | 101 |
102 namespace pp { | 102 namespace pp { |
103 Module* CreateModule() { | 103 Module* CreateModule() { |
104 return new SkiaModule(); | 104 return new SkiaModule(); |
105 } | 105 } |
106 } // namespace pp | 106 } // namespace pp |
107 | |
108 /////////////////////////////////////////// | |
109 ////////////// SkThread impl ////////////// | |
110 /////////////////////////////////////////// | |
111 | |
112 bool SkThread::setProcessorAffinity(unsigned int processor) { | |
113 return false; | |
114 } | |
OLD | NEW |