Searched refs:kMock (Results 1 – 21 of 21) sorted by relevance
117 : fBackend(GrBackendApi::kMock) in GrBackendFormat()124 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockFormat()162 case GrBackendApi::kMock: in operator ==()230 , fBackend(GrBackendApi::kMock) in GrBackendTexture()275 case GrBackendApi::kMock: in operator =()338 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockTextureInfo()369 case GrBackendApi::kMock: in getBackendFormat()393 case GrBackendApi::kMock: in TestingOnly_Equals()541 case GrBackendApi::kMock: in operator =()597 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockRenderTargetInfo()[all …]
139 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kMock)); in MakeMock()
1148 GR_STATIC_ASSERT(3 == (unsigned)GrBackendApi::kMock); in dump()
120 : fBackend(GrBackendApi::kMock) in GrBackendFormat()127 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockFormat()172 case GrBackendApi::kMock: in operator ==()240 , fBackend(GrBackendApi::kMock) in GrBackendTexture()285 case GrBackendApi::kMock: in operator =()348 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockTextureInfo()379 case GrBackendApi::kMock: in getBackendFormat()403 case GrBackendApi::kMock: in TestingOnly_Equals()551 case GrBackendApi::kMock: in operator =()607 if (this->isValid() && GrBackendApi::kMock == fBackend) { in getMockRenderTargetInfo()[all …]
152 sk_sp<GrContext> context(new GrLegacyDirectContext(GrBackendApi::kMock, options)); in MakeMock()
704 GR_STATIC_ASSERT(3 == (unsigned)GrBackendApi::kMock); in dump()
37 case PlatformKind::kMock: in PlatformKindString()79 static_cast<int>(kind) <= static_cast<int>(PlatformKind::kMock)) in CheckPlatformKindIsValid()
46 kMock, enumerator
22 virtual GrBackendApi backend() override { return GrBackendApi::kMock; } in backend()
195 kMock, enumerator212 static constexpr GrBackendApi kMock_GrBackend = GrBackendApi::kMock;
218 SkASSERT(GrBackendApi::kMock == tex.backend()); in isTestingOnlyBackendTexture()229 SkASSERT(GrBackendApi::kMock == tex.backend()); in deleteTestingOnlyBackendTexture()
80 return GrBackendApi::kMock; in ContextTypeBackend()
239 case GrBackendApi::kMock: { in getContextInfoInternal()
298 SkASSERT(GrBackendApi::kMock == backingTexture.backend()); in DEF_CCPR_TEST()
185 case GrBackendApi::kMock: in create_backend_format()
297 SkASSERT(GrBackendApi::kMock == backingTexture.backend()); in DEF_CCPR_TEST()