/external/skqp/src/gpu/gl/ |
D | GrGLTexture.cpp | 18 GrTextureType GrGLTexture::TextureTypeFromTarget(GrGLenum target) { in TextureTypeFromTarget() 21 return GrTextureType::k2D; in TextureTypeFromTarget() 23 return GrTextureType::kRectangle; in TextureTypeFromTarget() 25 return GrTextureType::kExternal; in TextureTypeFromTarget() 28 return GrTextureType::k2D; in TextureTypeFromTarget() 31 static inline GrGLenum target_from_texture_type(GrTextureType type) { in target_from_texture_type() 33 case GrTextureType::k2D: in target_from_texture_type() 35 case GrTextureType::kRectangle: in target_from_texture_type() 37 case GrTextureType::kExternal: in target_from_texture_type()
|
/external/skqp/src/gpu/ |
D | GrPrimitiveProcessor.cpp | 48 static inline GrSamplerState::Filter clamp_filter(GrTextureType type, in clamp_filter() 56 GrPrimitiveProcessor::TextureSampler::TextureSampler(GrTextureType textureType, in TextureSampler() 63 GrPrimitiveProcessor::TextureSampler::TextureSampler(GrTextureType textureType, in TextureSampler() 70 void GrPrimitiveProcessor::TextureSampler::reset(GrTextureType textureType, in reset() 80 SkASSERT(!fExtraSamplerKey || textureType == GrTextureType::kExternal); in reset() 83 void GrPrimitiveProcessor::TextureSampler::reset(GrTextureType textureType, in reset()
|
D | GrPrimitiveProcessor.h | 258 TextureSampler(GrTextureType, GrPixelConfig, const GrSamplerState&, uint32_t extraSamplerKey); 260 explicit TextureSampler(GrTextureType, GrPixelConfig, 267 void reset(GrTextureType, GrPixelConfig, const GrSamplerState&, uint32_t extraSamplerKey = 0); 268 void reset(GrTextureType, GrPixelConfig, 272 GrTextureType textureType() const { return fTextureType; } in textureType() 283 GrTextureType fTextureType = GrTextureType::k2D;
|
D | GrProgramDesc.cpp | 25 static inline uint16_t texture_type_key(GrTextureType type) { in texture_type_key() 28 case GrTextureType::k2D: in texture_type_key() 31 case GrTextureType::kExternal: in texture_type_key() 34 case GrTextureType::kRectangle: in texture_type_key() 42 static uint16_t sampler_key(GrTextureType textureType, GrPixelConfig config, in sampler_key() 68 SkASSERT(sampler.proxy()->textureType() == GrTextureType::kExternal); in add_sampler_keys() 96 SkASSERT(sampler.textureType() == GrTextureType::kExternal); in add_sampler_keys()
|
D | GrBackendSurface.cpp | 29 fTextureType = GrTextureType::k2D; in GrBackendFormat() 32 fTextureType = GrTextureType::kRectangle; in GrBackendFormat() 35 fTextureType = GrTextureType::kExternal; in GrBackendFormat() 55 case GrTextureType::k2D: in getGLTarget() 57 case GrTextureType::kRectangle: in getGLTarget() 59 case GrTextureType::kExternal: in getGLTarget() 81 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 105 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 120 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 134 copy.fTextureType = GrTextureType::k2D; in makeTexture2D()
|
/external/skia/src/gpu/gl/ |
D | GrGLTexture.cpp | 19 GrTextureType GrGLTexture::TextureTypeFromTarget(GrGLenum target) { in TextureTypeFromTarget() 22 return GrTextureType::k2D; in TextureTypeFromTarget() 24 return GrTextureType::kRectangle; in TextureTypeFromTarget() 26 return GrTextureType::kExternal; in TextureTypeFromTarget() 31 static inline GrGLenum target_from_texture_type(GrTextureType type) { in target_from_texture_type() 33 case GrTextureType::k2D: in target_from_texture_type() 35 case GrTextureType::kRectangle: in target_from_texture_type() 37 case GrTextureType::kExternal: in target_from_texture_type()
|
D | GrGLCaps.h | 403 const GrTextureType* dstTypeIfTexture, 405 const GrTextureType* srcTypeIfTexture) const; 407 const GrTextureType* dstTypeIfTexture, 409 const GrTextureType* srcTypeIfTexture,
|
/external/skia/src/gpu/ |
D | GrTexture.h | 43 GrTextureType textureType() const { return fTextureType; } in textureType() 67 GrTexture(GrGpu*, const SkISize&, GrProtected, GrTextureType, GrMipmapStatus); 76 GrTextureType fTextureType;
|
D | GrProgramDesc.cpp | 26 static inline uint16_t texture_type_key(GrTextureType type) { in texture_type_key() 29 case GrTextureType::k2D: in texture_type_key() 32 case GrTextureType::kExternal: in texture_type_key() 35 case GrTextureType::kRectangle: in texture_type_key() 47 static uint32_t sampler_key(GrTextureType textureType, const GrSwizzle& swizzle, in sampler_key()
|
D | GrAHardwareBufferImageGenerator.cpp | 103 GrTextureType textureType = GrTextureType::k2D; in makeView() 105 textureType = GrTextureType::kExternal; in makeView() 110 textureType = GrTextureType::kExternal; in makeView()
|
D | GrBackendSurface.cpp | 90 fTextureType = GrTextureType::kNone; in GrBackendFormat() 93 fTextureType = GrTextureType::k2D; in GrBackendFormat() 96 fTextureType = GrTextureType::kRectangle; in GrBackendFormat() 99 fTextureType = GrTextureType::kExternal; in GrBackendFormat() 126 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 130 fTextureType = GrTextureType::kExternal; in GrBackendFormat() 155 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 173 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 190 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() 206 , fTextureType(GrTextureType::k2D) { in GrBackendFormat() [all …]
|
D | GrTextureProxy.cpp | 37 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy() 63 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy() 83 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
|
D | GrTexture.cpp | 43 GrTextureType textureType, in GrTexture() 53 if (textureType == GrTextureType::kExternal) { in GrTexture()
|
D | GrSurface.cpp | 25 if (format.textureType() == GrTextureType::kExternal) { in ComputeSize()
|
/external/skia/src/gpu/vk/ |
D | GrVkTexture.cpp | 31 GrTextureType::k2D, mipmapStatus) in GrVkTexture() 50 isExternal ? GrTextureType::kExternal : GrTextureType::k2D, mipmapStatus) in GrVkTexture() 68 GrTextureType::k2D, mipmapStatus) in GrVkTexture()
|
/external/skqp/include/gpu/ |
D | GrTexture.h | 80 GrTexture(GrGpu*, const GrSurfaceDesc&, GrTextureType, GrMipMapsStatus); 90 GrTextureType fTextureType;
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlTexture.mm | 20 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) 34 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) 48 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus)
|
/external/skia/src/gpu/mtl/ |
D | GrMtlTexture.mm | 26 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) 47 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus) 65 , INHERITED(gpu, dimensions, GrProtected::kNo, GrTextureType::k2D, mipmapStatus)
|
/external/skia/src/gpu/d3d/ |
D | GrD3DTexture.cpp | 26 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture() 42 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture() 60 , INHERITED(gpu, dimensions, info.fProtected, GrTextureType::k2D, mipmapStatus) in GrD3DTexture()
|
/external/skqp/include/private/ |
D | GrTypesPriv.h | 394 enum class GrTextureType { enum 550 static inline GrSLType GrSLCombinedSamplerTypeForTextureType(GrTextureType type) { in GrSLCombinedSamplerTypeForTextureType() 552 case GrTextureType::k2D: in GrSLCombinedSamplerTypeForTextureType() 554 case GrTextureType::kRectangle: in GrSLCombinedSamplerTypeForTextureType() 556 case GrTextureType::kExternal: in GrSLCombinedSamplerTypeForTextureType() 564 static inline bool GrTextureTypeHasRestrictedSampling(GrTextureType type) { in GrTextureTypeHasRestrictedSampling() 566 case GrTextureType::k2D: in GrTextureTypeHasRestrictedSampling() 568 case GrTextureType::kRectangle: in GrTextureTypeHasRestrictedSampling() 570 case GrTextureType::kExternal: in GrTextureTypeHasRestrictedSampling()
|
/external/skqp/src/gpu/vk/ |
D | GrVkTexture.cpp | 30 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture() 45 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture() 64 , INHERITED(gpu, desc, GrTextureType::k2D, mipMapsStatus) in GrVkTexture()
|
/external/skia/include/private/ |
D | GrTypesPriv.h | 346 enum class GrTextureType { enum 564 static inline GrSLType GrSLCombinedSamplerTypeForTextureType(GrTextureType type) { in GrSLCombinedSamplerTypeForTextureType() 566 case GrTextureType::k2D: in GrSLCombinedSamplerTypeForTextureType() 568 case GrTextureType::kRectangle: in GrSLCombinedSamplerTypeForTextureType() 570 case GrTextureType::kExternal: in GrSLCombinedSamplerTypeForTextureType() 580 static inline bool GrTextureTypeHasRestrictedSampling(GrTextureType type) { in GrTextureTypeHasRestrictedSampling() 582 case GrTextureType::k2D: in GrTextureTypeHasRestrictedSampling() 584 case GrTextureType::kRectangle: in GrTextureTypeHasRestrictedSampling() 586 case GrTextureType::kExternal: in GrTextureTypeHasRestrictedSampling()
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 114 GrTextureType textureType() const { return fTextureType; } in textureType() 230 GrTextureType fTextureType = GrTextureType::kNone;
|
/external/skia/tests/ |
D | EGLImageTest.cpp | 180 REPORTER_ASSERT(reporter, proxy->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 181 REPORTER_ASSERT(reporter, proxy->peekTexture()->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | EGLImageTest.cpp | 173 REPORTER_ASSERT(reporter, proxy->textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 175 proxy->peekTexture()->texturePriv().textureType() == GrTextureType::kExternal); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|