diff options
Diffstat (limited to 'o3d/converter')
-rw-r--r-- | o3d/converter/cross/renderer_stub.cc | 20 | ||||
-rw-r--r-- | o3d/converter/cross/renderer_stub.h | 7 |
2 files changed, 27 insertions, 0 deletions
diff --git a/o3d/converter/cross/renderer_stub.cc b/o3d/converter/cross/renderer_stub.cc index 2801470..0f11826 100644 --- a/o3d/converter/cross/renderer_stub.cc +++ b/o3d/converter/cross/renderer_stub.cc @@ -183,6 +183,26 @@ void RendererStub::SetViewportInPixels(int, int, int, int, float, float) { DCHECK(false); } +bool RendererStub::GoFullscreen(const DisplayWindow& display, + int mode_id) { + return false; +} + +bool RendererStub::CancelFullscreen(const DisplayWindow& display, + int width, int height) { + return false; +} + +bool RendererStub::fullscreen() const { return false; } + +void RendererStub::GetDisplayModes(std::vector<DisplayMode> *modes) { + modes->clear(); +} + +bool RendererStub::GetDisplayMode(int id, DisplayMode *mode) { + return false; +} + void RendererStub::PlatformSpecificPresent(void) { } diff --git a/o3d/converter/cross/renderer_stub.h b/o3d/converter/cross/renderer_stub.h index 3f0c413..514349d 100644 --- a/o3d/converter/cross/renderer_stub.h +++ b/o3d/converter/cross/renderer_stub.h @@ -71,6 +71,13 @@ class RendererStub : public Renderer { int height, float min_z, float max_z); + virtual bool GoFullscreen(const DisplayWindow& display, + int mode_id); + virtual bool CancelFullscreen(const DisplayWindow& display, + int width, int height); + virtual bool fullscreen() const; + virtual void GetDisplayModes(std::vector<DisplayMode> *modes); + virtual bool GetDisplayMode(int id, DisplayMode *mode); // Overridden from Renderer. virtual const int* GetRGBAUByteNSwizzleTable(); |