Cleanup: Compositor: Remove redundant includes

This commit is contained in:
Omar Emara
2024-11-21 16:26:49 +02:00
parent 0d83aafd4b
commit afdbef449b
6 changed files with 5 additions and 23 deletions

View File

@@ -10,9 +10,6 @@
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "COM_cached_resource.hh"
#include "COM_result.hh"

View File

@@ -11,8 +11,6 @@
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "GPU_texture.hh"
#include "DNA_mask_types.h"
#include "DNA_scene_types.h"

View File

@@ -11,8 +11,6 @@
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "GPU_texture.hh"
#include "DNA_texture_types.h"
#include "COM_cached_resource.hh"
@@ -61,10 +59,6 @@ class CachedTexture : public CachedResource {
float3 scale);
~CachedTexture();
GPUTexture *color_texture();
GPUTexture *value_texture();
};
/* ------------------------------------------------------------------------------------------------

View File

@@ -11,9 +11,6 @@
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "DNA_movieclip_types.h"
#include "COM_cached_resource.hh"
@@ -51,9 +48,9 @@ bool operator==(const DistortionGridKey &a, const DistortionGridKey &b);
/* -------------------------------------------------------------------------------------------------
* Distortion Grid.
*
* A cached resource that computes and caches a GPU texture containing the normalized coordinates
* after applying the camera distortion of a given movie clip tracking camera. See the constructor
* for more information. */
* A cached resource that computes and caches a result containing the normalized coordinates after
* applying the camera distortion of a given movie clip tracking camera. See the constructor for
* more information. */
class DistortionGrid : public CachedResource {
private:
Array<float2> distortion_grid_;

View File

@@ -11,9 +11,6 @@
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "DNA_movieclip_types.h"
#include "DNA_tracking_types.h"
@@ -42,8 +39,8 @@ bool operator==(const KeyingScreenKey &a, const KeyingScreenKey &b);
/* -------------------------------------------------------------------------------------------------
* Keying Screen.
*
* A cached resource that computes and caches a GPU texture containing the keying screen computed
* by interpolating the markers of the given movie tracking object in the given movie clip. */
* A cached resource that computes and caches a result containing the keying screen computed by
* interpolating the markers of the given movie tracking object in the given movie clip. */
class KeyingScreen : public CachedResource {
public:
Result result;

View File

@@ -12,7 +12,6 @@
#include "RE_pipeline.h"
#include "GPU_shader.hh"
#include "GPU_texture.hh"
#include "IMB_colormanagement.hh"