diff options
Diffstat (limited to 'src/gallium/targets/libgl-haiku/GLRendererRoster.h')
-rw-r--r-- | src/gallium/targets/libgl-haiku/GLRendererRoster.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/gallium/targets/libgl-haiku/GLRendererRoster.h b/src/gallium/targets/libgl-haiku/GLRendererRoster.h deleted file mode 100644 index 5c8da271198..00000000000 --- a/src/gallium/targets/libgl-haiku/GLRendererRoster.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2006-2012, Haiku, Inc. All Rights Reserved. - * Distributed under the terms of the MIT License. - * - * Authors: - * Philippe Houdoin <[email protected]> - */ -#ifndef _GLRENDERER_ROSTER_H -#define _GLRENDERER_ROSTER_H - - -#include <GLRenderer.h> - -#include <map> - - -struct renderer_item { - BGLRenderer* renderer; - entry_ref ref; - ino_t node; - image_id image; -}; - -typedef std::map<renderer_id, renderer_item> RendererMap; - - -class GLRendererRoster { - public: - GLRendererRoster(BGLView* view, ulong options); - virtual ~GLRendererRoster(); - - BGLRenderer* GetRenderer(int32 id = 0); - - private: - void AddDefaultPaths(); - status_t AddPath(const char* path); - status_t AddRenderer(BGLRenderer* renderer, - image_id image, const entry_ref* ref, ino_t node); - status_t CreateRenderer(const entry_ref& ref); - - RendererMap fRenderers; - int32 fNextID; - BGLView* fView; - ulong fOptions; - bool fSafeMode; - const char* fABISubDirectory; - -}; - - -#endif /* _GLRENDERER_ROSTER_H */ |