/dports/audio/musicpd/mpd-0.23.6/src/util/ |
H A D | PeakBuffer.cxx | 30 delete normal_buffer; in ~PeakBuffer() 37 return (normal_buffer == nullptr || normal_buffer->empty()) && in empty() 44 if (normal_buffer != nullptr) { in Read() 45 const auto p = normal_buffer->Read(); in Read() 62 if (normal_buffer != nullptr && !normal_buffer->empty()) { in Consume() 63 normal_buffer->Consume(length); in Consume() 115 if (normal_buffer == nullptr) in Append() 116 normal_buffer = new DynamicFifoBuffer<std::byte>(normal_size); in Append() 118 std::size_t nbytes = AppendTo(*normal_buffer, data, length); in Append()
|
H A D | PeakBuffer.hxx | 38 DynamicFifoBuffer<std::byte> *normal_buffer, *peak_buffer; member in PeakBuffer 43 normal_buffer(nullptr), peak_buffer(nullptr) {} in PeakBuffer() 47 normal_buffer(other.normal_buffer), in PeakBuffer() 49 other.normal_buffer = nullptr; in PeakBuffer()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/ |
H A D | subdiv_eval.c | 352 void *normal_buffer, in BKE_subdiv_eval_limit_patch_resolution_point_and_normal() argument 357 buffer_apply_offset(&normal_buffer, normal_offset); in BKE_subdiv_eval_limit_patch_resolution_point_and_normal() 365 buffer_write_float_value(&normal_buffer, normal, 3); in BKE_subdiv_eval_limit_patch_resolution_point_and_normal() 367 buffer_apply_offset(&normal_buffer, normal_stride); in BKE_subdiv_eval_limit_patch_resolution_point_and_normal() 378 void *normal_buffer, in BKE_subdiv_eval_limit_patch_resolution_point_and_short_normal() argument 383 buffer_apply_offset(&normal_buffer, normal_offset); in BKE_subdiv_eval_limit_patch_resolution_point_and_short_normal() 392 buffer_write_short_value(&normal_buffer, normal, 3); in BKE_subdiv_eval_limit_patch_resolution_point_and_short_normal() 394 buffer_apply_offset(&normal_buffer, normal_stride); in BKE_subdiv_eval_limit_patch_resolution_point_and_short_normal()
|
/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs-opengl/ |
H A D | gl-vertexbuffer.c | 32 if (!gl_create_buffer(GL_ARRAY_BUFFER, &vb->normal_buffer, in create_buffers() 103 if (vb->normal_buffer) in gs_vertexbuffer_destroy() 104 gl_delete_buffers(1, &vb->normal_buffer); in gs_vertexbuffer_destroy() 143 if (vb->normal_buffer && data->normals) { in gs_vertexbuffer_flush_internal() 144 if (!update_buffer(GL_ARRAY_BUFFER, vb->normal_buffer, in gs_vertexbuffer_flush_internal() 204 return vb->normal_buffer; in get_vb_buffer()
|
H A D | gl-subsystem.h | 492 GLuint normal_buffer; member
|
/dports/science/chrono/chrono-7.0.1/src/chrono_sensor/optix/ |
H A D | ChFilterOptixRender.cpp | 98 …half4* normal_buffer = cudaMallocHelper<half4>(pOptixSensor->GetWidth() * pOptixSensor->GetHeight(… in Initialize() local 102 m_raygen_record->data.specific.camera.normal_buffer = normal_buffer; in Initialize() 105 … normal_buffer, reinterpret_cast<half4*>(bufferOut->Buffer.get())); in Initialize() 207 half4* normal_buffer, in Initialize() argument 235 md_inputs[2].data = reinterpret_cast<CUdeviceptr>(normal_buffer); in Initialize()
|
H A D | ChOptixPipeline.cpp | 790 std::vector<float4> normal_buffer = std::vector<float4>(mesh->getCoordsNormals().size()); in GetRigidMeshMaterial() local 863 if (normal_buffer.size() > 0) { // optional for there to be vertex normals in GetRigidMeshMaterial() 865 normal_buffer[i] = make_float4((float)mesh->getCoordsNormals()[i].x(), // in GetRigidMeshMaterial() 871 … CUDA_ERROR_CHECK(cudaMemcpy(reinterpret_cast<void*>(d_normal_buffer), normal_buffer.data(), in GetRigidMeshMaterial() 872 … sizeof(float4) * normal_buffer.size(), cudaMemcpyHostToDevice)); in GetRigidMeshMaterial() 890 mesh_data.normal_buffer = d_normal_buffer; in GetRigidMeshMaterial() 937 CUdeviceptr d_normals = reinterpret_cast<CUdeviceptr>(m_mesh_pool[mesh_id].normal_buffer); in GetDeformableMeshMaterial() 972 … std::vector<float4> normal_buffer = std::vector<float4>(mesh->getCoordsNormals().size()); in UpdateDeformableMeshes() local 974 normal_buffer[j] = make_float4((float)mesh->getCoordsNormals()[j].x(), // in UpdateDeformableMeshes() 979 CUDA_ERROR_CHECK(cudaMemcpy(reinterpret_cast<void*>(d_normals), normal_buffer.data(), in UpdateDeformableMeshes() [all …]
|
H A D | ChOptixDefinitions.h | 79 …half4* normal_buffer; ///< The screen-space normal of the first hit. Only initialized if using gl… member 148 float4* normal_buffer; ///< a device pointer to the mesh's normals //size 8 member
|
H A D | ChFilterOptixRender.h | 46 half4* normal_buffer,
|
/dports/science/chrono/chrono-7.0.1/src/chrono_sensor/utils/ |
H A D | ChVisualMaterialUtils.cpp | 59 std::vector<ChVector<double>> normal_buffer; // = std::vector<ChVector<double>>(); in CreateModernMeshAssets() local 76 normal_buffer.push_back( in CreateModernMeshAssets() 148 if (normal_buffer.size() > 0) { in CreateModernMeshAssets() 169 mesh_shape->GetMesh()->m_normals = normal_buffer; in CreateModernMeshAssets()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/ |
H A D | BKE_subdiv_eval.h | 135 void *normal_buffer, 144 void *normal_buffer,
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | actor_init.cpp | 524 float* normal_buffer; in build_buffers() local 550 normal_buffer = new float[32768 * 3]; in build_buffers() 558 a->hardware_model->setNormalBuffer(reinterpret_cast<char*>(normal_buffer), in build_buffers() 590 buffer[i].m_normal[j] = normal_buffer[i * 3 + j]; in build_buffers() 753 delete[] normal_buffer; in build_buffers()
|
/dports/games/ufoai/ufoai-2.5-source/src/client/renderer/ |
H A D | r_model.cpp | 404 if (bsp->normal_buffer) in R_ShutdownModels() 405 qglDeleteBuffers(1, &bsp->normal_buffer); in R_ShutdownModels()
|
H A D | r_misc.cpp | 395 qglGenBuffers(1, &mod->bsp.normal_buffer); in R_ReinitOpenglContext() 396 qglBindBuffer(GL_ARRAY_BUFFER, mod->bsp.normal_buffer); in R_ReinitOpenglContext()
|
H A D | r_model_brush.h | 246 unsigned int normal_buffer; member
|
H A D | r_array.cpp | 129 R_BindBuffer(GL_NORMAL_ARRAY, GL_FLOAT, bsp->normal_buffer); in R_SetVertexBufferState()
|
H A D | r_model_brush.cpp | 645 qglGenBuffers(1, &mod->bsp.normal_buffer); in R_LoadBspVertexArrays() 646 qglBindBuffer(GL_ARRAY_BUFFER, mod->bsp.normal_buffer); in R_LoadBspVertexArrays()
|
/dports/science/chrono/chrono-7.0.1/src/chrono_sensor/optix/shaders/ |
H A D | material_shaders.cu | 60 mesh_params.normal_buffer) { // use vertex normals if normal index buffer exists in GetTriangleData() 63 normal = normalize(make_float3(mesh_params.normal_buffer[normal_idx.y]) * bary_coord.x + in GetTriangleData() 64 make_float3(mesh_params.normal_buffer[normal_idx.z]) * bary_coord.y + in GetTriangleData() 65 … make_float3(mesh_params.normal_buffer[normal_idx.x]) * (1.0f - bary_coord.x - bary_coord.y)); in GetTriangleData()
|
H A D | camera.cu | 66 camera.normal_buffer[image_index] = make_half4(screen_n_x, screen_n_y, screen_n_z, 0.f); in __raygen__camera_pinhole() 124 camera.normal_buffer[image_index] = make_half4(screen_n_x, screen_n_y, screen_n_z, 0.f); in __raygen__camera_fov_lens()
|
/dports/lang/seed7/seed7/src/ |
H A D | cmd_rtl.c | 435 char *normal_buffer; in copy_file() local 469 if (ALLOC_BYTES(normal_buffer, SIZE_NORMAL_BUFFER)) { in copy_file() 470 buffer = normal_buffer; in copy_file() 487 if (normal_buffer != NULL) { in copy_file() 488 FREE_BYTES(normal_buffer, SIZE_NORMAL_BUFFER); in copy_file()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/vulkan-validation-layers/src/tests/ |
H A D | vklayertests_buffer_image_memory_sampler.cpp | 11138 VkBuffer normal_buffer = VK_NULL_HANDLE; in TEST_F() local 11139 vk::CreateBuffer(device(), &buffer_create_info, nullptr, &normal_buffer); in TEST_F() 11170 dedicated_allocate_info.buffer = normal_buffer; in TEST_F() 11217 vk::GetBufferMemoryRequirements(device(), normal_buffer, &normal_buffer_memory_req); in TEST_F() 11241 dedicated_allocate_info.buffer = normal_buffer; in TEST_F() 11247 vk::DestroyBuffer(device(), normal_buffer, nullptr); in TEST_F()
|
/dports/graphics/vulkan-validation-layers/Vulkan-ValidationLayers-1.2.203/tests/ |
H A D | vklayertests_buffer_image_memory_sampler.cpp | 11945 VkBuffer normal_buffer = VK_NULL_HANDLE; in TEST_F() local 11946 vk::CreateBuffer(device(), &buffer_create_info, nullptr, &normal_buffer); in TEST_F() 11977 dedicated_allocate_info.buffer = normal_buffer; in TEST_F() 12024 vk::GetBufferMemoryRequirements(device(), normal_buffer, &normal_buffer_memory_req); in TEST_F() 12048 dedicated_allocate_info.buffer = normal_buffer; in TEST_F() 12054 vk::DestroyBuffer(device(), normal_buffer, nullptr); in TEST_F()
|