5#ifndef FLUTTER_LIB_UI_PAINTING_FRAGMENT_SHADER_H_
6#define FLUTTER_LIB_UI_PAINTING_FRAGMENT_SHADER_H_
8#include "flutter/lib/ui/dart_wrapper.h"
9#include "flutter/lib/ui/painting/fragment_program.h"
10#include "flutter/lib/ui/painting/image.h"
11#include "flutter/lib/ui/painting/image_shader.h"
12#include "flutter/lib/ui/painting/shader.h"
26 DEFINE_WRAPPERTYPEINFO();
49 uint64_t sampler_count);
53 std::vector<std::shared_ptr<DlColorSource>> samplers_;
~ReusableFragmentShader() override
static Dart_Handle Create(Dart_Handle wrapper, Dart_Handle program, Dart_Handle float_count, Dart_Handle sampler_count)
void SetImageSampler(Dart_Handle index, Dart_Handle image)
std::shared_ptr< DlColorSource > shader(DlImageSampling) override
struct _Dart_Handle * Dart_Handle
sk_sp< const SkImage > image