Blender  V2.93
Classes | Namespaces | Functions
evaluator_impl.cc File Reference
#include "internal/evaluator/evaluator_impl.h"
#include <cassert>
#include <cstdio>
#include <opensubdiv/far/patchMap.h>
#include <opensubdiv/far/patchTable.h>
#include <opensubdiv/far/patchTableFactory.h>
#include <opensubdiv/osd/cpuEvaluator.h>
#include <opensubdiv/osd/cpuPatchTable.h>
#include <opensubdiv/osd/cpuVertexBuffer.h>
#include <opensubdiv/osd/mesh.h>
#include <opensubdiv/osd/types.h>
#include <opensubdiv/version.h>
#include "MEM_guardedalloc.h"
#include "internal/base/type.h"
#include "internal/topology/topology_refiner_impl.h"
#include "opensubdiv_topology_refiner_capi.h"

Go to the source code of this file.

Classes

class  blender::opensubdiv::CpuEvalOutput
 

Namespaces

 blender
 
 blender::opensubdiv
 

Functions

OpenSubdiv_EvaluatorImplopenSubdiv_createEvaluatorInternal (OpenSubdiv_TopologyRefiner *topology_refiner)
 
void openSubdiv_deleteEvaluatorInternal (OpenSubdiv_EvaluatorImpl *evaluator)
 

Function Documentation

◆ openSubdiv_createEvaluatorInternal()

OpenSubdiv_EvaluatorImpl* openSubdiv_createEvaluatorInternal ( OpenSubdiv_TopologyRefiner topology_refiner)

◆ openSubdiv_deleteEvaluatorInternal()

void openSubdiv_deleteEvaluatorInternal ( OpenSubdiv_EvaluatorImpl evaluator)

Definition at line 889 of file evaluator_impl.cc.

Referenced by openSubdiv_deleteEvaluator().

Variable Documentation

◆ data_

T* data_
protected

Definition at line 159 of file evaluator_impl.cc.

