displacement panel showing with blender internal.
cycles.Depends('../../source/blender/makesrna/intern/RNA_blender_cpp.h', 'makesrna')
-sources = cycles.Glob('bvh/*.cpp') + cycles.Glob('device/*.cpp') + cycles.Glob('kernel/*.cpp') + cycles.Glob('render/*.cpp') + cycles.Glob('subd/*.cpp') + cycles.Glob('util/*.cpp') + cycles.Glob('util/*.c') + cycles.Glob('blender/*.cpp')
+sources = cycles.Glob('bvh/*.cpp') + cycles.Glob('device/*.cpp') + cycles.Glob('kernel/*.cpp') + cycles.Glob('render/*.cpp') + cycles.Glob('subd/*.cpp') + cycles.Glob('util/*.cpp') + cycles.Glob('blender/*.cpp')
sources.remove(path.join('util', 'util_view.cpp'))
sources.remove(path.join('render', 'film_response.cpp'))
@classmethod
def poll(cls, context):
- return context.mesh or context.curve or context.meta_ball
+ return CyclesButtonsPanel.poll(context) and context.mesh or context.curve or context.meta_ball
def draw(self, context):
layout = self.layout
util_dynlib.cpp
util_md5.cpp
util_memarena.cpp
- util_opencl.c
+ util_opencl.cpp
util_path.cpp
util_string.cpp
util_system.cpp
// Extracted from the CLCC project - http://clcc.sourceforge.net/
//////////////////////////////////////////////////////////////////////////
+#include <stdlib.h>
+
#include "util_opencl.h"
#ifndef CLCC_GENERATE_DOCUMENTATION
//#define CLCC_DYNLIB_IMPORT implementation_defined
#endif
-#include <stdlib.h>
+CCL_NAMESPACE_BEGIN
//! \brief module handle
static CLCC_DYNLIB_HANDLE module = NULL;
return strings[-error];
}
+CCL_NAMESPACE_END
+
#ifndef __UTIL_OPENCL_H__
#define __UTIL_OPENCL_H__
+CCL_NAMESPACE_BEGIN
+
//! This file contains a copy of the contents of CL.H and CL_PLATFORM.H from the
//! official OpenCL spec. The purpose of this code is to load the OpenCL dynamic
//! library at run-time and thus allow the executable to function on many
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
******************************************************************************/
-#ifdef __APPLE__
-/* Contains #defines for AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER below */
-#include <AvailabilityMacros.h>
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#ifndef CLCC_GENERATE_DOCUMENTATION
#if defined(_WIN32)
int clLibraryInit(void);
const char *clErrorString(cl_int error);
-#ifdef __cplusplus
-}
-#endif
+CCL_NAMESPACE_END
#endif /* __UTIL_OPENCL_H__ */