Home
last modified time | relevance | path

Searched refs:GrTextureType (Results 1 – 25 of 70) sorted by relevance

123

/external/skqp/src/gpu/gl/
DGrGLTexture.cpp18 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/
DGrPrimitiveProcessor.cpp48 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()
DGrPrimitiveProcessor.h258 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;
DGrProgramDesc.cpp25 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()
DGrBackendSurface.cpp29 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/
DGrGLTexture.cpp19 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()
DGrGLCaps.h403 const GrTextureType* dstTypeIfTexture,
405 const GrTextureType* srcTypeIfTexture) const;
407 const GrTextureType* dstTypeIfTexture,
409 const GrTextureType* srcTypeIfTexture,
/external/skia/src/gpu/
DGrTexture.h43 GrTextureType textureType() const { return fTextureType; } in textureType()
67 GrTexture(GrGpu*, const SkISize&, GrProtected, GrTextureType, GrMipmapStatus);
76 GrTextureType fTextureType;
DGrProgramDesc.cpp26 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()
DGrAHardwareBufferImageGenerator.cpp103 GrTextureType textureType = GrTextureType::k2D; in makeView()
105 textureType = GrTextureType::kExternal; in makeView()
110 textureType = GrTextureType::kExternal; in makeView()
DGrBackendSurface.cpp90 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 …]
DGrTextureProxy.cpp37 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
63 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
83 if (this->textureType() == GrTextureType::kExternal) { in GrTextureProxy()
DGrTexture.cpp43 GrTextureType textureType, in GrTexture()
53 if (textureType == GrTextureType::kExternal) { in GrTexture()
DGrSurface.cpp25 if (format.textureType() == GrTextureType::kExternal) { in ComputeSize()
/external/skia/src/gpu/vk/
DGrVkTexture.cpp31 GrTextureType::k2D, mipmapStatus) in GrVkTexture()
50 isExternal ? GrTextureType::kExternal : GrTextureType::k2D, mipmapStatus) in GrVkTexture()
68 GrTextureType::k2D, mipmapStatus) in GrVkTexture()
/external/skqp/include/gpu/
DGrTexture.h80 GrTexture(GrGpu*, const GrSurfaceDesc&, GrTextureType, GrMipMapsStatus);
90 GrTextureType fTextureType;
/external/skqp/src/gpu/mtl/
DGrMtlTexture.mm20 , 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/
DGrMtlTexture.mm26 , 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/
DGrD3DTexture.cpp26 , 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/
DGrTypesPriv.h394 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/
DGrVkTexture.cpp30 , 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/
DGrTypesPriv.h346 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/
DGrBackendSurface.h114 GrTextureType textureType() const { return fTextureType; } in textureType()
230 GrTextureType fTextureType = GrTextureType::kNone;
/external/skia/tests/
DEGLImageTest.cpp180 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/
DEGLImageTest.cpp173 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()

123