Home
last modified time | relevance | path

Searched refs:texInfo (Results 1 – 12 of 12) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLayeredRenderingBoundaryCondition.cpp478 TextureInfo texInfo; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures() local
480 texInfo.m_depth = 2; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
481 texInfo.m_draw_buffer = GL_COLOR_ATTACHMENT0; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
482 texInfo.m_id = 0; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
483 texInfo.m_texture_target = GL_TEXTURE_3D; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
485 m_textures_info.push_back(texInfo); in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
487 texInfo.m_depth = 4; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
488 texInfo.m_draw_buffer = GL_COLOR_ATTACHMENT1; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
489 texInfo.m_id = 0; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
490 texInfo.m_texture_target = GL_TEXTURE_3D; in GeometryShaderLayeredRenderingBoundaryConditionVariousTextures()
[all …]
/external/skia/src/gpu/mock/
DGrMockGpu.cpp154 GrMockTextureInfo texInfo(ct, SkImage::CompressionType::kNone, NextInternalTextureID()); in onCreateTexture() local
159 mipMapsStatus, texInfo, rtInfo)); in onCreateTexture()
162 new GrMockTexture(this, budgeted, dimensions, isProtected, mipMapsStatus, texInfo)); in onCreateTexture()
185 GrMockTextureInfo texInfo(GrColorType::kUnknown, in onCreateCompressedTexture() local
190 new GrMockTexture(this, budgeted, dimensions, isProtected, mipMapsStatus, texInfo)); in onCreateCompressedTexture()
196 GrMockTextureInfo texInfo; in onWrapBackendTexture() local
197 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapBackendTexture()
199 SkImage::CompressionType compression = texInfo.compressionType(); in onWrapBackendTexture()
204 SkASSERT(colorType == texInfo.colorType()); in onWrapBackendTexture()
210 texInfo, wrapType, ioType)); in onWrapBackendTexture()
[all …]
DGrMockTexture.h158 const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
161 , GrMockTexture(gpu, dimensions, isProtected, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
172 const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
176 , GrMockTexture(gpu, dimensions, isProtected, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
/external/skqp/src/gpu/mock/
DGrMockGpu.cpp96 GrMockTextureInfo texInfo; in onCreateTexture() local
97 texInfo.fConfig = desc.fConfig; in onCreateTexture()
98 texInfo.fID = NextInternalTextureID(); in onCreateTexture()
104 texInfo, rtInfo)); in onCreateTexture()
106 return sk_sp<GrTexture>(new GrMockTexture(this, budgeted, desc, mipMapsStatus, texInfo)); in onCreateTexture()
135 GrMockTextureInfo texInfo; in onWrapRenderableBackendTexture() local
136 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapRenderableBackendTexture()
137 desc.fConfig = texInfo.fConfig; in onWrapRenderableBackendTexture()
143 rtInfo.fConfig = texInfo.fConfig; in onWrapRenderableBackendTexture()
148 new GrMockTextureRenderTarget(this, desc, mipMapsStatus, texInfo, rtInfo, cacheable)); in onWrapRenderableBackendTexture()
[all …]
DGrMockTexture.h160 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
163 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
170 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
173 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
/external/skqp/tests/
DEGLImageTest.cpp100 GrGLTextureInfo texInfo; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
101 if (!backendTexture1.getGLTextureInfo(&texInfo)) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
106 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
113 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
134 GR_GL_CALL(glCtx1->gl(), BindTexture(texInfo.fTarget, texInfo.fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
135 GR_GL_CALL(glCtx1->gl(), TexSubImage2D(texInfo.fTarget, 0, 0, 0, kSize, kSize, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/src/gpu/dawn/
DGrDawnUniformHandler.cpp260 UniformInfo& texInfo = fTextures.push_back(); in addSampler() local
261 texInfo.fVar.setType(textureType); in addSampler()
262 texInfo.fVar.setTypeModifier(GrShaderVar::kUniform_TypeModifier); in addSampler()
263 texInfo.fVar.setName(mangleTexName); in addSampler()
266 texInfo.fVar.addLayoutQualifier(texLayoutQualifier.c_str()); in addSampler()
267 texInfo.fVisibility = kFragment_GrShaderFlag; in addSampler()
268 texInfo.fUBOOffset = 0; in addSampler()
271 reference.printf("makeSampler2D(%s, %s)", texInfo.fVar.getName().c_str(), in addSampler()
/external/skia/tests/
DEGLImageTest.cpp100 GrGLTextureInfo texInfo; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
101 if (!backendTexture1.getGLTextureInfo(&texInfo)) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
106 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
113 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
134 GR_GL_CALL(glCtx1->gl(), BindTexture(texInfo.fTarget, texInfo.fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
135 GR_GL_CALL(glCtx1->gl(), TexSubImage2D(texInfo.fTarget, 0, 0, 0, kSize, kSize, in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skia/include/gpu/dawn/
DGrDawnTypes.h64 explicit GrDawnRenderTargetInfo(const GrDawnTextureInfo& texInfo) in GrDawnRenderTargetInfo()
65 : fFormat(texInfo.fFormat) in GrDawnRenderTargetInfo()
68 desc.format = texInfo.fFormat; in GrDawnRenderTargetInfo()
70 fTextureView = texInfo.fTexture.CreateView(&desc); in GrDawnRenderTargetInfo()
/external/skia/src/image/
DSkSurface_GpuMtl.mm48 GrProxyProvider::TextureInfo texInfo;
49 texInfo.fMipMapped = GrMipMapped::kNo;
50 texInfo.fTextureType = GrTextureType::k2D;
84 metalLayer.framebufferOnly ? nullptr : &texInfo,
122 GrProxyProvider::TextureInfo texInfo;
123 texInfo.fMipMapped = GrMipMapped::kNo;
124 texInfo.fTextureType = GrTextureType::k2D;
156 mtkView.framebufferOnly ? nullptr : &texInfo,
/external/skqp/src/gpu/gl/
DGrGLGpu.h394 bool createRenderTargetObjects(const GrSurfaceDesc&, const GrGLTextureInfo& texInfo,
DGrGLGpu.cpp1416 const GrGLTextureInfo& texInfo, in createRenderTargetObjects() argument
1484 texInfo.fTarget, in createRenderTargetObjects()
1485 texInfo.fID, 0, desc.fSampleCnt)); in createRenderTargetObjects()
1489 texInfo.fTarget, in createRenderTargetObjects()
1490 texInfo.fID, 0)); in createRenderTargetObjects()