Home
last modified time | relevance | path

Searched refs:texInfo (Results 1 – 11 of 11) 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/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/skia/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.h130 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
133 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
140 GrMipMapsStatus mipMapsStatus, const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
143 , GrMockTexture(gpu, desc, mipMapsStatus, texInfo) in GrMockTextureRenderTarget()
/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/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/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()
/external/skia/src/gpu/gl/
DGrGLGpu.h406 bool createRenderTargetObjects(const GrSurfaceDesc&, const GrGLTextureInfo& texInfo,
DGrGLGpu.cpp1451 const GrGLTextureInfo& texInfo, in createRenderTargetObjects() argument
1519 texInfo.fTarget, in createRenderTargetObjects()
1520 texInfo.fID, 0, desc.fSampleCnt)); in createRenderTargetObjects()
1524 texInfo.fTarget, in createRenderTargetObjects()
1525 texInfo.fID, 0)); in createRenderTargetObjects()