Home
last modified time | relevance | path

Searched refs:texturePriv (Results 1 – 25 of 27) sorted by relevance

12

/external/skqp/src/gpu/gl/
DGrGLTexture.cpp84 return target_from_texture_type(this->texturePriv().textureType()); in target()
106 info.fTarget = target_from_texture_type(this->texturePriv().textureType()); in getBackendTexture()
109 return GrBackendTexture(this->width(), this->height(), this->texturePriv().mipMapped(), info); in getBackendTexture()
114 target_from_texture_type(this->texturePriv().textureType())); in backendFormat()
DGrGLTextureRenderTarget.cpp70 this->texturePriv().mipMapped()); in onGpuMemorySize()
DGrGLUniformHandler.cpp77 GrTextureType type = texture->texturePriv().textureType(); in addSampler()
DGrGLGpu.cpp1937 tex->texturePriv().mipMapped() == GrMipMapped::kYes && in resolveAndGenerateMipMapsForProcessorTextures()
1938 tex->texturePriv().mipMapsAreDirty()) { in resolveAndGenerateMipMapsForProcessorTextures()
2967 texture->texturePriv().mipMapped() == GrMipMapped::kNo) { in bindTexture()
2975 SkASSERT(!texture->texturePriv().mipMapsAreDirty()); in bindTexture()
3037 newNonSamplerParams.fMaxMipMapLevel = texture->texturePriv().maxMipMapLevel(); in bindTexture()
3062 (texture->texturePriv().textureType() != GrTextureType::kExternal || in bindTexture()
3321 GrSLCombinedSamplerTypeForTextureType(srcTex->texturePriv().textureType()); in createCopyProgram()
3654 if (srcTex->texturePriv().textureType() != GrTextureType::kRectangle) { in copySurfaceAsDraw()
3796 SkASSERT(levelCount == texture->texturePriv().maxMipMapLevel() + 1); in onRegenerateMipMapLevels()
4309 switch (GrSLCombinedSamplerTypeForTextureType(texture->texturePriv().textureType())) { in TextureToCopyProgramIdx()
/external/skqp/tests/
DGrMipMappedTest.cpp85 REPORTER_ASSERT(reporter, GrMipMapped::kYes == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
87 REPORTER_ASSERT(reporter, texture->texturePriv().mipMapsAreDirty()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
89 REPORTER_ASSERT(reporter, !texture->texturePriv().mipMapsAreDirty()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
92 REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
263 REPORTER_ASSERT(reporter, mipMapped == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
275 REPORTER_ASSERT(reporter, mipMapped == texture->texturePriv().mipMapped()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DEGLImageTest.cpp171 REPORTER_ASSERT(reporter, proxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
175 proxy->peekTexture()->texturePriv().textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
177 REPORTER_ASSERT(reporter, proxy->peekTexture()->texturePriv().hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp148 SkASSERT(rectProxy->peekTexture()->texturePriv().mipMapped() == GrMipMapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
151 SkASSERT(rectProxy->peekTexture()->texturePriv().textureType() == in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
154 SkASSERT(rectProxy->peekTexture()->texturePriv().hasRestrictedSampling()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DGrTextureMipMapInvalidationTest.cpp20 return GrMipMapped::kYes == texture->texturePriv().mipMapped(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
24 return surf->makeImageSnapshot()->getTexture()->texturePriv().mipMapsAreDirty(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT()
/external/skqp/src/gpu/
DGrTextureProxy.cpp54 , fMipMapped(fTarget->asTexture()->texturePriv().mipMapped()) in GrTextureProxy()
132 return this->peekTexture()->texturePriv().mipMapped(); in mipMapped()
176 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
178 SkASSERT(surface->asTexture()->texturePriv().textureType() == this->textureType()); in onValidateSurface()
DGrTexturePriv.h73 inline GrTexturePriv GrTexture::texturePriv() { return GrTexturePriv(this); } in texturePriv() function
75 inline const GrTexturePriv GrTexture::texturePriv () const { in texturePriv() function
DGrTexture.cpp35 this->texturePriv().mipMapped(), false); in onGpuMemorySize()
88 this->texturePriv().mipMapped(), key); in computeScratchKey()
DGrTextureRenderTargetProxy.cpp121 GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in onValidateSurface()
127 SkASSERT(surface->asTexture()->texturePriv().textureType() == this->textureType()); in onValidateSurface()
DGrGpu.cpp337 SkASSERT(texture->texturePriv().mipMapped() == GrMipMapped::kYes); in regenerateMipMapLevels()
338 SkASSERT(texture->texturePriv().mipMapsAreDirty()); in regenerateMipMapLevels()
344 texture->texturePriv().markMipMapsClean(); in regenerateMipMapLevels()
373 texture->texturePriv().markMipMapsDirty(); in didWriteToSurface()
DGrDrawingManager.cpp477 if (tex->texturePriv().mipMapped() == GrMipMapped::kYes && in prepareSurfaceForExternalIO()
478 tex->texturePriv().mipMapsAreDirty()) { in prepareSurfaceForExternalIO()
DGrProgramDesc.cpp64 k16[i] = sampler_key(tex->texturePriv().textureType(), tex->config(), caps); in add_sampler_keys()
DGrSurfaceProxy.cpp174 SkASSERT(GrMipMapped::kYes == surface->asTexture()->texturePriv().mipMapped()); in createSurfaceImpl()
/external/skqp/include/gpu/
DGrTexture.h76 inline GrTexturePriv texturePriv();
77 inline const GrTexturePriv texturePriv() const;
/external/skqp/src/gpu/mock/
DGrMockTexture.h37 return GrBackendTexture(this->width(), this->height(), this->texturePriv().mipMapped(), in getBackendTexture()
209 this->texturePriv().mipMapped()); in onGpuMemorySize()
215 this->texturePriv().mipMapped(), key); in computeScratchKey()
/external/skqp/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp110 SkASSERT(sampler.textureType() == texture->texturePriv().textureType()); in emitAndInstallPrimProc()
254 SkASSERT(dstTexture->texturePriv().textureType() != GrTextureType::kExternal); in emitAndInstallXferProc()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp416 SkASSERT(mipLevelCount <= vkTex->texturePriv().maxMipMapLevel() + 1); in onWritePixels()
478 vkTex->texturePriv().markMipMapsDirty(); in onTransferPixels()
601 SkASSERT(1 == mipLevelCount || mipLevelCount == (tex->texturePriv().maxMipMapLevel() + 1)); in uploadTexDataOptimal()
789 tex->texturePriv().markMipMapsDirty(); in uploadTexDataOptimal()
807 SkASSERT(1 == mipLevelCount || mipLevelCount == (tex->texturePriv().maxMipMapLevel() + 1)); in uploadTexDataCompressed()
915 tex->texturePriv().markMipMapsDirty(); in uploadTexDataCompressed()
DGrVkUniformHandler.cpp273 GrTextureType type = texture->texturePriv().textureType(); in addSampler()
DGrVkTextureRenderTarget.cpp242 this->texturePriv().mipMapped()); in onGpuMemorySize()
DGrVkGpuCommandBuffer.cpp728 SkASSERT(vkTexture->texturePriv().mipMapped() == GrMipMapped::kYes); in onDraw()
729 if (vkTexture->texturePriv().mipMapsAreDirty()) { in onDraw()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineState.mm30 GrMtlSampler::Create(gpu, state, texture->texturePriv().maxMipMapLevel()));
DGrMtlUniformHandler.mm265 GrTextureType type = texture->texturePriv().textureType();

12