12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef TEST_MAC_VIDEO_RENDERER_MAC_H_
- #define TEST_MAC_VIDEO_RENDERER_MAC_H_
- #include "rtc_base/constructor_magic.h"
- #include "test/gl/gl_renderer.h"
- @class CocoaWindow;
- namespace webrtc {
- namespace test {
- class MacRenderer : public GlRenderer {
- public:
- MacRenderer();
- virtual ~MacRenderer();
- bool Init(const char* window_title, int width, int height);
-
- void OnFrame(const VideoFrame& frame) override;
- private:
- CocoaWindow* window_;
- RTC_DISALLOW_COPY_AND_ASSIGN(MacRenderer);
- };
- }
- }
- #endif
|