4 #include "testing/testing.h"
104 std::optional<NodeOperationHash> hash1_opt = op1.
generate_hash();
105 EXPECT_NE(hash1_opt, std::nullopt);
116 EXPECT_NE(hash1, hash2);
131 EXPECT_NE(hash1, hash2);
135 EXPECT_NE(hash2, hash3);
136 EXPECT_NE(hash1, hash3);
146 EXPECT_NE(hash3, hash4);
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
NodeOperation contains calculation logic.
void set_id(const int id)
void add_output_socket(DataType datatype)
std::optional< NodeOperationHash > generate_hash()
NodeOperationInput * get_input_socket(unsigned int index)
void set_width(unsigned int width)
void set_height(unsigned int height)
void add_input_socket(DataType datatype, ResizeMode resize_mode=ResizeMode::Center)
void hash_params(T1 param1, T2 param2)
HashedOperation(NodeOperation &input, int width, int height)
void set_param1(int value)
void hash_output_params() override
const float * get_constant_elem() override
NonHashedConstantOperation(int id)
void set_constant(float value)
NonHashedOperation(int id)
ccl_global KernelShaderEvalInput * input
TEST(BufferArea, BufferConstructor)
static void test_non_equal_hashes_compare(NodeOperationHash &h1, NodeOperationHash &h2, NodeOperationHash &h3)