X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=fft_input.h;h=472a218a7f892cc7bb1ceccef1726eab811ca4d3;hp=b57723cd61a92251bf6a870a6542d585fbf7d28d;hb=b4ec29a251e118f463ce940ffaf0945188bf6894;hpb=144496bf79000c3971090195fbfedcb2cb22a0be diff --git a/fft_input.h b/fft_input.h index b57723c..472a218 100644 --- a/fft_input.h +++ b/fft_input.h @@ -48,6 +48,7 @@ public: virtual AlphaHandling alpha_handling() const { return INPUT_AND_OUTPUT_PREMULTIPLIED_ALPHA; } virtual bool is_single_texture() const { return true; } virtual bool can_output_linear_gamma() const { return true; } + virtual bool can_supply_mipmaps() const { return false; } // Tells the input where to fetch the actual pixel data. Note that if you change // this data, you must either call set_pixel_data() again (using the same pointer @@ -74,6 +75,7 @@ private: unsigned convolve_width, convolve_height; const float *pixel_data; ResourcePool *resource_pool; + GLint uniform_tex; }; } // namespace movit