/aosp_15_r20/external/skia/src/gpu/ganesh/ |
H A D | GrOpsRenderPass.cpp | 71 void GrOpsRenderPass::bindPipeline(const GrProgramInfo& programInfo, const SkRect& drawBounds) { in bindPipeline() argument 75 SkASSERT(programInfo.origin() == fOrigin); in bindPipeline() 76 if (programInfo.geomProc().hasInstanceAttributes()) { in bindPipeline() 79 if (programInfo.pipeline().usesConservativeRaster()) { in bindPipeline() 82 if (programInfo.pipeline().isWireframe()) { in bindPipeline() 86 programInfo.isStencilEnabled()) { in bindPipeline() 87 const GrUserStencilSettings* stencil = programInfo.userStencilSettings(); in bindPipeline() 88 if (stencil->isTwoSided(programInfo.pipeline().hasStencilClip())) { in bindPipeline() 94 programInfo.checkAllInstantiated(); in bindPipeline() 95 programInfo.checkMSAAAndMIPSAreResolved(); in bindPipeline() [all …]
|
H A D | GrDDLContext.cpp | 48 void recordProgramInfo(const GrProgramInfo* programInfo) final { in recordProgramInfo() argument 49 if (!programInfo) { in recordProgramInfo() 60 GrProgramDesc desc = caps->makeDesc(nullptr, *programInfo); in recordProgramInfo() 65 fProgramInfoMap.add(desc, programInfo); in recordProgramInfo() 88 void add(CacheKey& desc, const GrProgramInfo* programInfo) { in add() argument 96 fMap.insert(desc, programInfo); in add() 100 fMap.foreach([dst](CacheKey* programDesc, CacheValue* programInfo) { in toArray() argument 104 *programInfo); in toArray()
|
H A D | GrProgramDesc.cpp | 152 const GrProgramInfo& programInfo, in gen_key() argument 154 gen_geomproc_key(programInfo.geomProc(), caps, b); in gen_key() 156 const GrPipeline& pipeline = programInfo.pipeline(); in gen_key() 169 b->addBool((programInfo.primitiveType() == GrPrimitiveType::kPoints), "isPoints"); in gen_key() 177 const GrProgramInfo& programInfo, in Build() argument 181 gen_key(&b, programInfo, caps); in Build() 185 SkString GrProgramDesc::Describe(const GrProgramInfo& programInfo, in Describe() argument 189 gen_key(&b, programInfo, caps); in Describe()
|
H A D | GrOpFlushState.h | 227 void bindPipelineAndScissorClip(const GrProgramInfo& programInfo, const SkRect& drawBounds) { in bindPipelineAndScissorClip() argument 228 SkASSERT((programInfo.pipeline().isScissorTestEnabled()) == in bindPipelineAndScissorClip() 230 this->bindPipeline(programInfo, drawBounds); in bindPipelineAndScissorClip() 231 if (programInfo.pipeline().isScissorTestEnabled()) { in bindPipelineAndScissorClip() 250 void bindPipeline(const GrProgramInfo& programInfo, const SkRect& drawBounds) { in bindPipeline() argument 251 fOpsRenderPass->bindPipeline(programInfo, drawBounds); in bindPipeline()
|
/aosp_15_r20/external/skia/src/gpu/ganesh/vk/ |
H A D | GrVkPipelineStateCache.cpp | 80 const GrProgramInfo& programInfo, in findOrCreatePipelineState() argument 84 if (programInfo.isStencilEnabled()) { in findOrCreatePipelineState() 85 SkASSERT(renderTarget->getStencilAttachment(programInfo.numSamples() > 1)); in findOrCreatePipelineState() 86 SkASSERT(renderTarget->numStencilBits(programInfo.numSamples() > 1) == 8); in findOrCreatePipelineState() 87 SkASSERT(renderTarget->getStencilAttachment(programInfo.numSamples() > 1)->numSamples() == in findOrCreatePipelineState() 88 programInfo.numSamples()); in findOrCreatePipelineState() 96 GrProgramDesc desc = fGpu->caps()->makeDesc(renderTarget, programInfo, flags); in findOrCreatePipelineState() 103 auto tmp = this->findOrCreatePipelineStateImpl(desc, programInfo, compatibleRenderPass, in findOrCreatePipelineState() 116 const GrProgramInfo& programInfo, in findOrCreatePipelineStateImpl() argument 130 fGpu, desc, programInfo, compatibleRenderPass, overrideSubpassForResolveLoad)); in findOrCreatePipelineStateImpl()
|
H A D | GrVkPipelineState.cpp | 98 const GrProgramInfo& programInfo, in setAndBindUniforms() argument 100 this->setRenderTargetState(colorAttachmentDimensions, programInfo.origin()); in setAndBindUniforms() 102 fGPImpl->setData(fDataManager, *gpu->caps()->shaderCaps(), programInfo.geomProc()); in setAndBindUniforms() 104 for (int i = 0; i < programInfo.pipeline().numFragmentProcessors(); ++i) { in setAndBindUniforms() 105 const auto& fp = programInfo.pipeline().getFragmentProcessor(i); in setAndBindUniforms() 112 programInfo.pipeline().setDstTextureUniforms(fDataManager, &fBuiltinUniformHandles); in setAndBindUniforms() 113 fXPImpl->setData(fDataManager, programInfo.pipeline().getXferProcessor()); in setAndBindUniforms()
|
H A D | GrVkRenderTarget.cpp | 454 const GrProgramInfo& programInfo, in ReconstructAttachmentsDescriptor() argument 458 SkAssertResult(GrBackendFormats::AsVkFormat(programInfo.backendFormat(), &format)); in ReconstructAttachmentsDescriptor() 461 desc->fColor.fSamples = programInfo.numSamples(); in ReconstructAttachmentsDescriptor() 465 if (vkCaps.programInfoWillUseDiscardableMSAA(programInfo)) { in ReconstructAttachmentsDescriptor() 472 SkASSERT(!programInfo.isStencilEnabled() || programInfo.needsStencil()); in ReconstructAttachmentsDescriptor() 473 if (programInfo.needsStencil()) { in ReconstructAttachmentsDescriptor() 476 desc->fStencil.fSamples = programInfo.numSamples(); in ReconstructAttachmentsDescriptor()
|
H A D | GrVkCaps.cpp | 1831 bool GrVkCaps::programInfoWillUseDiscardableMSAA(const GrProgramInfo& programInfo) const { in programInfoWillUseDiscardableMSAA() 1832 return programInfo.targetHasVkResolveAttachmentWithInput() && in programInfoWillUseDiscardableMSAA() 1833 programInfo.numSamples() > 1 && in programInfoWillUseDiscardableMSAA() 1834 ((programInfo.targetsNumSamples() > 1 && this->preferDiscardableMSAAAttachment()) || in programInfoWillUseDiscardableMSAA() 1835 (programInfo.targetsNumSamples() == 1 && this->supportsDiscardableMSAAForDMSAA())); in programInfoWillUseDiscardableMSAA() 2004 const GrProgramInfo& programInfo, in makeDesc() argument 2007 GrProgramDesc::Build(&desc, programInfo, *this); in makeDesc() 2019 if (programInfo.renderPassBarriers() & GrXferBarrierFlags::kBlend) { in makeDesc() 2022 if (programInfo.renderPassBarriers() & GrXferBarrierFlags::kTexture) { in makeDesc() 2026 bool needsResolve = this->programInfoWillUseDiscardableMSAA(programInfo); in makeDesc() [all …]
|
H A D | GrVkPipeline.cpp | 586 const GrProgramInfo& programInfo, in Make() argument 593 const GrGeometryProcessor& geomProc = programInfo.geomProc(); in Make() 594 const GrPipeline& pipeline = programInfo.pipeline(); in Make() 599 programInfo.primitiveType(), in Make() 600 programInfo.origin(), in Make() 601 programInfo.nonGLStencilSettings(), in Make() 602 programInfo.numSamples(), in Make() 603 programInfo.numSamples() > 1, in Make()
|
/aosp_15_r20/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | LocalBluetoothLeBroadcast.java | 438 String programInfo = getProgramInfo(); in startBroadcast() local 440 Log.d(TAG, "startBroadcast: language = " + language + " ,programInfo = " + programInfo); in startBroadcast() 442 buildContentMetadata(language, programInfo); in startBroadcast() 470 String programInfo = getProgramInfo(); in startPrivateBroadcast() local 476 + programInfo in startPrivateBroadcast() 485 /* language= */ null, programInfo, improveCompatibility); in startPrivateBroadcast() 523 @Nullable String language, @Nullable String programInfo, boolean improveCompatibility) { in buildBroadcastSubgroupSettings() argument 527 .setProgramInfo(programInfo) in buildBroadcastSubgroupSettings() 545 public void setProgramInfo(String programInfo) { in setProgramInfo() argument 546 setProgramInfo(programInfo, /* updateContentResolver= */ true); in setProgramInfo() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothLeAudioContentMetadata.java | 50 String programInfo, String language, byte[] rawMetadata) { in BluetoothLeAudioContentMetadata() argument 51 mProgramInfo = programInfo; in BluetoothLeAudioContentMetadata() 149 final String programInfo = in.readString(); 154 return new BluetoothLeAudioContentMetadata(programInfo, language, rawMetadata); 186 String programInfo = null; in fromRawBytes() local 190 if (programInfo == null && entry.getType() == PROGRAM_INFO_TYPE) { in fromRawBytes() 192 programInfo = new String(bytes, StandardCharsets.UTF_8); in fromRawBytes() 207 return new BluetoothLeAudioContentMetadata(programInfo, language, rawBytes); in fromRawBytes() 251 public @NonNull Builder setProgramInfo(@Nullable String programInfo) { in setProgramInfo() argument 252 mProgramInfo = programInfo; in setProgramInfo()
|
/aosp_15_r20/hardware/interfaces/broadcastradio/aidl/default/ |
H A D | BroadcastRadio.cpp | 333 ProgramInfo programInfo; in tuneInternalLocked() local 339 programInfo = virtualProgram; in tuneInternalLocked() 346 programInfo = makeSampleProgramInfo(sel); in tuneInternalLocked() 348 programInfo.infoFlags |= ProgramInfo::FLAG_SIGNAL_ACQUISITION; in tuneInternalLocked() 349 if (programInfo.selector.primaryId.type != IdentifierType::HD_STATION_ID_EXT) { in tuneInternalLocked() 356 return programInfo; in tuneInternalLocked() 383 ProgramInfo programInfo, const std::shared_ptr<ITunerCallback>& callback) { in handleProgramInfoUpdateRadioCallback() argument 384 callback->onCurrentProgramInfoChanged(programInfo); in handleProgramInfoUpdateRadioCallback() 387 mCurrentProgramInfo = programInfo; in handleProgramInfoUpdateRadioCallback() 389 if (programInfo.selector.primaryId.type != IdentifierType::HD_STATION_ID_EXT) { in handleProgramInfoUpdateRadioCallback() [all …]
|
/aosp_15_r20/external/skia/src/gpu/ganesh/d3d/ |
H A D | GrD3DPipelineStateBuilder.cpp | 40 const GrProgramInfo& programInfo) { in MakePipelineState() argument 46 GrD3DPipelineStateBuilder builder(gpu, renderTarget, desc, programInfo); in MakePipelineState() 58 const GrProgramInfo& programInfo) in GrD3DPipelineStateBuilder() argument 59 : INHERITED(desc, programInfo) in GrD3DPipelineStateBuilder() 418 static void fill_in_depth_stencil_state(const GrProgramInfo& programInfo, in fill_in_depth_stencil_state() argument 420 GrStencilSettings stencilSettings = programInfo.nonGLStencilSettings(); in fill_in_depth_stencil_state() 421 GrSurfaceOrigin origin = programInfo.origin(); in fill_in_depth_stencil_state() 464 GrD3DGpu* gpu, const GrProgramInfo& programInfo, const sk_sp<GrD3DRootSignature>& rootSig, in create_pipeline_state() argument 479 fill_in_blend_state(programInfo.pipeline(), &psoDesc.BlendState); in create_pipeline_state() 482 fill_in_rasterizer_state(programInfo.pipeline(), programInfo.numSamples() > 1, gpu->caps(), in create_pipeline_state() [all …]
|
H A D | GrD3DPipelineState.cpp | 49 const GrProgramInfo& programInfo) { in setAndBindConstants() argument 50 this->setRenderTargetState(renderTarget, programInfo.origin()); in setAndBindConstants() 52 fGPImpl->setData(fDataManager, *gpu->caps()->shaderCaps(), programInfo.geomProc()); in setAndBindConstants() 54 for (int i = 0; i < programInfo.pipeline().numFragmentProcessors(); ++i) { in setAndBindConstants() 55 const auto& fp = programInfo.pipeline().getFragmentProcessor(i); in setAndBindConstants() 62 programInfo.pipeline().setDstTextureUniforms(fDataManager, &fBuiltinUniformHandles); in setAndBindConstants() 63 fXPImpl->setData(fDataManager, programInfo.pipeline().getXferProcessor()); in setAndBindConstants()
|
/aosp_15_r20/external/skia/src/gpu/ganesh/gl/ |
H A D | GrGLGpuProgramCache.cpp | 57 const GrProgramInfo& programInfo) { in findOrCreateProgram() argument 60 GrProgramDesc desc = caps->makeDesc(/*renderTarget*/nullptr, programInfo); in findOrCreateProgram() 67 sk_sp<GrGLProgram> tmp = this->findOrCreateProgramImpl(dContext, desc, programInfo, &stat); in findOrCreateProgram() 79 const GrProgramInfo& programInfo, in findOrCreateProgram() argument 81 sk_sp<GrGLProgram> tmp = this->findOrCreateProgramImpl(dContext, desc, programInfo, stat); in findOrCreateProgram() 93 const GrProgramInfo& programInfo, in findOrCreateProgramImpl() argument 101 (*entry)->fProgram = GrGLProgramBuilder::CreateProgram(dContext, desc, programInfo, in findOrCreateProgramImpl() 113 sk_sp<GrGLProgram> program = GrGLProgramBuilder::CreateProgram(dContext, desc, programInfo); in findOrCreateProgramImpl()
|
H A D | GrGLProgram.cpp | 114 const GrProgramInfo& programInfo) { in updateUniforms() argument 115 this->setRenderTargetState(renderTarget, programInfo.origin(), programInfo.geomProc()); in updateUniforms() 123 fGPImpl->setData(fProgramDataManager, *fGpu->caps()->shaderCaps(), programInfo.geomProc()); in updateUniforms() 125 for (int i = 0; i < programInfo.pipeline().numFragmentProcessors(); ++i) { in updateUniforms() 126 const auto& fp = programInfo.pipeline().getFragmentProcessor(i); in updateUniforms() 133 programInfo.pipeline().setDstTextureUniforms(fProgramDataManager, &fBuiltinUniformHandles); in updateUniforms() 134 fXPImpl->setData(fProgramDataManager, programInfo.pipeline().getXferProcessor()); in updateUniforms()
|
/aosp_15_r20/external/skia/src/gpu/ganesh/mtl/ |
H A D | GrMtlPipelineState.mm | 64 const GrProgramInfo& programInfo) { 67 this->setRenderTargetState(colorAttachmentDimensions, programInfo.origin()); 68 fGPImpl->setData(fDataManager, *fGpu->caps()->shaderCaps(), programInfo.geomProc()); 70 for (int i = 0; i < programInfo.pipeline().numFragmentProcessors(); ++i) { 71 const auto& fp = programInfo.pipeline().getFragmentProcessor(i); 78 programInfo.pipeline().setDstTextureUniforms(fDataManager, &fBuiltinUniformHandles); 79 fXPImpl->setData(fDataManager, programInfo.pipeline().getXferProcessor()); 84 if (programInfo.isStencilEnabled()) { 91 fStencil = programInfo.nonGLStencilSettings();
|
H A D | GrMtlResourceProvider.mm | 35 const GrProgramInfo& programInfo, 37 return fPipelineStateCache->refPipelineState(programDesc, programInfo, stat); 199 const GrProgramInfo& programInfo, 206 auto tmp = this->onRefPipelineState(desc, programInfo, &stat); 214 return this->onRefPipelineState(desc, programInfo, statPtr); 220 const GrProgramInfo& programInfo, 230 GrMtlPipelineStateBuilder::CreatePipelineState(fGpu, desc, programInfo, 246 GrMtlPipelineStateBuilder::CreatePipelineState(fGpu, desc, programInfo));
|
H A D | GrMtlOpsRenderPass.mm | 68 bool GrMtlOpsRenderPass::onBindPipeline(const GrProgramInfo& programInfo, 71 GrProgramDesc programDesc = caps.makeDesc(fRenderTarget, programInfo, 78 programDesc, programInfo); 83 fActivePipelineState->setData(fFramebuffer.get(), programInfo); 84 fCurrentVertexStride = programInfo.geomProc().vertexStride(); 104 programInfo.pipeline().writeSwizzle(), 105 programInfo.pipeline().getXferProcessor()); 106 if (this->gpu()->caps()->wireframeMode() || programInfo.pipeline().isWireframe()) { 112 if (!programInfo.pipeline().isScissorTestEnabled()) { 121 fActivePrimitiveType = gr_to_mtl_primitive(programInfo.primitiveType());
|
H A D | GrMtlPipelineStateBuilder.mm | 37 GrMtlGpu* gpu, const GrProgramDesc& desc, const GrProgramInfo& programInfo, 40 GrMtlPipelineStateBuilder builder(gpu, desc, programInfo); 45 return builder.finalize(desc, programInfo, precompiledLibs); 50 const GrProgramInfo& programInfo) 51 : INHERITED(desc, programInfo) 477 const GrProgramDesc& desc, const GrProgramInfo& programInfo, 497 SkString description = GrProgramDesc::Describe(programInfo, *fGpu->caps()); 506 pipelineDescriptor.vertexDescriptor = create_vertex_descriptor(programInfo.geomProc(), 509 MTLPixelFormat pixelFormat = GrBackendFormatAsMTLPixelFormat(programInfo.backendFormat()); 515 programInfo.pipeline(), [all …]
|
/aosp_15_r20/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cGPUShaderFP64Tests.hpp | 48 struct programInfo struct in gl4cts::Utils 50 programInfo(deqp::Context &context); 51 ~programInfo(); 494 Utils::programInfo &out_program_info) const; 510 const Utils::programInfo &program_info) const; 703 struct programInfo struct in gl4cts::GPUShaderFP64Test3 706 programInfo(); 739 const programInfo &getProgramInfo(uniformDataLayout uniform_data_layout) const; 742 void prepareProgram(programInfo &program_info, uniformDataLayout uniform_data_layout) const; 744 bool prepareUniformBuffer(const programInfo &program_info, bool verify_offsets) const; [all …]
|
H A D | gl3cGPUShader5Tests.cpp | 53 Utils::programInfo::programInfo(deqp::Context &context) in programInfo() function in gl3cts::Utils::programInfo 65 Utils::programInfo::~programInfo() in ~programInfo() 101 void Utils::programInfo::build(const glw::GLchar *fragment_shader_code, const glw::GLchar *vertex_s… in build() 136 void Utils::programInfo::compile(glw::GLuint shader_id, const glw::GLchar *shader_code) const in compile() 185 void Utils::programInfo::link() const in link() 244 void Utils::programInfo::setUniform(Utils::_variable_type type, const glw::GLchar *name, const glw:… in setUniform() 557 Utils::programInfo program(m_context); in executeTestCase() 821 Utils::programInfo program(m_context); in execute() 1087 Utils::programInfo program(m_context); in execute()
|
/aosp_15_r20/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
H A D | ConversionUtilsTest.java | 600 RadioManager.ProgramInfo programInfo = in programInfoFromHalProgramInfo_withValidProgramInfo() local 604 .that(programInfo.getSelector().getPrimaryId()).isEqualTo(TEST_DAB_SID_EXT_ID); in programInfoFromHalProgramInfo_withValidProgramInfo() 606 .that(programInfo.getSelector().getSecondaryIds()).asList() in programInfoFromHalProgramInfo_withValidProgramInfo() 609 .that(programInfo.getLogicallyTunedTo()).isEqualTo(TEST_DAB_SID_EXT_ID); in programInfoFromHalProgramInfo_withValidProgramInfo() 611 .that(programInfo.getPhysicallyTunedTo()).isEqualTo(TEST_DAB_FREQUENCY_ID); in programInfoFromHalProgramInfo_withValidProgramInfo() 613 .that(programInfo.getSignalStrength()).isEqualTo(TEST_SIGNAL_QUALITY); in programInfoFromHalProgramInfo_withValidProgramInfo() 625 RadioManager.ProgramInfo programInfo = in programInfoFromHalProgramInfo_withRelatedContent() local 629 .that(programInfo.getRelatedContent()).containsExactly(TEST_HD_STATION_EXT_ID); in programInfoFromHalProgramInfo_withRelatedContent() 641 RadioManager.ProgramInfo programInfo = in programInfoFromHalProgramInfo_withInvalidDabProgramInfo() local 645 .that(programInfo).isNull(); in programInfoFromHalProgramInfo_withInvalidDabProgramInfo() [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
D | BroadcasterActivity.java | 336 String programInfo = in onCreate() 340 if (!programInfo.isEmpty()) { in onCreate() 341 contentBuilder.setProgramInfo(programInfo); in onCreate() 511 String programInfo, in createBroadcastSettingsFromUI() argument 520 if (!programInfo.isEmpty()) { in createBroadcastSettingsFromUI() 521 contentBuilder.setProgramInfo(programInfo); in createBroadcastSettingsFromUI() 559 String programInfo, in saveBroadcastToSharedPref() argument 571 programInfo in saveBroadcastToSharedPref()
|
/aosp_15_r20/external/angle/src/libANGLE/renderer/vulkan/ |
H A D | ProgramExecutableVk.h | 414 ProgramInfo *programInfo, in initProgram() argument 421 if (!programInfo->valid(shaderType)) in initProgram() 423 ANGLE_TRY(programInfo->initProgram(context, shaderType, isLastPreFragmentStage, in initProgram() 427 ASSERT(programInfo->valid(shaderType)); in initProgram() 438 ProgramInfo *programInfo, in initGraphicsShaderProgram() argument 443 optionBits, programInfo, variableInfoMap); in initGraphicsShaderProgram() 448 ProgramInfo *programInfo, in initComputeProgram() argument 454 return initProgram(context, gl::ShaderType::Compute, false, false, optionBits, programInfo, in initComputeProgram()
|