[tests] Add unit test for style loading failures

This commit is contained in:
Thiago Marcos P. Santos
2016-08-24 19:57:16 +03:00
parent c98f4f476b
commit 1d7a5b0fe0
3 changed files with 42 additions and 0 deletions

View File

@@ -43,10 +43,12 @@ public:
void invalidate() override;
void activate() override;
void deactivate() override;
void notifyMapChange(MapChange) override;
PremultipliedImage readStillImage() override;
void resize(uint16_t width, uint16_t height);
void setMapChangeCallback(std::function<void(MapChange)>&& cb) { mapChangeCallback = std::move(cb); }
private:
// Implementation specific functions
@@ -85,6 +87,8 @@ private:
GLXPbuffer glxPbuffer = 0;
#endif
std::function<void(MapChange)> mapChangeCallback;
GLuint fbo = 0;
GLuint fboDepthStencil = 0;
GLuint fboColor = 0;