Merge some operations into a single file

This merges all mix operations into a COM_MixBaseOperation
(naming could be better, but this way it corresponds to what's
going on with math operations.

Same was done with RenderLayers operations.

Overall this gives 20% of bf_compositor library compilation
time decrease. And it was rather annoying to have tens of
files with just a single-line constructors anyway.

TODO:
- All Convert operations could also be merged into a single file,
  but that would require adding some ConvertBaseOperation to
  reduce code duplication (ideally). Leaving it unchanged for now.

- Some operations' headers seems to be wrongly including MixOperation
  header, they need to include NodeOperation instead it seems.

  This is rather harmless, but would be nice to doublecheck on this
  eventually.
This commit is contained in:
2013-09-05 09:39:38 +00:00
parent 890cafface
commit c84b18790d
108 changed files with 1514 additions and 3770 deletions

View File

@@ -22,24 +22,7 @@
#include "COM_MixNode.h"
#include "COM_MixBlendOperation.h"
#include "COM_MixAddOperation.h"
#include "COM_MixMultiplyOperation.h"
#include "COM_MixBurnOperation.h"
#include "COM_MixColorOperation.h"
#include "COM_MixDarkenOperation.h"
#include "COM_MixDifferenceOperation.h"
#include "COM_MixDivideOperation.h"
#include "COM_MixHueOperation.h"
#include "COM_MixLightenOperation.h"
#include "COM_MixLinearLightOperation.h"
#include "COM_MixOverlayOperation.h"
#include "COM_MixSaturationOperation.h"
#include "COM_MixScreenOperation.h"
#include "COM_MixSoftLightOperation.h"
#include "COM_MixSubtractOperation.h"
#include "COM_MixValueOperation.h"
#include "COM_MixDodgeOperation.h"
#include "COM_MixOperation.h"
#include "COM_ExecutionSystem.h"
#include "COM_SetValueOperation.h"