Commit graph

6 commits

Author SHA1 Message Date
Alexey Dokuchaev
3277928ffe - Update to version 1.3.0-beta, which integrates most of our patches for
native FreeBSD support
- Provide the real ONLY_FOR_ARCHS_REASON
- Rename DISNEY_MATERIAL to simply DISNEY (previous name was too long)
2015-11-21 09:27:04 +00:00
Alexey Dokuchaev
e69f11baee Now that required supporting ports were fixed (r398753) and added to the
tree (r398907), allow to build with the Open Shading Language and Disney
material support and enable these features by default.  While here, drop
useless USE_GL knob (implied by USE_QT4=opengl).
2015-10-09 17:31:32 +00:00
Alexey Dokuchaev
3f37100262 Improve cpuid() implementation:
- Correctly denote register use: for CPUID, %eax and %ecx are input/output
  and %ebx and %edx are output only
- Do not insist on using %esi and %edi, let the compiler choose a register
- Always preserve %ebx/%rbx because ABI defines them as callee-saved
- Use xchg[lq] instead of mov[lq] to restore %ebx/%rbx
- Use separate implementation for x86-64 to preserve %rbx because 32-bit
  operations would set the upper 32 bits to zero

Submitted by:	tijl
2015-09-17 14:10:12 +00:00
Alexey Dokuchaev
3fcf73c327 Fix mysterious linking problems with bundled LZ4 code: it was due to the
fact that I had `archivers/liblz4' installed locally, and its header was
picked up before the bundled one which has "static inline" definition of
LZ4_compressBound() function vs. normal definition in system-wide header.
2015-09-01 15:17:07 +00:00
Alexey Dokuchaev
86ecf55589 - Use %edi register to save/restore contents of %ebx instead of pushing
it on stack to make the code work for both 32/64-bit x86
- Make the corresponding comment more accurate while I'm at it

Reported by:	pkg-fallout
2015-08-31 04:42:58 +00:00
Alexey Dokuchaev
212c463bea Add a port of appleseed: modern, open source, physically-based rendering
engine designed to produce photorealistic images, animations, and visual
effects.

To ease initial maintenance, disable Doxygen API documentation generation,
unit tests, installation of headers and Python bindings for now; there'll
be OPTIONS for those things once the dust settles.
2015-08-28 18:19:22 +00:00