Referenced by blender::Array< T, InlineBufferCapacity, Allocator >::Array(), blender::bke::ArrayReadAttribute< T >::ArrayReadAttribute(), blender::bke::ArrayWriteAttribute< T >::ArrayWriteAttribute(), blender::MutableSpan< T >::as_span(), blender::Array< T, InlineBufferCapacity, Allocator >::begin(), blender::Span< T >::begin(), blender::MutableSpan< T >::begin(), blender::Span< T >::cast(), blender::MutableSpan< T >::cast(), ccl_try_align(), blender::MutableSpan< T >::copy_from(), blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::Span< T >::data(), blender::MutableSpan< T >::data(), blender::fn::GSpan::data(), blender::fn::GMutableSpan::data(), blender::bke::DerivedArrayReadAttribute< StructT, ElemT, GetFunc >::DerivedArrayReadAttribute(), blender::fn::GMutablePointer::destruct(), blender::MutableSpan< T >::drop_back(), blender::Span< T >::drop_back(), blender::MutableSpan< T >::drop_front(), blender::Span< T >::drop_front(), drw_draw_depth_loop_impl(), DRW_draw_render_loop_ex(), DRW_draw_select_loop(), DRW_render_object_iter(), blender::Array< T, InlineBufferCapacity, Allocator >::end(), blender::Span< T >::end(), blender::MutableSpan< T >::end(), blender::MutableSpan< T >::fill(), blender::Array< T, InlineBufferCapacity, Allocator >::fill(), blender::MutableSpan< T >::fill_indices(), blender::Span< T >::first(), blender::Span< T >::first_index_try(), blender::UserCounter< T >::get(), blender::fn::GMutablePointer::get(), blender::fn::GPointer::get(), blender::Span< T >::get(), blender::VArrayForSpan< T >::get_impl(), blender::bke::ArrayReadAttribute< T >::get_internal(), blender::bke::OwnedArrayReadAttribute< T >::get_internal(), blender::bke::DerivedArrayReadAttribute< StructT, ElemT, GetFunc >::get_internal(), blender::bke::ArrayWriteAttribute< T >::get_internal(), blender::bke::DerivedArrayWriteAttribute< StructT, ElemT, GetFunc, SetFunc >::get_internal(), blender::VArrayForSpan< T >::get_span_impl(), blender::fn::GMutablePointer::GMutablePointer(), blender::fn::GMutableSpan::GMutableSpan(), blender::fn::GPointer::GPointer(), blender::fn::GSpan::GSpan(), blender::Span< T >::has_duplicates__linear_search(), blender::UserCounter< T >::has_value(), blender::UserCounter< T >::hash(), blender::bke::ArrayReadAttribute< T >::initialize_span(), blender::bke::OwnedArrayReadAttribute< T >::initialize_span(), blender::bke::ArrayWriteAttribute< T >::initialize_span(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::InplacePriorityQueue(), blender::Span< T >::intersects__linear_search(), blender::Array< T, InlineBufferCapacity, Allocator >::last(), blender::Span< T >::last(), blender::MutableSpan< T >::last(), blender::MutableSpan< T >::MutableSpan(), blender::UserCounter< T >::operator bool(), blender::fn::GMutableSpan::operator GSpan(), blender::Array< blender::fn::Value * >::operator MutableSpan< blender::fn::Value * >(), blender::Array< T, InlineBufferCapacity, Allocator >::operator MutableSpan< U >(), blender::MutableSpan< blender::Color4f >::operator Span< blender::Color4f >(), blender::Array< blender::fn::Value * >::operator Span< blender::fn::Value * >(), blender::Array< T, InlineBufferCapacity, Allocator >::operator Span< U >(), blender::MutableSpan< T >::operator Span< U >(), blender::UserCounter< T >::operator*(), blender::UserCounter< T >::operator->(), blender::UserCounter< T >::operator=(), blender::MutableSpan< T >::operator[](), blender::Array< T, InlineBufferCapacity, Allocator >::operator[](), blender::Span< T >::operator[](), blender::fn::GSpan::operator[](), blender::fn::GMutableSpan::operator[](), blender::bke::OwnedArrayReadAttribute< T >::OwnedArrayReadAttribute(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::peek(), blender::InplacePriorityQueue< T, FirstHasHigherPriority >::rebuild(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), blender::UserCounter< T >::release(), blender::UserCounter< T >::reset(), MEM_CacheLimiterHandleCClass::set_data(), blender::bke::ArrayWriteAttribute< T >::set_internal(), blender::bke::DerivedArrayWriteAttribute< StructT, ElemT, GetFunc, SetFunc >::set_internal(), blender::MutableSpan< T >::slice(), blender::Span< T >::slice(), blender::Span< T >::Span(), blender::MutableSpan< T >::take_back(), blender::Span< T >::take_back(), blender::MutableSpan< T >::take_front(), blender::Span< T >::take_front(), blender::fn::GSpan::typed(), blender::fn::GMutableSpan::typed(), blender::UserCounter< T >::UserCounter(), blender::VArrayForSpan< T >::VArrayForSpan(), blender::Array< T, InlineBufferCapacity, Allocator >::~Array(), and blender::UserCounter< T >::~UserCounter().

◆ device_context_

DEVICE_CONTEXT* device_context_
protected

Definition at line 292 of file evaluator_impl.cc.

◆ effective_elements_

T* effective_elements_
protected

Definition at line 137 of file evaluator_impl.cc.

◆ evaluator_cache_

EvaluatorCache* evaluator_cache_
protected

Definition at line 291 of file evaluator_impl.cc.

◆ face_varying_channel_

int face_varying_channel_
protected

Definition at line 280 of file evaluator_impl.cc.

◆ face_varying_stencils_

const STENCIL_TABLE* face_varying_stencils_
protected

Definition at line 286 of file evaluator_impl.cc.

◆ heap_elements_

T* heap_elements_
protected

Definition at line 133 of file evaluator_impl.cc.

◆ num_coarse_face_varying_vertices_

int num_coarse_face_varying_vertices_
protected

Definition at line 284 of file evaluator_impl.cc.

◆ num_elements_

int num_elements_
protected

Definition at line 125 of file evaluator_impl.cc.

◆ num_heap_elements_

int num_heap_elements_
protected

Definition at line 134 of file evaluator_impl.cc.

◆ num_vertices_

int num_vertices_
protected

Definition at line 175 of file evaluator_impl.cc.

◆ patch_table_

PATCH_TABLE* patch_table_
protected

Definition at line 289 of file evaluator_impl.cc.

◆ src_face_varying_data_

EVAL_VERTEX_BUFFER* src_face_varying_data_
protected

Definition at line 285 of file evaluator_impl.cc.

◆ src_face_varying_desc_

BufferDescriptor src_face_varying_desc_
protected

Definition at line 282 of file evaluator_impl.cc.

◆ stack_elements_

T stack_elements_[kNumMaxElementsOnStack]
protected

Definition at line 130 of file evaluator_impl.cc.