Home
last modified time | relevance | path

Searched refs:mEmulation (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaVirtGpuBlob.cpp27 : mEmulation(emulation), in RutabagaVirtGpuResource()
33 mEmulation->DestroyResource(mContextId, mResourceId); in ~RutabagaVirtGpuResource()
37 uint8_t* mapped = mEmulation->Map(mResourceId); in createMapping()
38 return std::make_shared<RutabagaVirtGpuResourceMapping>(mEmulation, shared_from_this(), mapped); in createMapping()
63 int RutabagaVirtGpuResource::wait() { return mEmulation->Wait(mResourceId); } in wait()
71 return mEmulation->TransferFromHost(mContextId, mResourceId, offset, size); in transferFromHost()
80 return mEmulation->TransferFromHost(mContextId, mResourceId, x, y, w, h); in transferFromHost()
89 return mEmulation->TransferToHost(mContextId, mResourceId, offset, size); in transferToHost()
98 return mEmulation->TransferToHost(mContextId, mResourceId, x, y, w, h); in transferToHost()
DRutabagaVirtGpuDevice.cpp26 : VirtGpuDevice(capset), mEmulation(emulation), mCapset(capset) {} in RutabagaVirtGpuDevice()
28 RutabagaVirtGpuDevice::~RutabagaVirtGpuDevice() { mEmulation->DestroyContext(mContextId); } in ~RutabagaVirtGpuDevice()
74 bool success = mEmulation->GetCaps(capsetId, capsetSize, capsetPtr); in Init()
81 const auto contextIdOp = mEmulation->CreateContext(capsetId); in Init()
96 const auto resourceIdOpt = mEmulation->CreateBlob( in createBlob()
104 mEmulation, *resourceIdOpt, RutabagaVirtGpuResource::ResourceType::kBlob, mContextId)); in createBlob()
113 mEmulation->CreateVirglBlob(mContextId, width, height, virglFormat, target, bind, size); in createResource()
119 mEmulation, *resourceIdOpt, RutabagaVirtGpuResource::ResourceType::kPipe, mContextId)); in createResource()
136 int ret = mEmulation->SubmitCmd(mContextId, execbuffer.command_size, execbuffer.command, in execBuffer()
DRutabagaVirtGpuSyncHelper.cpp28 mEmulation = EmulatedVirtioGpu::Get(); in Init()
29 return mEmulation != nullptr; in Init()
33 return mEmulation->WaitOnEmulatedFence(syncFd, timeoutMilliseconds); in wait()
DRutabagaVirtGpuBlobMapping.cpp24 : mEmulation(emulation), mBlob(blob), mMapped(mapped) {} in RutabagaVirtGpuResourceMapping()
27 mEmulation->Unmap(mBlob->getResourceHandle()); in ~RutabagaVirtGpuResourceMapping()
DRutabagaVirtGpu.h38 const std::shared_ptr<EmulatedVirtioGpu> mEmulation;
73 const std::shared_ptr<EmulatedVirtioGpu> mEmulation; variable
100 const std::shared_ptr<EmulatedVirtioGpu> mEmulation;
DRutabagaVirtGpuSyncHelper.h37 std::shared_ptr<EmulatedVirtioGpu> mEmulation;