Home
last modified time | relevance | path

Searched refs:texInfo (Results 1 – 13 of 13) 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.cpp114 GrMockTextureInfo texInfo(ct, SkImage::CompressionType::kNone, NextInternalTextureID()); in onCreateTexture() local
119 mipmapStatus, texInfo, rtInfo)); in onCreateTexture()
122 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateTexture()
145 GrMockTextureInfo texInfo(GrColorType::kUnknown, in onCreateCompressedTexture() local
150 new GrMockTexture(this, budgeted, dimensions, isProtected, mipmapStatus, texInfo)); in onCreateCompressedTexture()
157 GrMockTextureInfo texInfo; in onWrapBackendTexture() local
158 SkAssertResult(tex.getMockTextureInfo(&texInfo)); in onWrapBackendTexture()
160 SkImage::CompressionType compression = texInfo.compressionType(); in onWrapBackendTexture()
169 texInfo, wrapType, ioType)); in onWrapBackendTexture()
182 GrMockTextureInfo texInfo; in onWrapRenderableBackendTexture() local
[all …]
DGrMockTexture.h161 const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
164 , GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, texInfo) in GrMockTextureRenderTarget()
175 const GrMockTextureInfo& texInfo, in GrMockTextureRenderTarget() argument
179 , GrMockTexture(gpu, dimensions, isProtected, mipmapStatus, texInfo) in GrMockTextureRenderTarget()
/external/skia/tests/
DEGLImageTest.cpp96 GrGLTextureInfo texInfo; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
97 if (!mbet->texture().getGLTextureInfo(&texInfo)) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
102 if (GR_GL_TEXTURE_2D != texInfo.fTarget) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
109 image = glCtx1->texture2DToEGLImage(texInfo.fID); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
130 GR_GL_CALL(glCtx1->gl(), BindTexture(texInfo.fTarget, texInfo.fID)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
131 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/skia/src/image/
DSkSurface_GpuMtl.mm47 GrProxyProvider::TextureInfo texInfo;
48 texInfo.fMipmapped = GrMipmapped::kNo;
49 texInfo.fTextureType = GrTextureType::k2D;
79 metalLayer.framebufferOnly ? nullptr : &texInfo,
118 GrProxyProvider::TextureInfo texInfo;
119 texInfo.fMipmapped = GrMipmapped::kNo;
120 texInfo.fTextureType = GrTextureType::k2D;
149 mtkView.framebufferOnly ? nullptr : &texInfo,
/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/gpu/
DGrSPIRVUniformHandler.cpp270 UniformInfo& texInfo = fTextures.push_back(SPIRVUniformInfo{ in addSampler() local
281 reference.printf("makeSampler2D(%s, %s)", texInfo.fVariable.getName().c_str(), in addSampler()
DGrThreadSafeCache.cpp337 GrProxyProvider::TextureInfo texInfo{ GrMipMapped::kNo, GrTextureType::k2D }; in CreateLazyView() local
356 &texInfo, in CreateLazyView()
/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()