Home
last modified time | relevance | path

Searched refs:resourceType (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.h381 BOOL_32 IsStandardSwizzle(AddrResourceType resourceType, AddrSwizzleMode swizzleMode) const in IsStandardSwizzle() argument
383 return HwlIsStandardSwizzle(resourceType, swizzleMode); in IsStandardSwizzle()
386 BOOL_32 IsDisplaySwizzle(AddrResourceType resourceType, AddrSwizzleMode swizzleMode) const in IsDisplaySwizzle() argument
388 return HwlIsDisplaySwizzle(resourceType, swizzleMode); in IsDisplaySwizzle()
407 static BOOL_32 IsTex1d(AddrResourceType resourceType) in IsTex1d() argument
409 return (resourceType == ADDR_RSRC_TEX_1D); in IsTex1d()
412 static BOOL_32 IsTex2d(AddrResourceType resourceType) in IsTex2d() argument
414 return (resourceType == ADDR_RSRC_TEX_2D); in IsTex2d()
417 static BOOL_32 IsTex3d(AddrResourceType resourceType) in IsTex3d() argument
419 return (resourceType == ADDR_RSRC_TEX_3D); in IsTex3d()
[all …]
Daddrlib2.cpp366 (IsTex3d(localIn.resourceType) && in ComputeSurfaceAddrFromCoord()
685 localIn.resourceType = ADDR_RSRC_TEX_2D; in ComputeFmaskInfo()
889 else if ((IsThin(pIn->resourceType, pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor()
1131 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceAddrFromCoordLinear()
1149 localIn.resourceType = pIn->resourceType; in ComputeSurfaceAddrFromCoordLinear()
1222 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceCoordFromAddrLinear()
1238 localIn.resourceType = pIn->resourceType; in ComputeSurfaceCoordFromAddrLinear()
1257 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceCoordFromAddrLinear()
1292 if (IsTex1d(pIn->resourceType)) in ComputeSurfaceCoordFromAddrLinear()
1314 (IsTex3d(pIn->resourceType) && in ComputeSurfaceCoordFromAddrLinear()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceRemapper.java71 String resourceType = innerClass.getSimpleName(); in remapRClass() local
72 if (!resourceType.startsWith("styleable")) { in remapRClass()
79 String resourceName = resourceType + "/" + field.getName(); in remapRClass()
84 resourceIdGenerator.record(field.getInt(null), resourceType, field.getName()); in remapRClass() local
86 int remappedValue = resourceIdGenerator.generate(resourceType, field.getName()); in remapRClass()
91 resourceIdGenerator.record(field.getInt(null), resourceType, field.getName()); in remapRClass() local
94 int remappedValue = resourceIdGenerator.generate(resourceType, field.getName()); in remapRClass()
108 String resourceType = innerClass.getSimpleName(); in remapRClass() local
109 if (resourceType.startsWith("styleable")) { in remapRClass()
DRawResourceLoader.java28 …private void loadRawFiles(PackageResourceTable resourceTable, String resourceType, FsFile rawDir) { in loadRawFiles() argument
41 resourceTable.addResource(resourceType, fileBaseName, in loadRawFiles()
DResourceTableFactory.java59 String resourceType = innerClass.getSimpleName();
60 if (!resourceType.equals("styleable")) {
71 resourceTable.addResource(id, resourceType, resourceName);
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.h242 AddrResourceType resourceType; member
272 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument
276 (IsTex3d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp); in HwlIsStandardSwizzle()
280 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument
283 return IsTex2d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle()
287 AddrResourceType resourceType, in HwlIsThin() argument
290 return ((IsTex2d(resourceType) == TRUE) || in HwlIsThin()
291 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin()
297 AddrResourceType resourceType, in HwlIsThick() argument
300 return (IsTex3d(resourceType) && in HwlIsThick()
[all …]
Dgfx9addrlib.cpp279 ADDR_ASSERT(pIn->resourceType == ADDR_RSRC_TEX_2D); in HwlComputeCmaskInfo()
571 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
597 Dim3d compressBlkDim = GetDccCompressBlk(pIn->resourceType, pIn->swizzleMode, pIn->bpp); in HwlComputeDccInfo()
771 input.resourceType = pIn->resourceType; in HwlComputeCmaskAddrFromCoord()
786 Gfx9DataFmask, pIn->swizzleMode, pIn->resourceType, in HwlComputeCmaskAddrFromCoord()
998 Gfx9DataColor, pIn->swizzleMode, pIn->resourceType, in HwlComputeDccAddrFromCoord()
1389 AddrResourceType resourceType, ///< [in] data surface resource type in GetDataEquation() argument
1417 else if (IsThick(resourceType, swizzleMode)) in GetDataEquation()
1421 if (IsStandardSwizzle(resourceType, swizzleMode)) in GetDataEquation()
1503 else if (IsThin(resourceType, swizzleMode)) in GetDataEquation()
[all …]
/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.h221 AddrResourceType resourceType, in HwlIsStandardSwizzle() argument
228 AddrResourceType resourceType, in HwlIsDisplaySwizzle() argument
235 AddrResourceType resourceType, in HwlIsThin() argument
238 return ((IsTex1d(resourceType) == TRUE) || in HwlIsThin()
239 (IsTex2d(resourceType) == TRUE) || in HwlIsThin()
240 ((IsTex3d(resourceType) == TRUE) && in HwlIsThin()
246 AddrResourceType resourceType, in HwlIsThick() argument
249 return ((IsTex3d(resourceType) == TRUE) && in HwlIsThick()
392 AddrResourceType resourceType,
429 AddrResourceType resourceType,
[all …]
Dgfx10addrlib.cpp278 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlComputeCmaskInfo()
392 …else if (m_settings.dccUnsup3DSwDis && IsTex3d(pIn->resourceType) && IsDisplaySwizzle(pIn->swizzle… in HwlComputeDccInfo()
405 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
417 pIn->resourceType, in HwlComputeDccInfo()
529 input.resourceType = pIn->resourceType; in HwlComputeCmaskAddrFromCoord()
676 if ((pIn->resourceType != ADDR_RSRC_TEX_2D) || in HwlComputeDccAddrFromCoord()
1007 AddrResourceType resourceType, ///< [in] Resource type in GetBlk256SizeLog2() argument
1014 if (IsThin(resourceType, swizzleMode)) in GetBlk256SizeLog2()
1029 ADDR_ASSERT(IsThick(resourceType, swizzleMode)); in GetBlk256SizeLog2()
1052 AddrResourceType resourceType, ///< [in] Resource type in GetCompressedBlockSizeLog2() argument
[all …]
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverV2ExporterHandler.java300 ResourceType resourceType = resource.getResourceType(); in getResourceLabels() local
301 switch (resourceType) { in getResourceLabels()
307 resourceType, in getResourceLabels()
312 resourceType, in getResourceLabels()
317 resourceType, in getResourceLabels()
326 resourceType, in getResourceLabels()
331 resourceType, in getResourceLabels()
335 resourceLabels, resourceType, "zone", gcpGceInstanceMonitoredResource.getZone()); in getResourceLabels()
342 resourceType, in getResourceLabels()
346 resourceLabels, resourceType, "location", gcpGkeContainerMonitoredResource.getZone()); in getResourceLabels()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBarrierTests.cpp183 VkAccessFlagBits getReaderAccessFlag (Stage stage, VkDescriptorType resourceType) in getReaderAccessFlag() argument
203 …bits = ((resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) ? VK_ACCESS_UNIFORM_READ_BIT : VK_ACCE… in getReaderAccessFlag()
294 VkDescriptorType resourceType; member
300 : resourceType (resourceType_) in TestParams()
305 DE_ASSERT(resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || in TestParams()
306 resourceType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || in TestParams()
307 resourceType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE); in TestParams()
413 switch (m_params.resourceType) in initPrograms()
952 …device, VkCommandBuffer cmdBuffer, Allocator& alloc, VkDescriptorType resourceType, Stage stage, S… in updateDescriptorSet() argument
957 …if (resourceType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || resourceType == VK_DESCRIPTOR_TYPE_STORAG… in updateDescriptorSet()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp88 uint64_t ComputeGenericMemoryUsage(ResourceType resourceType, ID3D11DeviceChild *resource) in ComputeGenericMemoryUsage() argument
90 switch (resourceType) in ComputeGenericMemoryUsage()
417 void ResourceManager11::incrResource(ResourceType resourceType, uint64_t memorySize) in incrResource() argument
419 size_t typeIndex = ResourceTypeIndex(resourceType); in incrResource()
429 void ResourceManager11::decrResource(ResourceType resourceType, uint64_t memorySize) in decrResource() argument
431 size_t typeIndex = ResourceTypeIndex(resourceType); in decrResource()
439 void ResourceManager11::onReleaseGeneric(ResourceType resourceType, ID3D11DeviceChild *resource) in onReleaseGeneric() argument
442 decrResource(resourceType, ComputeGenericMemoryUsage(resourceType, resource)); in onReleaseGeneric()
Drenderer11_utils.h359 manager->onReleaseGeneric(resourceType, object); in ~GenericData()
367 ResourceType resourceType = ResourceType::Last; member
383 bool is2D() const { return mData->resourceType == ResourceType::Texture2D; } in is2D()
384 bool is3D() const { return mData->resourceType == ResourceType::Texture3D; } in is3D()
385 ResourceType getTextureType() const { return mData->resourceType; } in getTextureType()
DResourceManager11.h84 constexpr size_t ResourceTypeIndex(ResourceType resourceType) in ResourceTypeIndex() argument
86 return static_cast<size_t>(resourceType); in ResourceTypeIndex()
332 void onReleaseGeneric(ResourceType resourceType, ID3D11DeviceChild *resource);
337 void incrResource(ResourceType resourceType, uint64_t memorySize);
338 void decrResource(ResourceType resourceType, uint64_t memorySize);
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DBaksmaliOptions.java94 String resourceType = attr.getValue("type"); in loadResourceIds() local
98 String.format("%s.%s.%s", prefix, resourceType, resourceName); in loadResourceIds()
/external/smali/dexlib2/src/main/java/org/jf/util/
DNumberUtils.java67 int resourceType = value >> 16 & 0xff; in isLikelyFloat() local
69 if ((packageId == 0x7f || packageId == 1) && resourceType < 0x1f && resourceId < 0xfff) { in isLikelyFloat()
/external/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h2434 AddrResourceType resourceType; ///< Surface type member
2564 AddrResourceType resourceType; ///< Surface type member
2630 AddrResourceType resourceType; ///< Surface type member
2938 AddrResourceType resourceType; ///< Color surface type member
3010 AddrResourceType resourceType; ///< Color surface type member
3070 AddrResourceType resourceType; ///< Color surface type member
3335 AddrResourceType resourceType; ///< Color surface type member
3424 AddrResourceType resourceType; ///< Color surface type member
3489 AddrResourceType resourceType; ///< Surface resource type member
3536 AddrResourceType resourceType; ///< Surface resource type member
[all …]
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfig.java433 private final ResourceType resourceType; field in PartnerConfig
436 return resourceType; in getResourceType()
445 this.resourceType = type; in PartnerConfig()
/external/mesa3d/src/amd/common/
Dac_surface.c150 din.resourceType = ADDR_RSRC_TEX_2D; in ac_compute_dcc_retile_tile_indices()
166 addrin.resourceType = ADDR_RSRC_TEX_2D; in ac_compute_dcc_retile_tile_indices()
1240 sin.resourceType = in->resourceType; in gfx9_get_preferred_swizzle_mode()
1482 xin.resourceType = in->resourceType; in gfx9_compute_miptree()
1511 din.resourceType = in->resourceType; in gfx9_compute_miptree()
1657 addrin.resourceType = din.resourceType; in gfx9_compute_miptree()
1721 xin.resourceType = in->resourceType; in gfx9_compute_miptree()
1736 if (in->swizzleMode != ADDR_SW_LINEAR && in->resourceType == ADDR_RSRC_TEX_2D && in gfx9_compute_miptree()
1751 cin.resourceType = in->resourceType; in gfx9_compute_miptree()
1849 AddrSurfInfoIn.resourceType = ADDR_RSRC_TEX_3D; in gfx9_compute_surface()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DCommandGraph.cpp69 const char *GetResourceTypeName(CommandGraphResourceType resourceType, in GetResourceTypeName() argument
72 switch (resourceType) in GetResourceTypeName()
289 CommandGraphResource::CommandGraphResource(CommandGraphResourceType resourceType) in CommandGraphResource() argument
290 : mCurrentWritingNode(nullptr), mResourceType(resourceType) in CommandGraphResource()
807 void CommandGraphNode::setDiagnosticInfo(CommandGraphResourceType resourceType, in setDiagnosticInfo() argument
810 mResourceType = resourceType; in setDiagnosticInfo()
962 CommandGraphResourceType resourceType, in allocateBarrierNode() argument
966 newNode->setDiagnosticInfo(resourceType, resourceID); in allocateBarrierNode()
DCommandGraph.h180 void setDiagnosticInfo(CommandGraphResourceType resourceType, uintptr_t resourceID);
529 explicit CommandGraphResource(CommandGraphResourceType resourceType);
614 CommandGraphResourceType resourceType,
/external/deqp/modules/egl/
DteglGLES2SharingThreadedTests.cpp2964 ResourceType resourceType; member
3052 if (m_config.resourceType == TestConfig::RESOURCETYPE_IMAGE) in init()
3087 switch (m_config.resourceType) in init()
3772 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3784 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3796 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3808 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3820 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_BUFFER; in addSimpleTests()
3838 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_TEXTURE; in addSimpleTests()
3850 config.resourceType = GLES2ThreadedSharingTest::TestConfig::RESOURCETYPE_TEXTURE; in addSimpleTests()
[all …]
DteglRobustnessTests.cpp229 const ResourceType& resourceType,
302 const ResourceType& resourceType, in Params() argument
309 , m_resourceType (resourceType) in Params()
572 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType …
615 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType … in ContextReset() argument
619 , m_resourceType (resourceType) in ContextReset()
1037 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType …
1064 …Functions& gl, tcu::TestLog& log, ShaderType shaderType, ResourceType resourceType, ReadWriteType … in ShadersOOB() argument
1065 : ContextReset(gl, log, shaderType, resourceType, readWriteType) in ShadersOOB()
/external/desugar/java/com/google/devtools/build/android/desugar/
DTryWithResourcesRewriter.java311 InferredType resourceType = typeInference.getTypeOfOperandFromTop(0); in visitMethodInsn() local
312 Optional<String> resourceClassInternalName = resourceType.getInternalName(); in visitMethodInsn()
318 resourceType, in visitMethodInsn() local
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExportUtils.java473 private static String mapToStackdriverResourceType(ResourceType resourceType) {
474 switch (resourceType) {

12