Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
plugin_view_host.hpp File Reference
#include <cstddef>
#include <pulp/view/pending_damage.hpp>
#include <pulp/view/view.hpp>
#include <memory>
#include <cstdint>
#include <functional>
#include <vector>
#include <pulp/platform/gpu_fwd.hpp>

Go to the source code of this file.

Classes

class  pulp::view::PluginViewHost
struct  pulp::view::PluginViewHost::Size
struct  pulp::view::PluginViewHost::Options
struct  pulp::view::PluginViewHost::GpuCacheUsage
 Bytes held by this host's GPU resource caches: budgeted against Skia's budget, purgeable what a trim can return. More...
struct  pulp::view::PluginViewHost::GpuSurfaceStatus
class  pulp::view::PluginViewHost::GpuSurfaceSubscription

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.
namespace  pulp::view::detail

Functions

bool pulp::view::detail::note_lite_host_gpu_request ()
 A lite editor binary (pulp_add_plugin LITE_EDITOR) is built without the GPU host.
std::size_t pulp::view::detail::lite_host_gpu_request_count () noexcept
 Requests noted by note_lite_host_gpu_request() in this process.
void pulp::view::register_platform_plugin_view_host ()

Variables

constexpr std::uint32_t pulp::view::kEditorHostClearRgb = 0x1E1E2E
 The background a plug-in editor host paints when the plug-in has not declared its own (Processor::editor_background()): RGB 30,30,46, which is also Theme::dark()'s bg.primary.
constexpr std::uint8_t pulp::view::kEditorHostClearR = (kEditorHostClearRgb >> 16) & 0xff
constexpr std::uint8_t pulp::view::kEditorHostClearG = (kEditorHostClearRgb >> 8) & 0xff
constexpr std::uint8_t pulp::view::kEditorHostClearB = kEditorHostClearRgb & 0xff