name string | code string | asm string | file string |
|---|---|---|---|
std::vector<embree::Vec3<float>, std::allocator<embree::Vec3<float>>> embree::XMLLoader::loadBinary<std::vector<embree::Vec3<float>, std::allocator<embree::Vec3<float>>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc69f5
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x597bf(%rip), %rsi # 0x12001a
leaq 0x597bb(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::vector_t<embree::Vec3fx, embree::aligned_allocator<embree::Vec3fx, 16ul>> embree::XMLLoader::loadBinary<embree::vector_t<embree::Vec3fx, embree::aligned_allocator<embree::Vec3fx, 16ul>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc6eea
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x592d1(%rip), %rsi # 0x12001a
leaq 0x592cd(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XML::child(unsigned long) const | const Ref<XML> child(const size_t id) const
{
if (id >= children.size())
THROW_RUNTIME_ERROR (loc.str()+": XML node has no child \"" + toString(id) + "\"");
return children[id];
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r14
movq 0x80(%rsi), %rax
movq 0x88(%rsi), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rdx, %rcx
jbe 0xc7232
movq %rdi, %rbx
movq (%rax,%r14,8), %rdi
movq %rdi, (%rbx)
testq %rdi, %rdi
je 0xc721f
movq (%rdi), %rax
callq *0x10(%rax)
movq ... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
std::vector<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3<float>>>, std::allocator<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3<float>>>>> embree::XMLLoader::loadBinary<std::vector<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3<float>>>, std::allocator<embree::AffineSpaceT<embree::LinearSpace... | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc75c8
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x58bef(%rip), %rsi # 0x12001a
leaq 0x58beb(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
std::vector<unsigned int, std::allocator<unsigned int>> embree::XMLLoader::loadBinary<std::vector<unsigned int, std::allocator<unsigned int>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc7a5a
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x58741(%rip), %rsi # 0x12001a
leaq 0x5873d(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
std::vector<unsigned char, std::allocator<unsigned char>> embree::XMLLoader::loadBinary<std::vector<unsigned char, std::allocator<unsigned char>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc7ee0
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x582af(%rip), %rsi # 0x12001a
leaq 0x582ab(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
std::vector<embree::Vec2<int>, std::allocator<embree::Vec2<int>>> embree::XMLLoader::loadBinary<std::vector<embree::Vec2<int>, std::allocator<embree::Vec2<int>>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc839e
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x57dfd(%rip), %rsi # 0x12001a
leaq 0x57df9(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
std::vector<embree::Vec3<int>, std::allocator<embree::Vec3<int>>> embree::XMLLoader::loadBinary<std::vector<embree::Vec3<int>, std::allocator<embree::Vec3<int>>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc887b
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x57939(%rip), %rsi # 0x12001a
leaq 0x57935(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
std::vector<embree::Vec4<int>, std::allocator<embree::Vec4<int>>> embree::XMLLoader::loadBinary<std::vector<embree::Vec4<int>, std::allocator<embree::Vec4<int>>>>(embree::Ref<embree::XML> const&) | Vector XMLLoader::loadBinary(const Ref<XML>& xml)
{
if (!binFile)
THROW_RUNTIME_ERROR("cannot open file "+binFileName.str()+" for reading");
size_t ofs = atol(xml->parm("ofs").c_str());
fseek(binFile,long(ofs),SEEK_SET);
/* read size of array */
size_t size = atol(xml->parm("size").c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, 0x40(%rsp)
cmpq $0x0, 0x20(%rsi)
je 0xc8d56
movq %rdx, %r12
movq (%rdx), %r15
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5744b(%rip), %rsi # 0x12001a
leaq 0x57447(%rip), %rdx # 0x12001d
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::XML::child(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | const Ref<XML> child(const std::string& childID) const
{
for (size_t i=0; i<children.size(); i++)
if (children[i]->name == childID) return children[i];
THROW_RUNTIME_ERROR (loc.str()+": XML node has no child \"" + childID + "\"");
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, (%rsp)
movq %rdi, 0x10(%rsp)
movq 0x80(%rsi), %r14
movq %rsi, 0x8(%rsp)
movq 0x88(%rsi), %r15
subq %r14, %r15
je 0xc90d9
sarq $0x3, %r15
movq (%rsp), %rax
movq (%rax), %r12
movq 0x8(%rax), %r13
cmpq $0x1, %r15
adcq $0x0, %r15
... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::XML::parm_Vec2f(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | Vec2f parm_Vec2f(const std::string& parmID) const {
std::map<std::string,std::string>::const_iterator i = parms.find(parmID);
if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "\"");
return string_to_Vec2f(i->second);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x50(%rsi), %rdi
movq %rdx, %rsi
callq 0xcb4e6
leaq 0x58(%r15), %rcx
cmpq %rcx, %rax
je 0xc93e7
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi,... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::XML::parm_Vec3fa(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | Vec3fa parm_Vec3fa(const std::string& parmID) const {
std::map<std::string,std::string>::const_iterator i = parms.find(parmID);
if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "\"");
return Vec3fa(string_to_Vec3f(i->second));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x50(%rsi), %rdi
movq %rdx, %rsi
callq 0xcb4e6
leaq 0x58(%r15), %rcx
cmpq %rcx, %rax
je 0xc969d
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x40(%rax), %rsi
movq 0x48(%rax), %rdx
addq %rsi,... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::XML::parm_float(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | float parm_float(const std::string& parmID) const {
std::map<std::string,std::string>::const_iterator i = parms.find(parmID);
if (i == parms.end()) THROW_RUNTIME_ERROR (loc.str()+": XML node has no parameter \"" + parmID + "\"");
return std::stof(i->second);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rsi, %r14
movq %rdi, %r15
addq $0x50, %rdi
callq 0xcb4e6
leaq 0x58(%r15), %rcx
cmpq %rcx, %rax
je 0xc98bd
movq 0x40(%rax), %r14
callq 0x14080
movq %rax, %rbx
movl (%rax), %ebp
movl $0x0, (%rax)
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::XML::hasChild(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | bool hasChild(const std::string& childID) const
{
for (size_t i=0; i<children.size(); i++)
if (children[i]->name == childID) return true;
return false;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x80(%rdi), %r12
movq 0x88(%rdi), %r13
subq %r12, %r13
je 0xc9bda
sarq $0x3, %r13
movq (%rsi), %rax
movq %rax, (%rsp)
movq 0x8(%rsi), %r15
xorl %ebp, %ebp
cmpq $0x1, %r13
sbbq %r13, %rbp
movb $0x1, %bl
movl $0x1, %r14d
movq -0x8(%r12,%r14... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::Parms::getVec3fa(char const*, embree::Vec3fa const&) const | Vec3fa getVec3fa(const char* name, const Vec3fa& def = zero) const {
std::map<std::string,Variant>::const_iterator i = m.find(name);
if (i == m.end() || (*i).second.type != Variant::FLOAT3) return def;
return (*i).second.getVec3fa();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %r12
leaq 0x7(%rsp), %rax
movq %r12, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x14310
movq %r15, %rdi
movq %r12, %rsi
callq 0xcba26
movq %rax, %r12
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::MirrorMaterial::MirrorMaterial(embree::Vec3fa const&) | MirrorMaterial (const Vec3fa& reflectance)
: base(MATERIAL_MIRROR), reflectance(reflectance) {} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x5719f(%rip), %rdx # 0x120f8b
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x62274
movq %rbx, %rdi
movq %r15, %rsi
callq 0xa333a
leaq 0xa011a(%rip), %rax ... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::Parms::getFloat(char const*, float) const | float getFloat(const char* name, float def = zero) const {
std::map<std::string,Variant>::const_iterator i = m.find(name);
if (i == m.end() || (*i).second.type != Variant::FLOAT1) return def;
return (*i).second.getFloat();
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movss %xmm0, 0x4(%rsp)
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
leaq 0x3(%rsp), %rdx
movq %r14, %rdi
callq 0x14310
movq %rbx, %rdi
movq %r14, %rsi
callq 0xcba26
movq %rax, %r14
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc9ea9
callq 0x14760
addq $0x8, %rbx
cmpq %... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::Parms::getTexture(char const*) const | std::shared_ptr<Texture> getTexture(const char* name) const {
std::map<std::string,Variant>::const_iterator i = m.find(name);
if (i == m.end() || (*i).second.type != Variant::TEXTURE) return std::shared_ptr<Texture>();
return (*i).second.getTexture();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rax
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x14310
movq %r14, %rdi
movq %r15, %rsi
callq 0xcba26
movq %rax, %r15
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc9f3c... | /embree[P]embree/tutorials/common/scenegraph/xml_loader.cpp |
embree::OBJMaterial::OBJMaterial(float, std::shared_ptr<embree::Texture>, embree::Vec3fa const&, std::shared_ptr<embree::Texture>, embree::Vec3fa const&, std::shared_ptr<embree::Texture>, embree::Vec3fa const&, std::shared_ptr<embree::Texture>, embree::Vec3fa const&, std::shared_ptr<embree::Texture>, float, std::shared... | OBJMaterial (float d, const std::shared_ptr<Texture> map_d,
const Vec3fa& Ka, const std::shared_ptr<Texture> map_Ka,
const Vec3fa& Kd, const std::shared_ptr<Texture> map_Kd,
const Vec3fa& Ks, const std::shared_ptr<Texture> map_Ks,
const Vec3fa& Kt, c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movss %xmm1, 0x4(%rsp)
movq %r9, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %r12
movss %xmm0, (%rsp)
movq %rdi, %rbx
leaq 0x28(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x56fa0(%rip), %rdx # 0x120f8b
leaq... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::OBJMaterial::OBJMaterial(float, embree::Vec3fa const&, embree::Vec3fa const&, float, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | OBJMaterial (float d, const Vec3fa& Kd, const Vec3fa& Ks, const float Ns, const std::string name = "")
: base(MATERIAL_OBJ), illum(0), d(d), Ns(Ns), Ni(1.f), Ka(0.f), Kd(Kd), Ks(Ks), Kt(1.0f),
map_d(nullptr), map_Ka(nullptr), map_Kd(nullptr), map_Ks(nullptr), map_Kt(nullptr), map_Ns(nullptr), map_Displ(nu... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm1, 0xc(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movss %xmm0, 0x8(%rsp)
movq %rdi, %rbx
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x56d01(%rip), %rdx # 0x120f8b
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x62274
m... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::ThinDielectricMaterial::ThinDielectricMaterial(embree::Vec3fa const&, float, float) | ThinDielectricMaterial (const Vec3fa& transmission, const float eta, const float thickness)
: base(MATERIAL_THIN_DIELECTRIC), transmission(transmission), transmissionFactor(log(transmission)*thickness), eta(eta), thickness(thickness) {} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movaps %xmm1, 0x30(%rsp)
movss %xmm0, 0xc(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x56bf4(%rip), %rdx # 0x120f8b
leaq 0x48(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x62274
movq %rbx, %rdi
movq %r15,... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::MetalMaterial::MetalMaterial(embree::Vec3fa const&, embree::Vec3fa const&, embree::Vec3fa const&) | MetalMaterial (const Vec3fa& reflectance, const Vec3fa& eta, const Vec3fa& k)
: base(MATERIAL_REFLECTIVE_METAL), reflectance(reflectance), eta(eta), k(k), roughness(0.0f) {} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x56a0f(%rip), %rdx # 0x120f8b
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rdx, %rsi
callq 0x62274
movq %r14, %rdi
movq ... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::VelvetMaterial::VelvetMaterial(embree::Vec3fa const&, float, embree::Vec3fa const&, float) | VelvetMaterial (const Vec3fa& reflectance, const float backScattering, const Vec3fa& horizonScatteringColor, const float horizonScatteringFallOff)
: base(MATERIAL_VELVET), reflectance(reflectance), horizonScatteringColor(horizonScatteringColor), backScattering(backScattering), horizonScatteringFallOff(horizonScat... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm1, 0xc(%rsp)
movq %rdx, %r14
movss %xmm0, 0x8(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x56865(%rip), %rdx # 0x120f8b
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x62274
m... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::DielectricMaterial::DielectricMaterial(embree::Vec3fa const&, embree::Vec3fa const&, float, float) | DielectricMaterial (const Vec3fa& transmissionOutside, const Vec3fa& transmissionInside, const float etaOutside, const float etaInside)
: base(MATERIAL_DIELECTRIC), transmissionOutside(transmissionOutside), transmissionInside(transmissionInside), etaOutside(etaOutside), etaInside(etaInside) {} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm1, 0xc(%rsp)
movss %xmm0, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x5678f(%rip), %rdx # 0x120f8b
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x62274
m... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::HairMaterial::HairMaterial(embree::Vec3fa const&, embree::Vec3fa const&, float, float) | HairMaterial (const Vec3fa& Kr, const Vec3fa& Kt, float nx, float ny)
: base(MATERIAL_HAIR), Kr(Kr), Kt(Kt), nx(nx), ny(ny) {} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm1, 0xc(%rsp)
movss %xmm0, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x566b9(%rip), %rdx # 0x120f8b
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x62274
m... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::XML::childOpt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const | const Ref<XML> childOpt(const std::string& childID) const
{
for (size_t i=0; i<children.size(); i++)
if (children[i]->name == childID) return children[i];
return null;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, (%rsp)
movq 0x80(%rsi), %r13
movq 0x88(%rsi), %rbp
subq %r13, %rbp
je 0xca9da
sarq $0x3, %rbp
movq (%rdx), %r14
movq 0x8(%rdx), %r15
cmpq $0x1, %rbp
adcq $0x0, %rbp
xorl %ebx, %ebx
movq (%r13,%rbx,8), %r12
cmpq %r15, 0x38(%r12)
jne ... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::SceneGraph::GroupNode::GroupNode(unsigned long) | GroupNode (const size_t N = 0) {
children.resize(N);
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movq %rax, 0x50(%rdi)
movw $0x0, 0x58(%rdi)
movl $0xffffffff... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::TransformNode::TransformNode(embree::vector_t<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fx>>, embree::aligned_allocator<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fx>>, 16ul>> const&, embree::Ref<embree::SceneGraph::Node> const&) | TransformNode (const avector<AffineSpace3ff>& spaces, const Ref<Node>& child)
: spaces(spaces), child(child) {} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movq %rax, 0x50(%rdi)
movw $... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::MultiTransformNode::MultiTransformNode(embree::vector_t<embree::vector_t<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fx>>, embree::aligned_allocator<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fx>>, 16ul>>, embree::aligned_allocator<embree::vector_t<embree::AffineSpaceT<embree::L... | MultiTransformNode (const avector<avector<AffineSpace3ff>>& spaces_in, const Ref<Node>& child)
: child(child)
{
assert(spaces_in.size() > 0);
const size_t time_steps = spaces_in.size();
const size_t array_size = spaces_in[0].size();
for (size_t i = 0; i < array_size; ++i) {... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, (%rsp)
movq %rdi, %rsi
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x4... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::TransformNode::TransformNode(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&, embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&, embree::Ref<embree::SceneGraph::Node> const&) | TransformNode (const AffineSpace3fa& xfm0, const AffineSpace3fa& xfm1, const Ref<Node>& child)
: spaces((AffineSpace3ff)xfm0,(AffineSpace3ff)xfm1), child(child) {} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %r14
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::MatteMaterial::~MatteMaterial() | struct PREFIX(MatteMaterial) MATERIAL_BASE_CLASS
{
#if !defined(ISPC) && !defined(CPPTUTORIAL)
MatteMaterial (const Vec3fa& reflectance)
: base(MATERIAL_MATTE), reflectance(reflectance) {}
virtual Material* material() { return &base; }
#endif
PREFIX(Material) base;
Vec3fa reflectance;
} | pushq %rbx
movq %rdi, %rbx
callq 0x41da8
movq %rbx, %rdi
callq 0xec7d1
popq %rbx
retq
movq %rax, %rdi
callq 0x34e30
nop
| /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::MirrorMaterial::~MirrorMaterial() | struct PREFIX(MirrorMaterial) MATERIAL_BASE_CLASS
{
#if !defined(ISPC) && !defined(CPPTUTORIAL)
MirrorMaterial (const Vec3fa& reflectance)
: base(MATERIAL_MIRROR), reflectance(reflectance) {}
virtual Material* material() { return &base; }
#endif
PREFIX(Material) base;
Vec3fa reflectance;
} | pushq %rbx
movq %rdi, %rbx
callq 0x41da8
movq %rbx, %rdi
callq 0xec7d1
popq %rbx
retq
movq %rax, %rdi
callq 0x34e30
nop
| /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::OBJMaterial::~OBJMaterial() | ~OBJMaterial() { // FIXME: destructor never called
} | pushq %rbx
movq %rdi, %rbx
leaq 0x9ead3(%rip), %rax # 0x16a5b0
movq %rax, (%rdi)
movq 0x170(%rdi), %rdi
testq %rdi, %rdi
je 0xcbaf1
callq 0x620e8
movq 0x160(%rbx), %rdi
testq %rdi, %rdi
je 0xcbb02
callq 0x620e8
movq 0x150(%rbx), %rdi
testq %rdi, %rdi
je 0xcbb13
callq 0x620e8
movq 0x140(%rbx), %rdi
testq %rdi, %rdi
... | /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::ThinDielectricMaterial::~ThinDielectricMaterial() | struct PREFIX(ThinDielectricMaterial) MATERIAL_BASE_CLASS
{
#if !defined(ISPC) && !defined(CPPTUTORIAL)
ThinDielectricMaterial (const Vec3fa& transmission, const float eta, const float thickness)
: base(MATERIAL_THIN_DIELECTRIC), transmission(transmission), transmissionFactor(log(transmission)*thickness), e... | pushq %rbx
movq %rdi, %rbx
callq 0x41da8
movq %rbx, %rdi
callq 0xec7d1
popq %rbx
retq
movq %rax, %rdi
callq 0x34e30
nop
| /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::VelvetMaterial::~VelvetMaterial() | struct PREFIX(VelvetMaterial) MATERIAL_BASE_CLASS
{
#if !defined(ISPC) && !defined(CPPTUTORIAL)
VelvetMaterial (const Vec3fa& reflectance, const float backScattering, const Vec3fa& horizonScatteringColor, const float horizonScatteringFallOff)
: base(MATERIAL_VELVET), reflectance(reflectance), horizonScatter... | pushq %rbx
movq %rdi, %rbx
callq 0x41da8
movq %rbx, %rdi
callq 0xec7d1
popq %rbx
retq
movq %rax, %rdi
callq 0x34e30
nop
| /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::DielectricMaterial::~DielectricMaterial() | struct PREFIX(DielectricMaterial) MATERIAL_BASE_CLASS
{
#if !defined(ISPC) && !defined(CPPTUTORIAL)
DielectricMaterial (const Vec3fa& transmissionOutside, const Vec3fa& transmissionInside, const float etaOutside, const float etaInside)
: base(MATERIAL_DIELECTRIC), transmissionOutside(transmissionOutside), t... | pushq %rbx
movq %rdi, %rbx
callq 0x41da8
movq %rbx, %rdi
callq 0xec7d1
popq %rbx
retq
movq %rax, %rdi
callq 0x34e30
nop
| /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::HairMaterial::~HairMaterial() | struct PREFIX(HairMaterial) MATERIAL_BASE_CLASS
{
#if !defined(ISPC) && !defined(CPPTUTORIAL)
HairMaterial (const Vec3fa& Kr, const Vec3fa& Kt, float nx, float ny)
: base(MATERIAL_HAIR), Kr(Kr), Kt(Kt), nx(nx), ny(ny) {}
virtual Material* material() { return &base; }
#endif
PREFIX(Material) base;
... | pushq %rbx
movq %rdi, %rbx
callq 0x41da8
movq %rbx, %rdi
callq 0xec7d1
popq %rbx
retq
movq %rax, %rdi
callq 0x34e30
nop
| /embree[P]embree/tutorials/common/scenegraph/materials.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::PointLight>::transform(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) const | virtual Ref<LightNode> transform(const AffineSpace3fa& space) const {
return new LightNodeImpl(light.transform(space));
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl $0xa0, %edi
movl $0x10, %esi
callq 0x7c0b0
movaps 0x80(%r14), %xmm0
shufps $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movups 0x84(%r14), %xmm1
movups 0x88(%r14), %xmm2
shufps $0x0, %xmm2, %xmm2 # xmm2 = xmm2[0,0,0,0]
mulps 0x... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::PointLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xccc41
leaq 0x9d2f8(%rip), %rsi # 0x169f10
leaq 0x9dec1(%rip), %rdx # 0x16aae0
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
testq... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::SpotLight>::transform(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) const | virtual Ref<LightNode> transform(const AffineSpace3fa& space) const {
return new LightNodeImpl(light.transform(space));
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl $0xc0, %edi
movl $0x10, %esi
callq 0x7c0b0
movaps 0x80(%r14), %xmm0
shufps $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movups 0x84(%r14), %xmm1
shufps $0x0, %xmm1, %xmm1 # xmm1 = xmm1[0,0,0,0]
movups 0x88(%r14), %xmm2
shufps $... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::SpotLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xccee1
leaq 0x9d058(%rip), %rsi # 0x169f10
leaq 0x9dce1(%rip), %rdx # 0x16aba0
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
testq... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::DirectionalLight>::transform(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) const | virtual Ref<LightNode> transform(const AffineSpace3fa& space) const {
return new LightNodeImpl(light.transform(space));
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0xa0, %edi
movl $0x10, %esi
callq 0x7c0b0
movaps 0x80(%r15), %xmm0
shufps $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movups 0x84(%r15), %xmm1
movups 0x88(%r15), %xmm2
shufps $0x0, %xmm2, %xmm2 # xmm2 = xmm2[0,0,0,0]
mulps 0x... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::DirectionalLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xcd173
leaq 0x9cdc6(%rip), %rsi # 0x169f10
leaq 0x9db0f(%rip), %rdx # 0x16ac60
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
testq... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::DistantLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movaps %xmm0, 0x10(%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xcd438
leaq 0x9cb01(%rip), %rsi # 0x169f10
leaq 0x9d90a(%rip), %rdx # 0x16ad20
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
t... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::AmbientLight>::transform(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) const | virtual Ref<LightNode> transform(const AffineSpace3fa& space) const {
return new LightNodeImpl(light.transform(space));
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl $0x90, %edi
movl $0x10, %esi
callq 0x7c0b0
movaps 0x80(%r14), %xmm0
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
leaq 0x20(%rax), %rdx
movq %rdx, 0x10(%rax)
movq %rcx, 0x18(%rax)
movb %cl, 0x20(%rax)
leaq 0x40(%rax), %rdx
movq %rdx, 0x30(%rax)
movq %rcx, 0x3... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::AmbientLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xcd6d1
leaq 0x9c868(%rip), %rsi # 0x169f10
leaq 0x9d731(%rip), %rdx # 0x16ade0
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
testq... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::TriangleLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xcd923
leaq 0x9c616(%rip), %rsi # 0x169f10
leaq 0x9d59f(%rip), %rdx # 0x16aea0
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
testq... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::QuadLight>::transform(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) const | virtual Ref<LightNode> transform(const AffineSpace3fa& space) const {
return new LightNodeImpl(light.transform(space));
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl $0xd0, %edi
movl $0x10, %esi
callq 0x7c0b0
movq %rax, %r14
addq $0x70, %r12
movq %rsp, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0xcde02
xorl %eax, %eax
movq %rax, 0x8(%r14)
leaq 0x20(%r14), %rcx
movq %rcx... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::LightNodeImpl<embree::SceneGraph::QuadLight>::lerp(embree::Ref<embree::SceneGraph::LightNode> const&, float) const | virtual Ref<LightNode> lerp(const Ref<LightNode>& light1_in, float f) const
{
const Ref<LightNodeImpl<Light>> light1 = light1_in.dynamicCast<LightNodeImpl<Light>>();
assert(light1);
return new LightNodeImpl(Light::lerp(light,light1->light,f));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, (%rsp)
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdx), %rdi
movb $0x1, %bpl
testq %rdi, %rdi
je 0xcdc91
leaq 0x9c2a8(%rip), %rsi # 0x169f10
leaq 0x9d2f1(%rip), %rdx # 0x16af60
xorl %r14d, %r14d
xorl %ecx, %ecx
callq 0x148e0
testq... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::QuadLight::transform(embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> const&) const | QuadLight transform(const AffineSpace3fa& space) const {
return QuadLight(xfmPoint(space,v0),xfmPoint(space,v1),xfmPoint(space,v2),xfmPoint(space,v3),L);
} | movq %rdi, %rax
movaps 0x10(%rsi), %xmm0
shufps $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movups 0x14(%rsi), %xmm5
shufps $0x0, %xmm5, %xmm5 # xmm5 = xmm5[0,0,0,0]
movups 0x18(%rsi), %xmm6
shufps $0x0, %xmm6, %xmm6 # xmm6 = xmm6[0,0,0,0]
movaps (%rdx), %xmm1
movaps 0x10(%rdx), %xmm2
movaps 0x20(%rdx), %x... | /embree[P]embree/tutorials/common/scenegraph/lights.h |
embree::operator<(embree::Ref<embree::XML> const&, embree::Ref<embree::XML> const&) | bool operator <( const Ref<XML>& a, const Ref<XML>& b ) {
if (a->name != b->name ) return a->name < b->name;
if (a->parms != b->parms ) return a->parms < b->parms;
if (a->children != b->children) return a->children < b->children;
if (a->body != b->body ) return a->body ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r12
leaq 0x30(%r12), %r13
movq (%rsi), %r15
leaq 0x30(%r15), %rbp
movq 0x38(%r12), %rdx
cmpq 0x38(%r15), %rdx
jne 0xceb0f
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0xceb2c
movq (%rbp), %rsi
movq (%r13), %rdi
callq 0x148... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::operator==(embree::Ref<embree::XML> const&, embree::Ref<embree::XML> const&) | bool operator <( const Ref<XML>& a, const Ref<XML>& b ) {
if (a->name != b->name ) return a->name < b->name;
if (a->parms != b->parms ) return a->parms < b->parms;
if (a->children != b->children) return a->children < b->children;
if (a->body != b->body ) return a->body ... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq (%rdi), %r15
movq (%rsi), %r12
movq 0x38(%r15), %rdx
cmpq 0x38(%r12), %rdx
jne 0xcef63
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0xcee93
movq 0x30(%r12), %rsi
movq 0x30(%r15), %rdi
callq 0x14820
testl %eax, %eax
jne 0xcef63
movq 0x78(%r15), %rax
cmpq... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.h |
embree::operator<(embree::Token const&, embree::Token const&) | bool operator <( const Token& a, const Token& b ) {
if (a.ty != b.ty) return (int)a.ty < (int)b.ty;
if (a.ty == TY_CHAR) return a.c < b.c;
if (a.ty == TY_INT) return a.i < b.i;
if (a.ty == TY_FLOAT) return a.f < b.f;
if (a.ty == TY_IDENTIFIER) return a.str < b.str;
if (a.ty == TY_STR... | pushq %rax
movl (%rdi), %eax
cmpl (%rsi), %eax
jne 0xcf108
decl %eax
cmpl $0x5, %eax
ja 0xcf11f
leaq 0x50e1b(%rip), %rcx # 0x11fee0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movb 0x4(%rdi), %al
cmpb 0x4(%rsi), %al
jmp 0xcf108
addq $0x8, %rdi
addq $0x8, %rsi
callq 0x14060
jmp 0xcf11a
movss 0x4(%rsi), %xm... | /embree[P]embree/tutorials/common/scenegraph/../../../common/lexers/tokenstream.h |
embree::XMLWriter::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | void XMLWriter::open(std::string str)
{
tab(); xml << "<" << str << ">" << std::endl;
ident+=2;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x420(%rdi)
je 0xcff93
leaq 0x10(%rbx), %r15
xorl %r13d, %r13d
leaq 0x4e369(%rip), %r12 # 0x11e2e0
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x14900
incq %r13
cmpq 0x420(%rbx), %r13
jb 0xcff77
leaq 0x10(%rb... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(char const*, float const&) | void XMLWriter::store(const char* name, const float& v) {
tab(); xml << "<" << name << ">" << v << "</" << name << ">" << std::endl;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, 0x420(%rdi)
je 0xd0469
leaq 0x10(%r14), %r12
xorl %ebp, %ebp
leaq 0x4de93(%rip), %r13 # 0x11e2e0
movl $0x1, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x14900
incq %rbp
cmpq 0x420(... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store_array_elt(embree::SceneGraph::TriangleMeshNode::Triangle const&) | void XMLWriter::store_array_elt(const SceneGraph::TriangleMeshNode::Triangle& v) {
xml << v.v0 << " " << v.v1 << " " << v.v2 << std::endl;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
addq $0x10, %rdi
movl (%rsi), %esi
callq 0x14590
movq %rax, %r14
leaq 0x4d93d(%rip), %r15 # 0x11e2e0
movl $0x1, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0x14900
movl 0x4(%rbx), %esi
movq %r14, %rdi
callq 0x14590
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq ... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store_array_elt(embree::SceneGraph::QuadMeshNode::Quad const&) | void XMLWriter::store_array_elt(const SceneGraph::QuadMeshNode::Quad& v) {
xml << v.v0 << " " << v.v1 << " " << v.v2 << " " << v.v3 << std::endl;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
addq $0x10, %rdi
movl (%rsi), %esi
callq 0x14590
movq %rax, %r15
leaq 0x4d8b7(%rip), %r14 # 0x11e2e0
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x14900
movl 0x4(%rbx), %esi
movq %r15, %rdi
callq 0x14590
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq ... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store_array_text(char const*, embree::vector_t<embree::Vec3fa, embree::aligned_allocator<embree::Vec3fa, 16ul>> const&) | void XMLWriter::store_array_text(const char* name, const avector<Vec3fa>& vec)
{
open(name);
for (size_t i=0; i<vec.size(); i++) {
tab(); store_array_elt(vec[i]);
}
close(name);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x14310
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0xcff50
movq %r14, 0x10(%rsp)
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store_array_text(char const*, embree::vector_t<embree::Vec3fx, embree::aligned_allocator<embree::Vec3fx, 16ul>> const&) | void XMLWriter::store_array_text(const char* name, const avector<Vec3ff>& vec)
{
open(name);
for (size_t i=0; i<vec.size(); i++) {
tab(); store_array_elt(vec[i]);
}
close(name);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x14310
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0xcff50
movq %r14, 0x10(%rsp)
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store_parm(char const*, float const&) | void XMLWriter::store_parm(const char* name, const float& v) {
tab(); xml << "<float name=\"" << name << "\">" << v << "</float>" << std::endl;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpq $0x0, 0x420(%rdi)
je 0xd101f
leaq 0x10(%rbx), %r12
xorl %ebp, %ebp
leaq 0x4d2dd(%rip), %r13 # 0x11e2e0
movl $0x1, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x14900
incq %rbp
cmpq 0x420(... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store_parm(char const*, embree::Vec3fa const&) | void XMLWriter::store_parm(const char* name, const Vec3fa& v) {
tab(); xml << "<float3 name=\"" << name << "\">" << v.x << " " << v.y << " " << v.z << "</float3>" << std::endl;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
cmpq $0x0, 0x420(%rdi)
je 0xd111f
leaq 0x10(%r14), %r12
xorl %ebp, %ebp
leaq 0x4d1dd(%rip), %r13 # 0x11e2e0
movl $0x1, %edx
movq %r12, %rdi
movq %r13, %rsi
callq 0x14900
incq %rbp
cmpq 0x420(... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::SceneGraph::DirectionalLight const&, long) | void XMLWriter::store(const SceneGraph::DirectionalLight& light, ssize_t id)
{
open("DirectionalLight",id);
store("AffineSpace",frame(light.D));
store("E",light.E);
close("DirectionalLight");
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4e2cb(%rip), %rsi # 0x12014c
leaq 0x4e2d4(%rip), %rdx # 0x12015c
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x62274
movq %rbx, %rdi
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::SceneGraph::Node>) | void XMLWriter::store(Ref<SceneGraph::Node> node)
{
if (nodeMap.find(node) != nodeMap.end()) {
tab(); xml << "<ref id=\"" << nodeMap[node] << "\"/>" << std::endl; return;
}
const ssize_t id = nodeMap[node] = currentNodeID++;
if (node->fileName != "") {
tab(); xml << "<extern id=\"" <<... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x430(%rdi), %r12
movq 0x440(%rdi), %rax
testq %rax, %rax
je 0xd2ed9
leaq 0x438(%rbx), %rsi
movq (%r15), %rcx
movq %rsi, %rdx
xorl %edi, %edi
cmpq %rcx, 0x20(%rax)
setb %dil
cmovaeq %rax, %rdx
movq 0x... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::MirrorMaterial>, long) | void XMLWriter::store(Ref<MirrorMaterial> material, ssize_t id)
{
open("material",id,material->name);
store("code","Mirror");
open("parameters");
store_parm("reflectance",material->reflectance);
close("parameters");
close("material");
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4d601(%rip), %rsi # 0x120e59
leaq 0x4d602(%rip), %rdx # 0x120e61
leaq 0x20(%rsp), %rdi
callq 0x62274
movq (%r14), %rax
leaq 0x10(%rsp), %r13... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::OBJMaterial>, long) | void XMLWriter::store(Ref<OBJMaterial> material, ssize_t id)
{
open("material",id,material->name);
store("code","OBJ");
open("parameters");
store_parm("d",material->d);
store_parm("Ka",material->Ka);
store_parm("Kd",material->Kd);
store_parm("Ks",material->Ks);
store_parm("Kt",material... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x80(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4d214(%rip), %rsi # 0x120e59
leaq 0x4d215(%rip), %rdx # 0x120e61
leaq 0x70(%rsp), %rdi
callq 0x62274
movq (%r14), %rax
leaq 0x60(%rsp), %r13... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::MetalMaterial>, long) | void XMLWriter::store(Ref<MetalMaterial> material, ssize_t id)
{
open("material",id,material->name);
store("code","Metal");
open("parameters");
store_parm("reflectance",material->reflectance);
store_parm("eta",material->eta);
store_parm("k",material->k);
store_parm("roughness",material->ro... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4cd9b(%rip), %rsi # 0x120e59
leaq 0x4cd9c(%rip), %rdx # 0x120e61
leaq 0x20(%rsp), %rdi
callq 0x62274
movq (%r14), %rax
leaq 0x10(%rsp), %r13... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::VelvetMaterial>, long) | void XMLWriter::store(Ref<VelvetMaterial> material, ssize_t id)
{
open("material",id,material->name);
store("code","Velvet");
open("parameters");
store_parm("reflectance",material->reflectance);
store_parm("backScattering",material->backScattering);
store_parm("horizonScatteringColor",material... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4cb77(%rip), %rsi # 0x120e59
leaq 0x4cb78(%rip), %rdx # 0x120e61
leaq 0x20(%rsp), %rdi
callq 0x62274
movq (%r14), %rax
leaq 0x10(%rsp), %r13... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::MetallicPaintMaterial>, long) | void XMLWriter::store(Ref<MetallicPaintMaterial> material, ssize_t id)
{
open("material",id,material->name);
store("code","MetallicPaint");
open("parameters");
store_parm("shadeColor",material->shadeColor);
store_parm("glitterColor",material->glitterColor);
store_parm("glitterSpread",material-... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x4c72f(%rip), %rsi # 0x120e59
leaq 0x4c730(%rip), %rdx # 0x120e61
leaq 0x20(%rsp), %rdi
callq 0x62274
movq (%r14), %rax
leaq 0x10(%rsp), %r13... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::SceneGraph::TriangleMeshNode>, long) | void XMLWriter::store(Ref<SceneGraph::TriangleMeshNode> mesh, ssize_t id)
{
open("TriangleMesh",id);
store(mesh->material);
if (mesh->numTimeSteps() != 1) open("animated_positions");
for (const auto& p : mesh->positions) store("positions",p);
if (mesh->numTimeSteps() != 1) close("animated_po... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xc0(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4b2dd(%rip), %rsi # 0x120745
leaq 0x4b2e2(%rip), %rdx # 0x120751
leaq 0xb0(%rsp), %r12
movq %r12, %rdi
callq 0x62274
movq %rbx, %rdi
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::SceneGraph::QuadMeshNode>, long) | void XMLWriter::store(Ref<SceneGraph::QuadMeshNode> mesh, ssize_t id)
{
open("QuadMesh",id);
store(mesh->material);
if (mesh->numTimeSteps() != 1) open("animated_positions");
for (const auto& p : mesh->positions) store("positions",p);
if (mesh->numTimeSteps() != 1) close("animated_positions"... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xc0(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4afa2(%rip), %rsi # 0x120752
leaq 0x4afa3(%rip), %rdx # 0x12075a
leaq 0xb0(%rsp), %r12
movq %r12, %rdi
callq 0x62274
movq %rbx, %rdi
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::XMLWriter::store(embree::Ref<embree::SceneGraph::SubdivMeshNode>, long) | void XMLWriter::store(Ref<SceneGraph::SubdivMeshNode> mesh, ssize_t id)
{
open("SubdivisionMesh",id);
store(mesh->material);
if (mesh->numTimeSteps() != 1) open("animated_positions");
for (const auto& p : mesh->positions) store("positions",p);
if (mesh->numTimeSteps() != 1) close("animated_po... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xc0(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4ac6c(%rip), %rsi # 0x120764
leaq 0x4ac74(%rip), %rdx # 0x120773
leaq 0xb0(%rsp), %r12
movq %r12, %rdi
callq 0x62274
movq %rbx, %rdi
movq %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::SceneGraph::storeXML(embree::Ref<embree::SceneGraph::Node>, embree::FileName const&, bool, bool, bool) | void SceneGraph::storeXML(Ref<SceneGraph::Node> root, const FileName& fileName, bool embedTextures, bool referenceMaterials, bool binaryFormat) {
XMLWriter(root,fileName,embedTextures,referenceMaterials,binaryFormat);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x4a0, %rsp # imm = 0x4A0
movl %r8d, %ebp
movl %ecx, %r15d
movl %edx, %r12d
movq %rsi, %r14
movq (%rdi), %rbx
movq %rbx, (%rsp)
testq %rbx, %rbx
je 0xd7ddb
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x10(%rax)
movzbl %r12b, %ecx
movzbl %r15b, %r8d
mo... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
void embree::XMLWriter::store_array_text<embree::Vec2<float>>(char const*, std::vector<embree::Vec2<float>, std::allocator<embree::Vec2<float>>> const&) | void XMLWriter::store_array_text(const char* name, const std::vector<T>& vec)
{
open(name);
for (size_t i=0; i<vec.size(); i++) {
tab(); store_array_elt(vec[i]);
}
close(name);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x14310
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0xcff50
movq %r14, 0x10(%rsp)
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
void embree::XMLWriter::store_array_binary<embree::SceneGraph::QuadMeshNode::Quad>(char const*, std::vector<embree::SceneGraph::QuadMeshNode::Quad, std::allocator<embree::SceneGraph::QuadMeshNode::Quad>> const&) | void XMLWriter::store_array_binary(const char* name, const std::vector<T>& vec)
{
std::streampos offset = bin.tellg();
tab(); xml << "<" << name << " ofs=\"" << offset << "\" size=\"" << vec.size() << "\"/>" << std::endl;
if (vec.size()) bin.write((char*)vec.data(),vec.size()*sizeof(T));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
addq $0x210, %rdi # imm = 0x210
callq 0x14f80
movq %rax, (%rsp)
cmpq $0x0, 0x420(%rbx)
je 0xd8dda
leaq 0x10(%rbx), %r13
xorl %r15d, %r15d
leaq 0x45522(%rip), %rbp # 0x11e2e0
movl $... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
void embree::XMLWriter::store_array_text<float>(char const*, std::vector<float, std::allocator<float>> const&) | void XMLWriter::store_array_text(const char* name, const std::vector<T>& vec)
{
open(name);
for (size_t i=0; i<vec.size(); i++) {
tab(); store_array_elt(vec[i]);
}
close(name);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x38(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x14310
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0xcff50
movq %r14, 0x10(%rsp)
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %r... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
void embree::XMLWriter::store_array_binary<int>(char const*, std::vector<int, std::allocator<int>> const&) | void XMLWriter::store_array_binary(const char* name, const std::vector<T>& vec)
{
std::streampos offset = bin.tellg();
tab(); xml << "<" << name << " ofs=\"" << offset << "\" size=\"" << vec.size() << "\"/>" << std::endl;
if (vec.size()) bin.write((char*)vec.data(),vec.size()*sizeof(T));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
addq $0x210, %rdi # imm = 0x210
callq 0x14f80
movq %rax, (%rsp)
cmpq $0x0, 0x420(%rbx)
je 0xd9836
leaq 0x10(%rbx), %r13
xorl %r15d, %r15d
leaq 0x44ac6(%rip), %rbp # 0x11e2e0
movl $... | /embree[P]embree/tutorials/common/scenegraph/xml_writer.cpp |
embree::OBJLoader::OBJLoader(embree::FileName const&, bool, bool) | OBJLoader::OBJLoader(const FileName &fileName, const bool subdivMode, const bool combineIntoSingleObject)
: group(new SceneGraph::GroupNode), path(fileName.path()), subdivMode(subdivMode)
{
/* open file */
std::ifstream cin;
cin.open(fileName.c_str());
if (!cin.is_open()) {
THROW_RUNTIME_ER... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp # imm = 0x338
movl %ecx, 0x98(%rsp)
movl %edx, %ebx
movq %rsi, %r12
movq %rdi, %rbp
movl $0x80, %edi
callq 0x147e0
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
callq 0xcaa3e
movq %r14, (%rbp)
movq (%r14), %rax
movq %r14, %... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::getVec3f(char const*&) | static inline Vec3f getVec3f(const char*& token) {
float x = getFloat(token);
token += strspn(token, " \t");
if (*token == 0) return Vec3f(x);
float y = getFloat(token);
float z = getFloat(token);
return Vec3f(x,y,z);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %r15
leaq 0x459fc(%rip), %r12 # 0x120f89
movq %r15, %rdi
movq %r12, %rsi
callq 0x14370
movq %rax, %r13
addq %r15, %r13
movq %r13, (%r14)
movq %r13, %rdi
callq 0x14a40
cvtsd2ss %xmm0, %xmm0... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::OBJLoader::getUInt3(char const*&) | Vertex OBJLoader::getUInt3(const char*& token)
{
Vertex v(-1);
v.v = fix_v(atoi(token));
token += strcspn(token, "/ \t\r");
if (token[0] != '/') return(v);
token++;
// it is i//n
if (token[0] == '/') {
token++;
v.vn = fix_vn(atoi(token));
token += strcspn(token, " \t\r")... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r12
movq (%rsi), %r15
movq %r15, %rdi
callq 0x14dd0
movl %eax, %ebx
testl %eax, %eax
jle 0xdb738
decl %ebx
jmp 0xdb743
je 0xdb741
addl 0x38(%r12), %ebx
jmp 0xdb743
xorl %ebx, %ebx
leaq 0x45996(%rip), %rsi # 0x12... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::OBJLoader::loadMTL(embree::FileName const&) | void OBJLoader::loadMTL(const FileName &fileName)
{
std::ifstream cin;
cin.open(fileName.c_str());
if (!cin.is_open()) {
std::cerr << "cannot open " << fileName.str() << std::endl;
return;
}
std::string name;
ExtObjMaterial cur;
while (cin.peek() != -1)
{
/* load ne... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4b8, %rsp # imm = 0x4B8
movq %rsi, %rbx
movq %rdi, %r13
leaq 0x2b0(%rsp), %r14
movq %r14, %rdi
callq 0x148f0
movq (%rbx), %rsi
movq %r14, %rdi
movl $0x8, %edx
callq 0x144f0
leaq 0x328(%rsp), %rdi
callq 0x141f0
testb %al, %al
je 0xdcd9a... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::OBJLoader::loadTexture(embree::FileName const&) | std::shared_ptr<Texture> OBJLoader::loadTexture(const FileName& fname)
{
if (textureMap.find(fname.str()) != textureMap.end())
return textureMap[fname.str()];
return std::shared_ptr<Texture>(Texture::load(path+fname));
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, (%rsp)
leaq 0x128(%rsi), %r14
leaq 0x18(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x621de
movq %r14, %r... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::OBJLoader::getVertex(std::map<embree::Vertex, unsigned int, std::less<embree::Vertex>, std::allocator<std::pair<embree::Vertex const, unsigned int>>>&, embree::Ref<embree::SceneGraph::TriangleMeshNode>, embree::Vertex const&) | uint32_t OBJLoader::getVertex(std::map<Vertex,uint32_t>& vertexMap, Ref<SceneGraph::TriangleMeshNode> mesh, const Vertex& i)
{
const std::map<Vertex, uint32_t>::iterator& entry = vertexMap.find(i);
if (entry != vertexMap.end()) return(entry->second);
if (i.v >= v.size()) std::cout << "WARNING: corrup... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq %rsi, %rdi
movq %rcx, %rsi
callq 0xdfa50
leaq 0x8(%r14), %rcx
cmpq %rcx, %rax
je 0xdd1ea
movl 0x2c(%rax), %ebp
jmp 0xdd579
movl (%rbx), %eax
cmpq %rax, 0x38(%r12)
movq ... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::ExtObjMaterial::select() const | Ref<SceneGraph::MaterialNode> select() const
{
std::shared_ptr<Texture> nulltex;
if (type == NONE) {
return new OBJMaterial(d,map_d,Ka,map_Ka,Kd,map_Kd,Ks,map_Ks,Kt,map_Kt,Ns,map_Ns,map_Displ);
} else if (type == MATTE) {
if (coat_eta != 1.0f) return new MetallicPaintMaterial (Kd,... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %rdi, %rbx
movl (%rsi), %eax
cmpq $0x4, %rax
ja 0xde6d6
movq %rsi, %r14
leaq 0x42a60(%rip), %rcx # 0x120f60
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x180, %edi # imm = 0x1... | /embree[P]embree/tutorials/common/scenegraph/obj_loader.cpp |
embree::SceneGraph::HairSetNode::HairSetNode(embree::vector_t<embree::Vec3fx, embree::aligned_allocator<embree::Vec3fx, 16ul>> const&, std::vector<embree::SceneGraph::HairSetNode::Hair, std::allocator<embree::SceneGraph::HairSetNode::Hair>> const&, embree::Ref<embree::SceneGraph::MaterialNode>, RTCGeometryType) | HairSetNode (const avector<Vertex>& positions_in, const std::vector<Hair>& hairs, Ref<MaterialNode> material, RTCGeometryType type)
: Node(true), time_range(0.0f,1.0f), type(type), hairs(hairs), material(material), tessellation_rate(4)
{
positions.push_back(positions_in);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r13
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
movq %rcx, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movb %al, 0x20(%rdi)
leaq 0x40(%rdi), %rcx
movq %rcx, 0x30(%rdi)
movq %rax, 0x38(%rdi)
movb %al, 0x40(%rdi)
movq %... | /embree[P]embree/tutorials/common/scenegraph/scenegraph.h |
embree::SceneGraph::sizeOfType(embree::SceneGraph::Type::Tag) | size_t sizeOfType(Type::Tag ty)
{
switch (ty) {
case Type::PTY_CHAR : return 1;
case Type::PTY_UCHAR : return 1;
case Type::PTY_SHORT : return 2;
case Type::PTY_USHORT : return 2;
case Type::PTY_INT : return 4;
case Type::PTY_UINT : return 4;
case Type::PTY_FLOAT : r... | pushq %r14
pushq %rbx
pushq %rax
cmpl $0x8, %edi
jae 0xdfe9e
movl %edi, %eax
leaq 0x412ae(%rip), %rcx # 0x121140
movq (%rcx,%rax,8), %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x10, %edi
callq 0x143c0
movq %rax, %rbx
leaq 0x41306(%rip), %rsi # 0x1211b8
movq %rax, %rdi
callq 0x14300
movq 0x8c127(%rip), ... | /embree[P]embree/tutorials/common/scenegraph/ply_loader.cpp |
embree::SceneGraph::typeTagOfString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | Type::Tag typeTagOfString(const std::string& ty) {
if (ty == "char") return Type::PTY_CHAR;
if (ty == "int8") return Type::PTY_CHAR;
if (ty == "uchar") return Type::PTY_UCHAR;
if (ty == "uint8") return Type::PTY_UCHAR;
if (ty == "short") return Type::PTY_SHORT;
if (ty == "int16") ret... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x412d1(%rip), %rsi # 0x1211c6
callq 0x14240
xorl %ebp, %ebp
testl %eax, %eax
je 0xe0051
leaq 0x412c1(%rip), %rsi # 0x1211cc
movq %rbx, %rdi
callq 0x14240
testl %eax, %eax
je 0xe0051
leaq 0x412a3(%rip), %rsi # 0x1211c5
movq %rbx, %rdi
ca... | /embree[P]embree/tutorials/common/scenegraph/ply_loader.cpp |
embree::SceneGraph::PlyParser::parseType(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char>>&) | Type parseType(std::stringstream& cin)
{
std::string ty; cin >> ty;
if (ty == "list") {
std::string ty0; cin >> ty0;
std::string ty1; cin >> ty1;
return Type(Type::PTY_LIST,typeTagOfString(ty0),typeTagOfString(ty1));
} else return Type(typeTagOfString(ty));
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x14ad0
leaq 0x3d83b(%rip), %rsi # 0x11f0f1
movq %rsp, %rdi
callq 0x14240
testl %eax, %eax
je 0xe18e1
mov... | /embree[P]embree/tutorials/common/scenegraph/ply_loader.cpp |
embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>> embree::CoronaLoader::load<embree::AffineSpaceT<embree::LinearSpace3<embree::Vec3fa>>>(embree::Ref<embree::XML> const&) | AffineSpace3fa CoronaLoader::load<AffineSpace3fa>(const Ref<XML>& xml)
{
if (xml->body.size() != 12) THROW_RUNTIME_ERROR(xml->loc.str()+": wrong AffineSpace body");
return AffineSpace3fa(LinearSpace3fa(xml->body[0].Float(),xml->body[1].Float(),xml->body[ 2].Float(),
x... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq (%rdx), %rax
movq 0x98(%rax), %rdi
movq 0xa0(%rax), %rax
subq %rdi, %rax
cmpq $0x360, %rax # imm = 0x360
jne 0xe4cbb
movl $0x1, %esi
callq 0xc5c8c
movaps %xmm0, 0x40(%rsp)
movq (%r14), %rax
movq 0x98(%rax), %rdi... | /embree[P]embree/tutorials/common/scenegraph/corona_loader.cpp |
embree::Texture::string_to_format(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | Texture::Format Texture::string_to_format(const std::string& str)
{
if (str == "RGBA8") return RGBA8;
else if (str == "RGB8") return RGB8;
else if (str == "FLOAT32") return FLOAT32;
else THROW_RUNTIME_ERROR("invalid texture format string");
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3954a(%rip), %rsi # 0x121520
callq 0x14240
testl %eax, %eax
je 0xe803e
leaq 0x39540(%rip), %rsi # 0x121526
movq %rbx, %rdi
callq 0x14240
testl %eax, %eax
je 0xe8045
leaq 0x39532(%rip), %rsi # 0x12152b
movq %rbx, %rdi
callq 0x14240
movl %eax, %ecx
movl ... | /embree[P]embree/tutorials/common/scenegraph/texture.cpp |
embree::Texture::load(embree::FileName const&) | std::shared_ptr<Texture> Texture::load(const FileName& fileName)
{
if (texture_cache.find(fileName.str()) != texture_cache.end())
return texture_cache[fileName.str()];
std::shared_ptr<Texture> tex(new Texture(loadImage(fileName),fileName));
return texture_cache[fileName.str()] = tex;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x621de
leaq 0x8497f(%rip), %rdi # 0x16ca20
movq %r15, %rs... | /embree[P]embree/tutorials/common/scenegraph/texture.cpp |
embree::Image::convertToRGBA8(unsigned char*) | void convertToRGBA8(unsigned char *dest)
{
for (size_t y=0;y<height;y++)
for (size_t x=0;x<width;x++)
{
size_t offset = 4 * (y * width + x);
Color4 c = get(x,y);
dest[offset+0] = (unsigned char)(c.r * 255.0f);
dest[offset+1] = (unsigned char)(c.g * 255.0f);
dest[offset+2] = (unsig... | movq 0x18(%rdi), %rax
testq %rax, %rax
je 0xe8389
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rdi), %rbp
xorl %r15d, %r15d
movq %rsp, %r12
testq %rbp, %rbp
je 0xe8371
xorl %r13d, %r13d
imulq %r15, %rbp
addq %r13, %rbp
movq (%r14), %rax
mo... | /embree[P]embree/tutorials/common/scenegraph/../image/image.h |
embree::parseComments(embree::Ref<embree::Stream<embree::Token>>&) | void parseComments(Ref<Stream<Token> >& cin)
{
while (cin->peek() == Token::Sym("<!--")) {
cin->drop();
while (cin->peek() != Token::Sym("-->")) {
if (cin->peek() == Token::Eof())
THROW_RUNTIME_ERROR(cin->get().Location().str()+": --> expected");
cin->drop();
}
ci... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq 0x38(%rsp), %r14
leaq 0x98(%rsp), %rbp
leaq 0x20(%rsp), %r13
leaq 0x88(%rsp), %r15
movq (%rbx), %rdi
callq 0xeada0
movq %rax, %r12
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %rsp, %rdi
leaq 0x3919c(%rip), %rsi ... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.cpp |
embree::parseParm(embree::Ref<embree::Stream<embree::Token>>&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>... | void parseParm(Ref<Stream<Token> >& cin, std::map<std::string,std::string>& parms)
{
std::string name = cin->get().Identifier();
if (cin->get() != Token::Sym("=")) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": symbol \"=\" expected");
parms[name] = cin->get().String();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %rbx
movq %rdi, %r15
movq (%rdi), %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xeb1b8
leaq 0xb8(%rsp), %rdi
movq %r14, %rsi
callq 0xe78a2
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0xe8710
callq 0x620e8
leaq 0x20(%rsp), %r1... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.cpp |
embree::parseHeader(embree::Ref<embree::Stream<embree::Token>>&) | Ref<XML> parseHeader(Ref<Stream<Token> >& cin)
{
Ref<XML> xml = new XML;
if (cin->get() != Token::Sym("<?")) THROW_RUNTIME_ERROR(cin->unget().Location().str()+": wrong XML header");
xml->name = cin->get().Identifier();
parseComments(cin);
while (cin->peek() != Token::Sym("?>")) {
parseParm(c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r15
movq %rdi, 0x10(%rsp)
movl $0xb0, %edi
callq 0x147e0
movq %rax, %rbp
leaq 0x28(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x38582(%rip), %rdx # 0x120f8b
leaq 0x18(%rsp), %rdi
movq %rdx, %rsi
callq 0x62274
movb $0x1, %bl
... | /embree[P]embree/tutorials/common/scenegraph/xml_parser.cpp |
embree::FileStream::~FileStream() | ~FileStream() {
if (ifs) ifs.close();
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x7f2c5(%rip), %rax # 0x16b078
movq %rax, (%rdi)
leaq 0x40(%rdi), %r14
movq 0x40(%rdi), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x60(%rdi,%rax)
jne 0xebdd1
movq %r14, %rdi
callq 0x141c0
movq 0x268(%rbx), %rdi
testq %rdi, %rdi
je 0xebde2
callq 0x620e8
movq %r14, ... | /embree[P]embree/tutorials/common/scenegraph/../../../common/lexers/stream.h |
embree::TokenStream::tryString(embree::Token&, embree::ParseLocation const&) | bool TokenStream::tryString(Token& token, const ParseLocation& loc)
{
std::string str;
if (cin->peek() != '\"') return false;
cin->drop();
while (cin->peek() != '\"') {
const int c = cin->get();
if (!isStringChar(c)) THROW_RUNTIME_ERROR("invalid string character "+std::string(1,c)+" at "+l... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x40(%rdi), %rdi
callq 0xecc52
movl (%rax), %r13d
cmpl $0x22, %r13d
jne 0... | /embree[P]embree/common/lexers/tokenstream.cpp |
embree::TokenStream::tryIdentifier(embree::Token&, embree::ParseLocation const&) | bool TokenStream::tryIdentifier(Token& token, const ParseLocation& loc)
{
std::string str;
if (!isAlpha(cin->peek())) return false;
str += (char)cin->get();
while (isAlphaNum(cin->peek())) str += (char)cin->get();
token = Token(str,Token::TY_IDENTIFIER,loc);
return true;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movq 0x40(%rdi), %rdi
callq 0xecc52
movl (%rax), %eax
cmpq $0xff, %rax
ja 0xee2cf
cmpb $0x0, 0x148(%r15,%rax)
je 0x... | /embree[P]embree/common/lexers/tokenstream.cpp |
embree::TokenStream::skipSeparators() | void TokenStream::skipSeparators()
{
/* skip separators */
while (cin->peek() != EOF && isSeparator(cin->peek()))
cin->drop();
} | pushq %rbx
movq %rdi, %rbx
movq 0x40(%rdi), %rdi
callq 0xecc52
cmpl $-0x1, (%rax)
je 0xee421
movq 0x40(%rbx), %rdi
callq 0xecc52
movl (%rax), %eax
cmpq $0xff, %rax
ja 0xee421
cmpb $0x1, 0x48(%rbx,%rax)
jne 0xee421
movq 0x40(%rbx), %rdi
callq 0xecdf8
movq 0x40(%rbx), %rdi
jmp 0xee3ee
popq %rbx
retq
nop
| /embree[P]embree/common/lexers/tokenstream.cpp |
embree::TokenStream::next() | Token TokenStream::next()
{
Token token;
skipSeparators();
ParseLocation loc = cin->loc();
if (trySymbols (token,loc)) return token; /**< try to parse a symbol */
if (tryFloat (token,loc)) return token; /**< try to parse float */
if (tryInt (token,loc)) return token; ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
pcmpeqd %xmm0, %xmm0
leaq 0x18(%rsp), %r15
movdqu %xmm0, 0x20(%r15)
movl $0x0, -0x18(%r15)
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x10(%r15)
movq %rsi, %rdi
callq 0xee3e6
... | /embree[P]embree/common/lexers/tokenstream.cpp |
embree::storeImage(embree::Ref<embree::Image> const&, embree::FileName const&) | void storeImage(const Ref<Image>& img, const FileName& fileName)
{
std::string ext = toLowerCase(fileName.ext());
if (ext == "bmp" ) { storeSTB(img, fileName); return; }
if (ext == "png" ) { storeSTB(img, fileName); return; }
if (ext == "jpg" ) { storeSTB(img, fileName); return; }
if (ext == ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x7cafc
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x117ac8
leaq 0x38(%rsp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0xeedc9
callq 0x14760
leaq 0x32a80(%rip), %rsi # 0x1218... | /embree[P]embree/tutorials/common/image/image.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.