Home
last modified time | relevance | path

Searched refs:capset (Results 1 – 17 of 17) sorted by relevance

/hardware/google/gfxstream/guest/platform/
DVirtGpu.cpp26 VirtGpuDevice* VirtGpuDevice::getInstance(enum VirtGpuCapset capset) { in getInstance() argument
31 if (capset != kCapsetNone && sDevice && sDevice->capset() != capset) { in getInstance()
33 capset, sDevice->capset()); in getInstance()
37 sDevice = createPlatformVirtGpuDevice(capset); in getInstance()
/hardware/google/gfxstream/guest/platform/stub/
DStubVirtGpuDevice.cpp19 StubVirtGpuDevice::StubVirtGpuDevice(enum VirtGpuCapset capset) : VirtGpuDevice(capset) { in StubVirtGpuDevice() argument
59 VirtGpuDevice* createPlatformVirtGpuDevice(enum VirtGpuCapset capset, int) { in createPlatformVirtGpuDevice() argument
60 return new StubVirtGpuDevice(capset); in createPlatformVirtGpuDevice()
DStubVirtGpu.h63 StubVirtGpuDevice(enum VirtGpuCapset capset);
/hardware/google/gfxstream/guest/platform/fuchsia/
DFuchsiaVirtGpuDevice.cpp29 FuchsiaVirtGpuDevice::FuchsiaVirtGpuDevice(enum VirtGpuCapset capset, magma_device_t device) in FuchsiaVirtGpuDevice() argument
30 : VirtGpuDevice(capset), device_(device) { in FuchsiaVirtGpuDevice()
44 if (capset == kCapsetGfxStreamVulkan) { in FuchsiaVirtGpuDevice()
97 VirtGpuDevice* createPlatformVirtGpuDevice(enum VirtGpuCapset capset, int fd) { in createPlatformVirtGpuDevice() argument
141 gpu_device = new FuchsiaVirtGpuDevice(capset, magma_device); in createPlatformVirtGpuDevice()
DFuchsiaVirtGpu.h51 FuchsiaVirtGpuDevice(enum VirtGpuCapset capset, magma_device_t device);
/hardware/google/gfxstream/guest/platform/linux/
DLinuxVirtGpuDevice.cpp39 LinuxVirtGpuDevice::LinuxVirtGpuDevice(enum VirtGpuCapset capset, int fd) : VirtGpuDevice(capset) { in LinuxVirtGpuDevice() argument
88 get_caps.cap_set_id = static_cast<uint32_t>(capset); in LinuxVirtGpuDevice()
89 switch (capset) { in LinuxVirtGpuDevice()
126 if (capset != kCapsetNone) { in LinuxVirtGpuDevice()
128 ctx_set_params[init.num_params].value = static_cast<uint32_t>(capset); in LinuxVirtGpuDevice()
253 VirtGpuDevice* createPlatformVirtGpuDevice(enum VirtGpuCapset capset, int fd) { in createPlatformVirtGpuDevice() argument
254 return new LinuxVirtGpuDevice(capset, fd); in createPlatformVirtGpuDevice()
DLinuxVirtGpu.h63 LinuxVirtGpuDevice(enum VirtGpuCapset capset, int fd = -1);
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaVirtGpuDevice.cpp25 VirtGpuCapset capset) in RutabagaVirtGpuDevice() argument
26 : VirtGpuDevice(capset), mEmulation(emulation), mCapset(capset) {} in RutabagaVirtGpuDevice()
154 VirtGpuDevice* createPlatformVirtGpuDevice(enum VirtGpuCapset capset, int) { in createPlatformVirtGpuDevice() argument
161 auto device = new gfxstream::RutabagaVirtGpuDevice(emulation, capset); in createPlatformVirtGpuDevice()
DRutabagaLayer.h47 bool GetCaps(uint32_t capsetId, uint32_t guestCapsSize, uint8_t* capset);
DRutabagaVirtGpu.h81 RutabagaVirtGpuDevice(std::shared_ptr<EmulatedVirtioGpu> emulation, VirtGpuCapset capset);
DRutabagaLayer.cpp88 bool GetCaps(uint32_t capsetId, uint32_t guestCapsSize, uint8_t* capset);
390 uint8_t* capset) { in GetCaps() argument
395 memcpy(capset, capsetData.data(), copySize); in GetCaps()
1101 bool EmulatedVirtioGpu::GetCaps(uint32_t capsetId, uint32_t guestCapsSize, uint8_t* capset) { in GetCaps() argument
1102 return mImpl->GetCaps(capsetId, guestCapsSize, capset); in GetCaps()
/hardware/google/gfxstream/guest/platform/include/
DVirtGpu.h166 static VirtGpuDevice* getInstance(enum VirtGpuCapset capset = kCapsetNone);
171 VirtGpuDevice(enum VirtGpuCapset capset) : mCapset(capset) {} in VirtGpuDevice() argument
174 enum VirtGpuCapset capset() { return mCapset; } in capset() function
192 VirtGpuDevice* createPlatformVirtGpuDevice(enum VirtGpuCapset capset = kCapsetNone, int fd = -1);
/hardware/google/gfxstream/guest/GoldfishAddressSpace/
DVirtioGpuAddressSpaceStream.cpp19 static bool GetRingParamsFromCapset(enum VirtGpuCapset capset, const VirtGpuCaps& caps, in GetRingParamsFromCapset() argument
22 switch (capset) { in GetRingParamsFromCapset()
77 AddressSpaceStream* createVirtioGpuAddressSpaceStream(enum VirtGpuCapset capset, in createVirtioGpuAddressSpaceStream() argument
95 if (!GetRingParamsFromCapset(capset, caps, ringSize, bufferSize, blobAlignment)) { in createVirtioGpuAddressSpaceStream()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DHostConnection.cpp115 static HostConnectionType getConnectionTypeFromProperty(enum VirtGpuCapset capset) { in getConnectionTypeFromProperty() argument
152 if (capset == kCapsetGfxStreamVulkan || egl == "angle") { in getConnectionTypeFromProperty()
200 std::unique_ptr<HostConnection> HostConnection::connect(enum VirtGpuCapset capset) { in connect() argument
201 const enum HostConnectionType connType = getConnectionTypeFromProperty(capset); in connect()
295 if (capset == kCapsetGfxStreamMagma) { in connect()
297 } else if (capset == kCapsetGfxStreamVulkan) { in connect()
305 if (!noRenderControlEnc && capset == kCapsetGfxStreamVulkan) { in connect()
314 HostConnection* HostConnection::getOrCreate(enum VirtGpuCapset capset) { in getOrCreate() argument
315 return getWithThreadInfo(getEGLThreadInfo(), capset); in getOrCreate()
318 HostConnection* HostConnection::getWithThreadInfo(EGLThreadInfo* tinfo, enum VirtGpuCapset capset) { in getWithThreadInfo() argument
[all …]
DHostConnection.h118 static HostConnection* getOrCreate(enum VirtGpuCapset capset = kCapsetNone);
121 enum VirtGpuCapset capset = kCapsetNone);
125 static std::unique_ptr<HostConnection> createUnique(enum VirtGpuCapset capset = kCapsetNone);
166 static std::unique_ptr<HostConnection> connect(enum VirtGpuCapset capset);
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/
DVirtioGpuAddressSpaceStream.h20 enum VirtGpuCapset capset, gfxstream::guest::HealthMonitor<>* healthMonitor);
/hardware/google/gfxstream/host/
Dvirtio-gpu-gfxstream-renderer.cpp1494 struct gfxstream::vulkanCapset* capset = in fillCaps() local
1497 memset(capset, 0, sizeof(*capset)); in fillCaps()
1499 capset->protocolVersion = 1; in fillCaps()
1500 capset->ringSize = 12288; in fillCaps()
1501 capset->bufferSize = 1048576; in fillCaps()
1505 capset->colorBufferMemoryIndex = in fillCaps()
1509 capset->noRenderControlEnc = 1; in fillCaps()
1510 capset->blobAlignment = mPageSize; in fillCaps()
1512 capset->deferredMapping = 1; in fillCaps()
1517 struct gfxstream::magmaCapset* capset = in fillCaps() local
[all …]