/frameworks/rs/ |
D | rsType.cpp | 29 memset(&mHal, 0, sizeof(mHal)); in Type() 50 t->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 55 if (mHal.state.lodCount) { in clear() 56 delete [] mHal.state.lodDimX; in clear() 57 delete [] mHal.state.lodDimY; in clear() 58 delete [] mHal.state.lodDimZ; in clear() 60 if (mHal.state.arrayCount > 0) { in clear() 61 delete [] mHal.state.arrays; in clear() 64 memset(&mHal, 0, sizeof(mHal)); in clear() 75 uint32_t oldLODCount = mHal.state.lodCount; in compute() [all …]
|
D | rsDriverLoader.cpp | 54 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver); in LoadHalTable() 55 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority); in LoadHalTable() 56 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem); in LoadHalTable() 57 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem); in LoadHalTable() 58 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish); in LoadHalTable() 60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable() 61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable() 62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable() 63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable() 64 ret &= fn(RS_HAL_SCRIPT_INVOKE_FOR_EACH, (void **)&rsc->mHal.funcs.script.invokeForEach); in LoadHalTable() [all …]
|
D | rsProgram.cpp | 32 mHal.state.inputElementsCount++; in Program() 35 mHal.state.constantsCount++; in Program() 38 mHal.state.texturesCount++; in Program() 42 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount]; in Program() 43 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount]; in Program() 44 mInputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount]; in Program() 45 mConstantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount]; in Program() 46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount]; in Program() 48 mHal.state.textures = new Allocation*[mHal.state.texturesCount]; in Program() 49 mHal.state.samplers = new Sampler*[mHal.state.texturesCount]; in Program() [all …]
|
D | rsMesh.cpp | 25 mHal.drv = nullptr; in Mesh() 26 mHal.state.primitives = nullptr; in Mesh() 27 mHal.state.primitivesCount = 0; in Mesh() 28 mHal.state.indexBuffers = nullptr; in Mesh() 29 mHal.state.indexBuffersCount = 0; in Mesh() 30 mHal.state.vertexBuffers = nullptr; in Mesh() 31 mHal.state.vertexBuffersCount = 0; in Mesh() 41 mHal.drv = nullptr; in Mesh() 42 mHal.state.primitivesCount = primitivesCount; in Mesh() 43 mHal.state.indexBuffersCount = primitivesCount; in Mesh() [all …]
|
D | rsProgramStore.cpp | 28 memset(&mHal, 0, sizeof(mHal)); in ProgramStore() 30 mHal.state.ditherEnable = ditherEnable; in ProgramStore() 32 mHal.state.colorRWriteEnable = colorMaskR; in ProgramStore() 33 mHal.state.colorGWriteEnable = colorMaskG; in ProgramStore() 34 mHal.state.colorBWriteEnable = colorMaskB; in ProgramStore() 35 mHal.state.colorAWriteEnable = colorMaskA; in ProgramStore() 36 mHal.state.blendSrc = srcFunc; in ProgramStore() 37 mHal.state.blendDst = destFunc; in ProgramStore() 39 mHal.state.depthWriteEnable = depthMask; in ProgramStore() 40 mHal.state.depthFunc = depthFunc; in ProgramStore() [all …]
|
D | rsFBOCache.cpp | 27 mHal.state.colorTargetsCount = 1; in FBOCache() 28 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount]; in FBOCache() 29 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount]; in FBOCache() 34 delete[] mHal.state.colorTargets; in ~FBOCache() 39 rsc->mHal.funcs.framebuffer.init(rsc, this); in init() 43 rsc->mHal.funcs.framebuffer.destroy(rsc, this); in deinit() 47 if (slot >= mHal.state.colorTargetsCount) { in bindColorTarget() 52 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) { in bindColorTarget() 58 mHal.state.colorTargets[slot] = a; in bindColorTarget() 70 mHal.state.depthTarget = a; in bindDepthTarget() [all …]
|
D | rsProgramVertex.cpp | 29 mRSC->mHal.funcs.vertex.init(mRSC, this, mUserShader, mUserShaderLen, in ProgramVertex() 34 mRSC->mHal.funcs.vertex.destroy(mRSC, this); in ~ProgramVertex() 43 if (mHal.state.constants[0] == nullptr) { in setup() 48 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setup() 49 rsc, mHal.state.constants[0])); in setup() 58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 63 rsc->mHal.funcs.vertex.setActive(rsc, this); in setup() 72 if (mHal.state.constants[0] == nullptr) { in setProjectionMatrix() 77 float *f = static_cast<float *>(rsc->mHal.funcs.allocation.lock1D( in setProjectionMatrix() 78 rsc, mHal.state.constants[0])); in setProjectionMatrix() [all …]
|
D | rsAllocation.cpp | 32 memset(&mHal, 0, sizeof(mHal)); in Allocation() 33 mHal.state.mipmapControl = RS_ALLOCATION_MIPMAP_NONE; in Allocation() 34 mHal.state.usageFlags = usages; in Allocation() 35 mHal.state.mipmapControl = mc; in Allocation() 36 mHal.state.userProvidedPtr = ptr; in Allocation() 45 memset(&mHal, 0, sizeof(mHal)); in Allocation() 46 mHal.state.baseAlloc = alloc; in Allocation() 47 mHal.state.usageFlags = alloc->mHal.state.usageFlags; in Allocation() 48 mHal.state.mipmapControl = RS_ALLOCATION_MIPMAP_NONE; in Allocation() 57 a->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() [all …]
|
D | rsSampler.cpp | 36 mHal.state.magFilter = magFilter; in Sampler() 37 mHal.state.minFilter = minFilter; in Sampler() 38 mHal.state.wrapS = wrapS; in Sampler() 39 mHal.state.wrapT = wrapT; in Sampler() 40 mHal.state.wrapR = wrapR; in Sampler() 41 mHal.state.aniso = aniso; in Sampler() 43 mRSC->mHal.funcs.sampler.init(mRSC, this); in Sampler() 47 mRSC->mHal.funcs.sampler.destroy(mRSC, this); in ~Sampler() 89 if (existing->mHal.state.magFilter != magFilter) continue; in getSampler() 90 if (existing->mHal.state.minFilter != minFilter ) continue; in getSampler() [all …]
|
D | rsApiMesh.cpp | 24 *numVtx = sm->mHal.state.vertexBuffersCount; in rsaMeshGetVertexBufferCount() 29 *numIdx = sm->mHal.state.primitivesCount; in rsaMeshGetIndexCount() 34 rsAssert(vtxDataCount == sm->mHal.state.vertexBuffersCount); in rsaMeshGetVertices() 37 vtxData[ct] = sm->mHal.state.vertexBuffers[ct]; in rsaMeshGetVertices() 38 sm->mHal.state.vertexBuffers[ct]->incUserRef(); in rsaMeshGetVertices() 44 rsAssert(idxDataCount == sm->mHal.state.primitivesCount); in rsaMeshGetIndices() 47 va[ct] = sm->mHal.state.indexBuffers[ct]; in rsaMeshGetIndices() 48 primType[ct] = sm->mHal.state.primitives[ct]; in rsaMeshGetIndices() 49 if (sm->mHal.state.indexBuffers[ct]) { in rsaMeshGetIndices() 50 sm->mHal.state.indexBuffers[ct]->incUserRef(); in rsaMeshGetIndices()
|
D | rsType.h | 62 Hal mHal; variable 73 uint32_t getDimX() const {return mHal.state.dimX;} in getDimX() 74 uint32_t getDimY() const {return mHal.state.dimY;} in getDimY() 75 uint32_t getDimZ() const {return mHal.state.dimZ;} in getDimZ() 77 bool getDimFaces() const {return mHal.state.faces;} in getDimFaces() 78 uint32_t getDimYuv() const {return mHal.state.dimYuv;} in getDimYuv() 80 if (idx < mHal.state.arrayCount) { in getArray() 81 return mHal.state.arrays[idx]; in getArray() 87 rsAssert(lod < mHal.state.lodCount); in getLODDimX() 88 return mHal.state.lodDimX[lod]; in getLODDimX() [all …]
|
D | rsGrallocConsumer.cpp | 36 uint32_t width = a->mHal.drvState.lod[0].dimX; in GrallocConsumer() 37 uint32_t height = a->mHal.drvState.lod[0].dimY; in GrallocConsumer() 41 if (a->mHal.state.yuv) { in GrallocConsumer() 161 mAlloc[idx]->mHal.drvState.lod[0].mallocPtr = data; in lockNextBuffer() 162 mAlloc[idx]->mHal.drvState.lod[0].stride = rowstride; in lockNextBuffer() 163 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer; in lockNextBuffer() 164 mAlloc[idx]->mHal.state.timestamp = timestamp; in lockNextBuffer() 167 const int yWidth = mAlloc[idx]->mHal.drvState.lod[0].dimX; in lockNextBuffer() 168 const int yHeight = mAlloc[idx]->mHal.drvState.lod[0].dimY; in lockNextBuffer() 215 mAlloc[idx]->mHal.drvState.lod[1].dimX = cWidth; in lockNextBuffer() [all …]
|
D | rsElement.cpp | 29 memset(&mHal, 0, sizeof(mHal)); in Element() 39 e->getContext()->mHal.funcs.freeRuntimeMem(ptr); in operator delete() 64 delete [] mHal.state.fields; in clear() 65 delete [] mHal.state.fieldArraySizes; in clear() 66 delete [] mHal.state.fieldNames; in clear() 67 delete [] mHal.state.fieldNameLengths; in clear() 68 delete [] mHal.state.fieldOffsetBytes; in clear() 173 mHal.state.dataType = mComponent.getType(); in compute() 174 mHal.state.dataKind = mComponent.getKind(); in compute() 175 mHal.state.vectorSize = mComponent.getVectorSize(); in compute() [all …]
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 85 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { in getExistingState() 87 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) { in getExistingState() 88 Allocation *a = mRSProgram->mHal.state.textures[ct]; in getExistingState() 89 if (a && a->mHal.state.surfaceTextureID) { in getExistingState() 125 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in init() 126 initAddUserElement(mRSProgram->mHal.state.inputElements[ct], mAttribNames, in init() 129 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in init() 130 initAddUserElement(mRSProgram->mHal.state.constantTypes[ct]->getElement(), in init() 135 for (uint32_t ct=0; ct < mRSProgram->mHal.state.texturesCount; ct++) { in init() 145 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in getGLSLInputString() [all …]
|
D | rsdFrameBuffer.cpp | 33 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setDepthAttachment() 36 if (fb->mHal.state.depthTarget != nullptr) { in setDepthAttachment() 37 depth = (DrvAllocation *)fb->mHal.state.depthTarget->mHal.drv; in setDepthAttachment() 40 rsdAllocationSyncAll(rsc, fb->mHal.state.depthTarget, in setDepthAttachment() 48 RsdFrameBufferObj *fbo = (RsdFrameBufferObj*)fb->mHal.drv; in setColorAttachment() 50 for (uint32_t i = 0; i < fb->mHal.state.colorTargetsCount; i ++) { in setColorAttachment() 52 if (fb->mHal.state.colorTargets[i] != nullptr) { in setColorAttachment() 53 color = (DrvAllocation *)fb->mHal.state.colorTargets[i]->mHal.drv; in setColorAttachment() 56 rsdAllocationSyncAll(rsc, fb->mHal.state.colorTargets[i], in setColorAttachment() 69 fb->mHal.drv = fbo; in rsdFrameBufferInit() [all …]
|
D | rsdAllocation.cpp | 90 uint8_t *ptr = (uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; in GetOffsetPtr() 91 ptr += face * alloc->mHal.drvState.faceOffset; in GetOffsetPtr() 92 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 93 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; in GetOffsetPtr() 94 ptr += xoff * alloc->mHal.state.elementSizeBytes; in GetOffsetPtr() 103 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in Update2DTexture() 109 if (alloc->mHal.state.hasFaces) { in Update2DTexture() 119 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in Upload2DTexture() 125 if (alloc->mHal.state.hasFaces) { in Upload2DTexture() 131 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) { in Upload2DTexture() [all …]
|
D | rsdMeshObj.cpp | 59 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; in isValidGLComponent() 67 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; in isValidGLComponent() 81 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { in init() 82 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() 83 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { in init() 104 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { in init() 105 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() 106 uint32_t stride = elem->mHal.state.elementSizeBytes; in init() 107 for (uint32_t fieldI=0; fieldI < elem->mHal.state.fieldsCount; fieldI++) { in init() 108 const Element *f = elem->mHal.state.fields[fieldI]; in init() [all …]
|
D | rsdProgramStore.cpp | 45 ps->mHal.drv = drv; in rsdProgramStoreInit() 48 switch (ps->mHal.state.depthFunc) { in rsdProgramStoreInit() 79 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) && in rsdProgramStoreInit() 80 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) { in rsdProgramStoreInit() 84 switch (ps->mHal.state.blendSrc) { in rsdProgramStoreInit() 117 switch (ps->mHal.state.blendDst) { in rsdProgramStoreInit() 151 ps->mHal.drv = nullptr; in rsdProgramStoreInit() 156 DrvProgramStore *drv = (DrvProgramStore *)ps->mHal.drv; in rsdProgramStoreSetActive() 158 RSD_CALL_GL(glColorMask, ps->mHal.state.colorRWriteEnable, in rsdProgramStoreSetActive() 159 ps->mHal.state.colorGWriteEnable, in rsdProgramStoreSetActive() [all …]
|
D | rsdProgram.cpp | 45 pv->mHal.drv = drv; in rsdProgramVertexInit() 51 for (uint32_t ct=0; ct < p->mHal.state.texturesCount; ct++) { in SyncProgramConstants() 52 const Allocation *a = p->mHal.state.textures[ct]; in SyncProgramConstants() 56 DrvAllocation *drvAlloc = (DrvAllocation *)a->mHal.drv; in SyncProgramConstants() 64 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive() 67 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive() 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy() 74 if(pv->mHal.drv) { in rsdProgramVertexDestroy() 75 drv = (RsdShader*)pv->mHal.drv; in rsdProgramVertexDestroy() 92 pf->mHal.drv = drv; in rsdProgramFragmentInit() [all …]
|
D | rsdMesh.cpp | 32 if(m->mHal.drv) { in rsdMeshInit() 33 drv = (RsdMeshObj*)m->mHal.drv; in rsdMeshInit() 37 m->mHal.drv = drv; in rsdMeshInit() 42 if(m->mHal.drv) { in rsdMeshDraw() 43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdMeshDraw() 48 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv; in rsdMeshDraw() 54 if(m->mHal.drv) { in rsdMeshDestroy() 55 RsdMeshObj *drv = (RsdMeshObj*)m->mHal.drv; in rsdMeshDestroy()
|
D | rsdBcc.cpp | 44 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdScriptInit() 51 script->mHal.drv = cs; in rsdScriptInit() 58 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdInitIntrinsic() 63 s->mHal.drv = cs; in rsdInitIntrinsic() 98 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeForEachMulti() 104 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeRoot() 109 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeInit() 114 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeFreeChildren() 122 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeFunction() 131 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeReduce() [all …]
|
/frameworks/rs/support/jni/ |
D | android_rscompat_usage_io_driver.cpp | 16 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in IoGetBuffer() 28 alloc->mHal.drvState.lod[0].mallocPtr = dst; in IoGetBuffer() 29 … alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes; in IoGetBuffer() 36 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in rscAllocationSetSurface() 49 r = ANativeWindow_setBuffersGeometry(nw, alloc->mHal.drvState.lod[0].dimX, in rscAllocationSetSurface() 50 alloc->mHal.drvState.lod[0].dimY, in rscAllocationSetSurface() 72 DrvAllocation *drv = (DrvAllocation *)alloc->mHal.drv; in rscAllocationDestroy() 73 if (alloc->mHal.drvState.lod[0].mallocPtr) { in rscAllocationDestroy() 76 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_INPUT) && in rscAllocationDestroy() 77 !(alloc->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT)) { in rscAllocationDestroy() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_element.c | 13 return element->mHal.state.fieldsCount; in rsElementGetSubElementCount() 19 if (element == NULL || index >= element->mHal.state.fieldsCount) { in rsElementGetSubElement() 24 element->mHal.state.fields[index] in rsElementGetSubElement() 37 if (element == NULL || index >= element->mHal.state.fieldsCount) { in rsElementGetSubElementNameLength() 40 return element->mHal.state.fieldNameLengths[index]; in rsElementGetSubElementNameLength() 46 if (element == NULL || index >= element->mHal.state.fieldsCount || in rsElementGetSubElementName() 51 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index]; in rsElementGetSubElementName() 58 const char *nameSource = element->mHal.state.fieldNames[index]; in rsElementGetSubElementName() 68 if (element == NULL || index >= element->mHal.state.fieldsCount) { in rsElementGetSubElementArraySize() 71 return element->mHal.state.fieldArraySizes[index]; in rsElementGetSubElementArraySize() [all …]
|
D | rs_program.c | 16 return prog->mHal.state.depthFunc; in rsgProgramStoreGetDepthFunc() 25 return prog->mHal.state.depthWriteEnable; in rsgProgramStoreIsDepthMaskEnabled() 34 return prog->mHal.state.colorRWriteEnable; in rsgProgramStoreIsColorMaskRedEnabled() 43 return prog->mHal.state.colorGWriteEnable; in rsgProgramStoreIsColorMaskGreenEnabled() 52 return prog->mHal.state.colorBWriteEnable; in rsgProgramStoreIsColorMaskBlueEnabled() 61 return prog->mHal.state.colorAWriteEnable; in rsgProgramStoreIsColorMaskAlphaEnabled() 70 return prog->mHal.state.blendSrc; in rsgProgramStoreGetBlendSrcFunc() 79 return prog->mHal.state.blendDst; in rsgProgramStoreGetBlendDstFunc() 88 return prog->mHal.state.ditherEnable; in rsgProgramStoreIsDitherEnabled() 100 return prog->mHal.state.pointSprite; in rsgProgramRasterIsPointSpriteEnabled() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 71 Hwc2::mock::Composer* mHal = new StrictMock<Hwc2::mock::Composer>(); member 81 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F() 82 EXPECT_CALL(*mHal, getLayerGenericMetadataKeys(_)) in TEST_F() 88 EXPECT_CALL(*mHal, registerCallback(_)); in TEST_F() 89 EXPECT_CALL(*mHal, isVsyncPeriodSwitchSupported()).WillOnce(Return(false)); in TEST_F() 91 impl::HWComposer hwc{std::unique_ptr<Hwc2::Composer>(mHal)}; in TEST_F() 103 EXPECT_CALL(*mHal, getCapabilities()).WillOnce(Return(std::vector<hal::Capability>{})); in TEST_F() 104 EXPECT_CALL(*mHal, getLayerGenericMetadataKeys(_)) in TEST_F() 106 EXPECT_CALL(*mHal, registerCallback(_)); in TEST_F() 107 EXPECT_CALL(*mHal, isVsyncPeriodSwitchSupported()).WillOnce(Return(false)); in TEST_F() [all …]
|