mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update surfman to 0.2 and remove glutin
This commit is contained in:
parent
9dbc6554f0
commit
8bb1732258
94 changed files with 2265 additions and 1513 deletions
|
@ -5,6 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "pch.h"
|
||||
#include <EGL/egl.h>
|
||||
#include "logs.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -23,7 +24,8 @@ class ServoDelegate;
|
|||
|
||||
class Servo {
|
||||
public:
|
||||
Servo(hstring, hstring, GLsizei, GLsizei, float, ServoDelegate &);
|
||||
Servo(hstring, hstring, GLsizei, GLsizei, EGLNativeWindowType, float,
|
||||
ServoDelegate &);
|
||||
~Servo();
|
||||
ServoDelegate &Delegate() { return mDelegate; }
|
||||
|
||||
|
@ -100,8 +102,6 @@ public:
|
|||
virtual void OnServoAnimatingChanged(bool) = 0;
|
||||
virtual void OnServoIMEStateChanged(bool) = 0;
|
||||
virtual void OnServoDevtoolsStarted(bool, const unsigned int) = 0;
|
||||
virtual void Flush() = 0;
|
||||
virtual void MakeCurrent() = 0;
|
||||
virtual void OnServoMediaSessionMetadata(hstring, hstring, hstring) = 0;
|
||||
virtual void OnServoMediaSessionPlaybackStateChange(int) = 0;
|
||||
virtual void OnServoPromptAlert(hstring, bool) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue