mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
19 lines
502 B
C++
19 lines
502 B
C++
#ifndef FLUTTER_SHELL_GPU_GPU_SURFACE_DELEGATE_H_
|
|
#define FLUTTER_SHELL_GPU_GPU_SURFACE_DELEGATE_H_
|
|
|
|
#include "flutter/flow/embedded_views.h"
|
|
#include "flutter/fml/macros.h"
|
|
|
|
namespace flutter {
|
|
|
|
class GPUSurfaceDelegate {
|
|
public:
|
|
// Get a reference to the external views embedder. This happens on the same
|
|
// thread that the renderer is operating on.
|
|
virtual ExternalViewEmbedder* GetExternalViewEmbedder() = 0;
|
|
};
|
|
|
|
} // namespace flutter
|
|
|
|
#endif // FLUTTER_SHELL_GPU_GPU_SURFACE_DELEGATE_H_
|