Lines Matching refs:pp
37 class GLES2DemoInstance : public pp::Instance,
38 public pp::Graphics3DClient {
40 GLES2DemoInstance(PP_Instance instance, pp::Module* module);
43 // pp::Instance implementation (see PPP_Instance).
44 virtual void DidChangeView(const pp::Rect& position,
45 const pp::Rect& clip_ignored);
47 // pp::Graphics3DClient implementation.
54 pp::CompletionCallback cb = callback_factory_.NewCallback(
59 virtual bool HandleInputEvent(const pp::InputEvent& event) {
62 pp::Fullscreen(this).SetFullscreen(fullscreen_);
73 pp::Size plugin_size_;
74 pp::CompletionCallbackFactory<GLES2DemoInstance> callback_factory_;
78 pp::Module* module_;
81 pp::Graphics3D* context_;
85 GLES2DemoInstance::GLES2DemoInstance(PP_Instance instance, pp::Module* module)
86 : pp::Instance(instance), pp::Graphics3DClient(this),
101 const pp::Rect& position, const pp::Rect& clip_ignored) {
112 class GLES2DemoModule : public pp::Module {
114 GLES2DemoModule() : pp::Module() {}
117 virtual pp::Instance* CreateInstance(PP_Instance instance) {
142 context_ = new pp::Graphics3D(this, context_attributes);
166 pp::CompletionCallback cb = callback_factory_.NewCallback(
174 namespace pp {
179 } // namespace pp