/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedInputStreamTest.java | 131 * can use hex notation and not get stupid errors about precision. 245 // Make sure we get the same error when reading direct from an InputStream. in assertReadVarintFailure() 1056 assertEquals(inputType.name(), (byte) 23, result.get()); in testReadByteBuffer() 1059 assertEquals(inputType.name(), (byte) 45, result.get()); in testReadByteBuffer() 1062 assertEquals(inputType.name(), (byte) 67, result.get()); in testReadByteBuffer() 1064 assertEquals(inputType.name(), (byte) 89, result.get()); in testReadByteBuffer() 1105 assertEquals(inputType.name(), (byte) 23, result.get()); in testReadByteBufferAliasing() 1109 assertEquals(inputType.name(), (byte) 45, result.get()); in testReadByteBufferAliasing() 1113 assertEquals(inputType.name(), (byte) 67, result.get()); in testReadByteBufferAliasing() 1115 assertEquals(inputType.name(), (byte) 89, result.get()); in testReadByteBufferAliasing() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | loop_dependence.cpp | 253 // To handle multiple subscripts we must get every operand in the access in GetDependence() 273 auto source_subscript = std::get<0>(*(*it).begin()); in GetDependence() 274 auto destination_subscript = std::get<1>(*(*it).begin()); in GetDependence() 303 // Record the <=> dependence if we can get a DistanceEntry in GetDependence() 355 auto source_subscript = std::get<0>(elem); in GetDependence() 356 auto destination_subscript = std::get<1>(elem); in GetDependence() 369 auto loops = CollectLoops(std::get<0>(subscript), std::get<1>(subscript)); in GetDependence() 395 auto source = std::get<0>(subscript_pair); in ZIVTest() 396 auto destination = std::get< in ZIVTest() [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/audio_encoder/ |
H A D | audio_ffmpeg_encoder_plugin.cpp | 190 auto context = avcodec_alloc_context3(avCodec_.get()); in Prepare() 265 auto res = avcodec_open2(avCodecContext_.get(), avCodec_.get(), nullptr); in Start() 295 auto res = avcodec_close(avCodecContext_.get()); in Stop() 312 avcodec_flush_buffers(avCodecContext_.get()); in Flush() 431 inputFrame = cachedFrame_.get(); in SendBufferLocked() 433 auto ret = avcodec_send_frame(avCodecContext_.get(), inputFrame); in SendBufferLocked() 460 // how get perfect pts with upstream pts ? in ReceiveFrameSucc() 474 auto ret = avcodec_receive_packet(avCodecContext_.get(), packet.get()); in ReceiveBufferLocked() [all...] |
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestUtils.cpp | 321 FormatConverterInfo rgbaConverterInfo = CreateConverterInfo(IEffectFormat::RGBA8888, rgbaBuffer.get(), in HWTEST_F() 324 FormatConverterInfo nv12ConverterInfo = CreateConverterInfo(IEffectFormat::YUVNV12, nv12Buffer.get(), WIDTH); in HWTEST_F() 326 FormatConverterInfo nv21ConverterInfo = CreateConverterInfo(IEffectFormat::YUVNV21, nv21Buffer.get(), WIDTH); in HWTEST_F() 391 MemcpyHelper::CopyData(src.get(), dst.get()); in HWTEST_F() 392 EXPECT_EQ(src.get(), dst.get()); in HWTEST_F() 403 NativeCommonUtils::SwitchToOHEffectInfo(&effectInfo, ohFilterInfo.get()); in HWTEST_F() 412 uint32_t result = NativeCommonUtils::GetSupportedFormats(ohFilterInfo.get()); in HWTEST_F() 417 result = NativeCommonUtils::GetSupportedFormats(ohFilterInfo.get()); in HWTEST_F() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_data_utils.cpp | 303 handle = get<int32_t>(ResultSetUtils::GetValFromColumn(MEDIA_DATA_DB_ID, resultSet, idType)); in GetPropList() 305 get<int32_t>(ResultSetUtils::GetValFromColumn(MEDIA_DATA_DB_ID, resultSet, idType))); in GetPropList() 343 MEDIA_ERR_LOG("get extensionIndex failed"); in GetFormatByPath() 421 prop.currentValue->str_ = make_shared<std::string>(get<std::string>(columnValue)); in SetProperty() 424 prop.currentValue->bin_.i32 = get<int32_t>(columnValue); in SetProperty() 429 make_shared<std::string>(MtpPacketTool::FormatDateTime(get<int64_t>(columnValue))); in SetProperty() 431 prop.currentValue->bin_.i64 = get<int64_t>(columnValue); in SetProperty() 479 outPropValue.outStrVal = get<std::string>(columnValue); in GetPropValueBySet() 482 outPropValue.outIntVal = static_cast<uint64_t>(get<int32_t>(columnValue)); in GetPropValueBySet() 487 outPropValue.outStrVal = Strftime(timeFormat, get<int64_ in GetPropValueBySet() [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | propagateNoContraction.cpp | 130 // A helper function to get the unsigned int from a given constant union node. 205 // A helper function to get the front element from a given ObjectAccessChain 212 // A helper function to get the access chain starting from the second element. 219 // A helper function to get the access chain after removing a given prefix. 265 // The pointer to the Function Definition node, so we can get the 295 // cache this node, so we can get the preciseness information of the return value in visitAggregate() 301 // get the preciseness of the return value later. in visitAggregate() 335 // We should always be able to get an access chain of the operand node. in visitUnary() 367 // We should always be able to get an access chain for the left node. in visitBinary() 427 NodeMapping& symbol_definition_mapping = std::get< in getSymbolToDefinitionMappingAndPreciseSymbolIDs() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | UnicodeSetStringSpan.java | 114 String string = strings.get(i); in UnicodeSetStringSpan() 165 String string = strings.get(i); in UnicodeSetStringSpan() 411 String string = strings.get(i); in spanWithStrings() 451 String string = strings.get(i); in spanWithStrings() 584 String string = strings.get(i); in spanAndCount() 621 String string = strings.get(i); in spanContainedAndCount() 681 String string = strings.get(i); in spanBack() 722 String string = strings.get(i); in spanBack() 878 String string = strings.get(i); in spanNot() 925 String string = strings.get( in spanNotBack() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | UnicodeSetStringSpan.java | 118 String string = strings.get(i); in UnicodeSetStringSpan() 162 String string = strings.get(i); in UnicodeSetStringSpan() 408 String string = strings.get(i); in spanWithStrings() 448 String string = strings.get(i); in spanWithStrings() 581 String string = strings.get(i); in spanAndCount() 618 String string = strings.get(i); in spanContainedAndCount() 678 String string = strings.get(i); in spanBack() 719 String string = strings.get(i); in spanBack() 875 String string = strings.get(i); in spanNot() 922 String string = strings.get( in spanNotBack() [all...] |
/third_party/rust/crates/aho-corasick/src/ |
H A D | dfa.rs | 257 let input = self.repr().byte_classes.get(input); in next_state() 314 .get(id.to_usize() / 256) in get_match() 315 .and_then(|m| m.get(match_index)) in get_match() 381 .get(id.to_usize() / self.repr().alphabet_len()) in get_match() 382 .and_then(|m| m.get(match_index)) in get_match() 392 let input = self.repr().byte_classes.get(input); in next_state() 460 .get(id.to_usize()) in get_match() 461 .and_then(|m| m.get(match_index)) in get_match() 479 let byte = self.byte_classes.get(byte); in next_state() 486 let byte = self.byte_classes.get(byt in set_next_state() [all...] |
/third_party/python/Tools/unittestgui/ |
H A D | unittestgui.py | 241 self.top_level_dir = self.dirVar.get() 242 self.test_file_glob_pattern = self.testPatternVar.get() 387 self.failCountVar.set(1 + self.failCountVar.get()) 392 self.errorCountVar.set(1 + self.errorCountVar.get()) 398 self.skipCountVar.set(1 + self.skipCountVar.get()) 402 self.expectFailCountVar.set(1 + self.expectFailCountVar.get()) 406 self.remainingCountVar.set(self.remainingCountVar.get() - 1) 407 self.runCountVar.set(1 + self.runCountVar.get()) 408 fractionDone = float(self.runCountVar.get())/float(self.totalTests) 416 txt = self.errorListbox.get(selecte [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkQueryUtil.cpp | 491 const std::vector<VkExtensionProperties>* get (const InstanceInterface& vki, VkPhysicalDevice dev) in get() function in vk::__anon27747::ExtensionPropertiesCache 497 return itr->second.get(); in get() 517 auto supportedExtensions = m_extensionPropertiesCache.get(vki, physicalDevice); in enumerateCachedDeviceExtensionProperties() 523 supportedExtensions = m_extensionPropertiesCache.get(vki, physicalDevice); in enumerateCachedDeviceExtensionProperties() 544 if (required.minVersion && required.minVersion.get() > extensionProperties.specVersion) in isCompatible() 547 if (required.maxVersion && required.maxVersion.get() < extensionProperties.specVersion) in isCompatible() 558 if (required.minSpecVersion && required.minSpecVersion.get() > layerProperties.specVersion) in isCompatible() 561 if (required.maxSpecVersion && required.maxSpecVersion.get() < layerProperties.specVersion) in isCompatible() 564 if (required.minImplVersion && required.minImplVersion.get() > layerProperties.implementationVersion) in isCompatible() 567 if (required.maxImplVersion && required.maxImplVersion.get() < layerPropertie in isCompatible() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateVPTests.cpp | 96 m_vk.cmdBindDescriptorSets(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, m_pipelineLayout.get(), 0u, 1u, &m_descriptorSet.get(), 0u, nullptr); in iterate() 113 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 261 const vk::ShaderWrapper vs (m_isMesh ? vk::ShaderWrapper() : vk::ShaderWrapper(m_vk, device, binaries.get(m_vertexShaderName), 0)); in initPipeline() 262 const vk::ShaderWrapper gs (m_isMesh ? vk::ShaderWrapper() : vk::ShaderWrapper(m_vk, device, binaries.get(m_geometryShaderName), 0)); in initPipeline() 263 const vk::ShaderWrapper ms (m_isMesh ? vk::ShaderWrapper(m_vk, device, binaries.get(m_meshShaderName)) : vk::ShaderWrapper()); in initPipeline() 264 const vk::ShaderWrapper fs (vk::ShaderWrapper(m_vk, device, binaries.get(m_fragmentShaderName), 0)); in initPipeline() 371 m_vk.cmdBindDescriptorSets(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, m_pipelineLayout.get(), 0u, 1u, &m_descriptorSet.get(), 0u, nullptr); in iterate() 385 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateVPTests.cpp | 94 m_vk.cmdBindDescriptorSets(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, m_pipelineLayout.get(), 0u, 1u, &m_descriptorSet.get(), 0u, nullptr); in iterate() 111 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() 259 const vk::Move<vk::VkShaderModule> vs (m_isMesh ? vk::Move<vk::VkShaderModule>() : createShaderModule(m_vk, device, binaries.get(m_vertexShaderName), 0)); in initPipeline() 260 const vk::Move<vk::VkShaderModule> gs (m_isMesh ? vk::Move<vk::VkShaderModule>() : createShaderModule(m_vk, device, binaries.get(m_geometryShaderName), 0)); in initPipeline() 261 const vk::Move<vk::VkShaderModule> ms (m_isMesh ? vk::createShaderModule(m_vk, device, binaries.get(m_meshShaderName)) : vk::Move<vk::VkShaderModule>()); in initPipeline() 262 const vk::Move<vk::VkShaderModule> fs (createShaderModule(m_vk, device, binaries.get(m_fragmentShaderName), 0)); in initPipeline() 369 m_vk.cmdBindDescriptorSets(*m_cmdBuffer, vk::VK_PIPELINE_BIND_POINT_GRAPHICS, m_pipelineLayout.get(), 0u, 1u, &m_descriptorSet.get(), 0u, nullptr); in iterate() 383 submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get()); in iterate() [all...] |
/third_party/skia/src/core/ |
H A D | SkRecordDraw.cpp | 85 r.backdrop.get(), 117 DRAW(DrawImage, drawImage(r.image.get(), r.left, r.top, r.sampling, r.paint)); 128 fCanvas->drawImageLattice(r.image.get(), lattice, r.dst, r.filter, r.paint); in draw() 131 DRAW(DrawImageRect, drawImageRect(r.image.get(), r.src, r.dst, r.sampling, r.paint, r.constraint)); 136 DRAW(DrawPicture, drawPicture(r.picture.get(), &r.matrix, r.paint)); 141 DRAW(DrawTextBlob, drawTextBlob(r.blob.get(), r.x, r.y, r.paint)); 142 DRAW(DrawAtlas, drawAtlas(r.atlas.get(), r.xforms, r.texs, r.colors, r.count, r.mode, r.sampling, 146 DRAW(DrawAnnotation, drawAnnotation(r.rect, r.key.c_str(), r.value.get())); 151 r.set.get(), r.count, r.dstClips, r.preViewMatrices, r.sampling, r.paint, r.constraint)); 412 const SkImage* image = op.image.get(); in bounds() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrBlurUtils.cpp | 122 *drawRect = extract_draw_rect_from_data(data.get(), unclippedDevShapeBounds); in sw_create_filtered_mask() 181 *drawRect = extract_draw_rect_from_data(data.get(), unclippedDevShapeBounds); in sw_create_filtered_mask() 341 SkScalar sx = viewMatrix.get(SkMatrix::kMScaleX); in compute_key_and_clip_bounds() 342 SkScalar sy = viewMatrix.get(SkMatrix::kMScaleY); in compute_key_and_clip_bounds() 343 SkScalar kx = viewMatrix.get(SkMatrix::kMSkewX); in compute_key_and_clip_bounds() 344 SkScalar ky = viewMatrix.get(SkMatrix::kMSkewY); in compute_key_and_clip_bounds() 345 SkScalar tx = viewMatrix.get(SkMatrix::kMTransX); in compute_key_and_clip_bounds() 346 SkScalar ty = viewMatrix.get(SkMatrix::kMTransY); in compute_key_and_clip_bounds() 424 *maskRect = extract_draw_rect_from_data(data.get(), unclippedDevShapeBounds); in hw_create_filtered_mask() 516 shape = tmpShape.get(); in draw_shape_with_mask_filter() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | StraightLineStrengthReduce.cpp | 410 Idx = ConstantInt::get(Idx->getContext(), One << Idx->getValue()); in allocateCandidatesAndFindBasisForAdd() 414 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd() 448 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul() 478 ConstantInt *ScaledIdx = ConstantInt::get( in allocateCandidatesAndFindBasisForGEP() 489 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex() 513 ConstantInt::get(RHS->getContext(), One << RHS->getValue()); in factorArrayIndex() 605 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump() 609 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump() 615 ConstantInt::get(DeltaType, (-IndexOffset).logBase2()); in emitBump() 618 Constant *Delta = ConstantInt::get(DeltaTyp in emitBump() [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_non_uniform_test.cpp | 165 std::string opcode = std::get<0>(GetParam()); in TEST_P() 166 std::string type = std::get<1>(GetParam()); in TEST_P() 167 spv::Scope execution_scope = std::get<2>(GetParam()); in TEST_P() 168 std::string args = std::get<3>(GetParam()); in TEST_P() 169 std::string error = std::get<4>(GetParam()); in TEST_P() 205 std::string opcode = std::get<0>(GetParam()); in TEST_P() 206 std::string type = std::get<1>(GetParam()); in TEST_P() 207 spv::Scope execution_scope = std::get<2>(GetParam()); in TEST_P() 208 std::string args = std::get<3>(GetParam()); in TEST_P() 209 std::string error = std::get< in TEST_P() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationFractionalSpacingTests.cpp | 553 const VkDescriptorBufferInfo tessLevelsBufferInfo = makeDescriptorBufferInfo(tessLevelsBuffer.get(), 0ull, tessLevelsBufferSizeBytes); 554 const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ull, resultBufferSizeBytes); 570 .setShader(vk, device, VK_SHADER_STAGE_VERTEX_BIT, context.getBinaryCollection().get("vert"), DE_NULL) 571 .setShader(vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, context.getBinaryCollection().get("tesc"), DE_NULL) 572 .setShader(vk, device, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, context.getBinaryCollection().get("tese"), DE_NULL) 607 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, *pipelineLayout, 0u, 1u, &descriptorSet.get(), 0u, DE_NULL); 675 addFunctionCaseWithPrograms(group.get(), "glsl_odd", "", checkSupportTess, initPrograms, test, TestParams(SHADER_LANGUAGE_GLSL, SPACINGMODE_FRACTIONAL_ODD)); 676 addFunctionCaseWithPrograms(group.get(), "glsl_even", "", checkSupportTess, initPrograms, test, TestParams(SHADER_LANGUAGE_GLSL, SPACINGMODE_FRACTIONAL_EVEN)); 677 addFunctionCaseWithPrograms(group.get(), "hlsl_odd", "", checkSupportTess, initPrograms, test, TestParams(SHADER_LANGUAGE_HLSL, SPACINGMODE_FRACTIONAL_ODD)); 678 addFunctionCaseWithPrograms(group.get(), "hlsl_eve [all...] |
/foundation/multimedia/media_foundation/engine/scene/recorder/standard/ |
H A D | hirecorder_impl.cpp | 66 ErrorCode ret = pipeline_->AddFilters({muxer_.get(), outputSink_.get()}); in Init() 68 ret = pipeline_->LinkFilters({muxer_.get(), outputSink_.get()}); in Init() 76 pipeline_->RemoveFilterChain(muxer_.get()); in Init() 467 auto ret = pipeline_->AddFilters({audioCapture_.get(), audioEncoder_.get()}); in SetAudioSourceInternal() 469 ret = pipeline_->LinkFilters({audioCapture_.get(), audioEncoder_.get()}); in SetAudioSourceInternal() 496 auto ret = pipeline_->AddFilters({videoCapture_.get(), videoEncoder in SetVideoSourceInternal() [all...] |
/third_party/glslang/SPIRV/ |
H A D | hex_float.h | 183 // value to get the correct value.) 266 // then we have to left-shift to get rid of leading 0s. This is the amount 275 num_fraction_bits + num_overflow_bits>::get; 289 spvutils::SetBits<uint_type, 0, num_fraction_bits>::get; 296 spvutils::SetBits<uint_type, num_fraction_bits, num_exponent_bits>::get; 488 spvutils::SetBits<uint_type, 0, throwaway_mask_bits>::get; in getRoundedNormalizedSignificand() 845 is.get(); in operator >>() 858 is.get(); in operator >>() 863 is.get(); // We may have to unget this. in operator >>() 869 is.get(); // Thro in operator >>() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/ |
H A D | UnicodeMap.java | 504 T value = prop.get(key); in putAllFiltered() 544 T newValue = stringMap.get(key); in keySet() 617 public T get(int codepoint) { in get() method in UnicodeMap 630 public T get(String value) { in get() method in UnicodeMap 635 return stringMap.get(value); in get() 724 result.append(Utility.hex(s)).append("=").append(stringMap.get(s).toString()).append("\n"); in toString() 855 put(key,map.get(key)); in putAll() 866 map.put(key, get(key)); in putAllIn() 965 return new ImmutableEntry(key, get(key)); in next() 1053 return get(ke in getValue() [all...] |
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
H A D | UnicodeMap.java | 501 T value = prop.get(key); in putAllFiltered() 541 T newValue = stringMap.get(key); in keySet() 614 public T get(int codepoint) { in get() method in UnicodeMap 627 public T get(String value) { in get() method in UnicodeMap 632 return stringMap.get(value); in get() 721 result.append(Utility.hex(s)).append("=").append(stringMap.get(s).toString()).append("\n"); in toString() 852 put(key,map.get(key)); in putAll() 863 map.put(key, get(key)); in putAllIn() 962 return new ImmutableEntry(key, get(key)); in next() 1050 return get(ke in getValue() [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/ |
H A D | RangeTable.java | 158 DisjointRangeMap.Builder<?> rangeMap = columnRanges.get(column); in getRanges() 173 DisjointRangeMap.Builder<?> rangeMap = columnRanges.get(column); in getAssignedRanges() 419 return Optional.ofNullable(columnRanges.get(schema.checkColumn(column))); in getRangeMap() 440 (DisjointRangeMap<T>) columnRanges.get(schema.checkColumn(column)); in getAssignedValues() 525 .collect(toImmutableMap(Entry::getKey, e -> e.getValue().get())); in subTable() 678 for (Assignment<?> a : rows.get(i).getAssignments()) { in simplify() 693 * <li>Step 3: Copy over any overlapping ranges from the original table (these don't get 710 overlaps = overlaps.union(nonDisjointPrefixes.get(n).retainFrom(otherRanges)); in simplifyIndexTable() 763 PrefixTree disjointPrefix = disjointPrefixes.get(n); in simplifyIndexTable() 765 simplifyFn.apply(Change.of(disjointRange, rows.get( in simplifyIndexTable() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingTraversalControlTests.cpp | 271 rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get(shaderNames[testParams.hitShaderTestType][0]), 0), 0); in initRayTracingShaders() 273 rayTracingPipeline->addShader(VK_SHADER_STAGE_INTERSECTION_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get(shaderNames[testParams.hitShaderTestType][1]), 0), 1); in initRayTracingShaders() 274 rayTracingPipeline->addShader(VK_SHADER_STAGE_ANY_HIT_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get(shaderNames[testParams.hitShaderTestType][2]), 0), 1); in initRayTracingShaders() 275 rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get(shaderNames[testParams.hitShaderTestType][3]), 0), 1); in initRayTracingShaders() 276 rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, createShaderModule(vkd, device, context.getBinaryCollection().get(shaderNames[testParams.hitShaderTestType][4]), 0), 2); in initRayTracingShaders() 305 raygenShaderBindingTableRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, raygenShaderBindingTable->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize); in initShaderBindingTables() 306 hitShaderBindingTableRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, hitShaderBindingTable->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize); in initShaderBindingTables() 307 missShaderBindingTableRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, missShaderBindingTable->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize); in initShaderBindingTables() 611 const Move<VkPipelineLayout> pipelineLayout = makePipelineLayout(vkd, device, descriptorSetLayout.get()); in runTest() 667 const TopLevelAccelerationStructure* topLevelAccelerationStructurePtr = topLevelAccelerationStructure.get(); in runTest() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/glx/ |
H A D | DisplayGLX.cpp | 35 attribs.get(GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV, GL_FALSE)); in GetRobustnessVideoMemoryPurge() 169 mRequestedVisual = static_cast<EGLint>(attribMap.get(EGL_X11_VISUAL_ID_ANGLE, -1)); in initialize() 170 // There is no direct way to get the GLXFBConfig matching an X11 visual ID in initialize() 238 if (eglAttributes.get(EGL_PLATFORM_ANGLE_TYPE_ANGLE, in initialize() 253 return egl::EglNotInitialized() << "Could not get the visual info from the fb config"; in initialize() 307 VendorID vendor = GetVendorID(functionsGL.get()); in initialize() 309 eglAttributes.get(EGL_PLATFORM_ANGLE_TYPE_ANGLE, EGL_PLATFORM_ANGLE_TYPE_DEFAULT_ANGLE) == in initialize() 318 if (HasParallelShaderCompileExtension(functionsGL.get())) in initialize() 440 EGLint width = static_cast<EGLint>(attribs.get(EGL_WIDTH, 0)); in createPbufferSurface() 441 EGLint height = static_cast<EGLint>(attribs.get(EGL_HEIGH in createPbufferSurface() [all...] |