Home
last modified time | relevance | path

Searched refs:mCaps (Results 1 – 12 of 12) sorted by relevance

/hardware/google/gfxstream/guest/platform/fuchsia/
DFuchsiaVirtGpuDevice.cpp31 memset(&mCaps, 0, sizeof(struct VirtGpuCaps)); in FuchsiaVirtGpuDevice()
34 mCaps.params[kParam3D] = 1; in FuchsiaVirtGpuDevice()
35 mCaps.params[kParamCapsetFix] = 1; in FuchsiaVirtGpuDevice()
36 mCaps.params[kParamResourceBlob] = 1; in FuchsiaVirtGpuDevice()
37 mCaps.params[kParamHostVisible] = 1; in FuchsiaVirtGpuDevice()
38 mCaps.params[kParamCrossDevice] = 0; in FuchsiaVirtGpuDevice()
39 mCaps.params[kParamContextInit] = 1; in FuchsiaVirtGpuDevice()
40 mCaps.params[kParamSupportedCapsetIds] = 0; in FuchsiaVirtGpuDevice()
41 mCaps.params[kParamExplicitDebugName] = 0; in FuchsiaVirtGpuDevice()
42 mCaps.params[kParamCreateGuestHandle] = 0; in FuchsiaVirtGpuDevice()
[all …]
DFuchsiaVirtGpu.h67 struct VirtGpuCaps mCaps; variable
/hardware/google/gfxstream/guest/platform/linux/
DLinuxVirtGpuDevice.cpp54 memset(&mCaps, 0, sizeof(struct VirtGpuCaps)); in LinuxVirtGpuDevice()
85 mCaps.params[i] = params[i].value; in LinuxVirtGpuDevice()
92 get_caps.addr = (unsigned long long)&mCaps.vulkanCapset; in LinuxVirtGpuDevice()
96 get_caps.addr = (unsigned long long)&mCaps.magmaCapset; in LinuxVirtGpuDevice()
100 get_caps.addr = (unsigned long long)&mCaps.glesCapset; in LinuxVirtGpuDevice()
104 get_caps.addr = (unsigned long long)&mCaps.composerCapset; in LinuxVirtGpuDevice()
118 if (!mCaps.vulkanCapset.blobAlignment) { in LinuxVirtGpuDevice()
119 mCaps.vulkanCapset.blobAlignment = 4096; in LinuxVirtGpuDevice()
132 if (mCaps.params[kParamExplicitDebugName] && processName) { in LinuxVirtGpuDevice()
148 struct VirtGpuCaps LinuxVirtGpuDevice::getCaps(void) { return mCaps; } in getCaps()
DLinuxVirtGpu.h80 struct VirtGpuCaps mCaps; variable
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaVirtGpuDevice.cpp36 mCaps = { in Init()
55 capsetPtr = reinterpret_cast<uint8_t*>(&mCaps.vulkanCapset); in Init()
59 capsetPtr = reinterpret_cast<uint8_t*>(&mCaps.magmaCapset); in Init()
63 capsetPtr = reinterpret_cast<uint8_t*>(&mCaps.glesCapset); in Init()
67 capsetPtr = reinterpret_cast<uint8_t*>(&mCaps.composerCapset); in Init()
93 VirtGpuCaps RutabagaVirtGpuDevice::getCaps() { return mCaps; } in getCaps()
DRutabagaVirtGpu.h103 struct VirtGpuCaps mCaps; variable
/hardware/google/gfxstream/guest/platform/stub/
DStubVirtGpuDevice.cpp23 struct VirtGpuCaps StubVirtGpuDevice::getCaps(void) { return mCaps; } in getCaps()
DStubVirtGpu.h83 struct VirtGpuCaps mCaps; variable
/hardware/google/graphics/common/hwc3/impl/
DHalImpl.cpp164 mCaps.insert(cap); in initCaps()
167 mCaps.insert(Capability::BOOT_DISPLAY_CONFIG); in initCaps()
168 mCaps.insert(Capability::REFRESH_RATE_CHANGED_CALLBACK_DEBUG); in initCaps()
170 mCaps.insert(Capability::LAYER_LIFECYCLE_BATCH_COMMAND); in initCaps()
211 return mCaps.find(cap) != mCaps.end(); in hasCapability()
216 caps->insert(caps->begin(), mCaps.begin(), mCaps.end()); in getCapabilities()
DHalImpl.h200 std::unordered_set<Capability> mCaps; variable
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp1400 mCaps = instance->getCaps(); in setupCaps()
1403 if (mCaps.vulkanCapset.protocolVersion == 0) { in setupCaps()
1404 mCaps.vulkanCapset.colorBufferMemoryIndex = 0xFFFFFFFF; in setupCaps()
1431 noRenderControlEnc = mCaps.vulkanCapset.noRenderControlEnc; in setupCaps()
2184 if (mCaps.vulkanCapset.colorBufferMemoryIndex == 0xFFFFFFFF) { in on_vkGetAndroidHardwareBufferPropertiesANDROID()
2185 mCaps.vulkanCapset.colorBufferMemoryIndex = getColorBufferMemoryIndex(context, device); in on_vkGetAndroidHardwareBufferPropertiesANDROID()
2188 updateMemoryTypeBits(&pProperties->memoryTypeBits, mCaps.vulkanCapset.colorBufferMemoryIndex); in on_vkGetAndroidHardwareBufferPropertiesANDROID()
3007 if (mCaps.vulkanCapset.deferredMapping || mCaps.params[kParamCreateGuestHandle]) in allocateCoherentMemory()
3013 if (mCaps.vulkanCapset.deferredMapping || mCaps.params[kParamCreateGuestHandle]) { in allocateCoherentMemory()
3015 ALIGN(pAllocateInfo->allocationSize, mCaps.vulkanCapset.blobAlignment); in allocateCoherentMemory()
[all …]
DResourceTracker.h890 struct VirtGpuCaps mCaps; variable