Home
last modified time | relevance | path

Searched refs:_2D (Results 1 – 25 of 57) sorted by relevance

123

/external/angle/src/common/
DPackedEnums.cpp33 case TextureTarget::_2D: in TextureTargetToType()
34 return TextureType::_2D; in TextureTargetToType()
68 case TextureType::_2D: in NonCubeTextureTypeToTarget()
69 return TextureTarget::_2D; in NonCubeTextureTypeToTarget()
132 return TextureType::_2D; in SamplerTypeToTextureType()
195 return TextureType::_2D; in ImageTypeToTextureType()
580 return gl::TextureTarget::_2D; in EGLImageTargetToTextureTarget()
604 return gl::TextureType::_2D; in EGLTextureTargetToTextureType()
DPackedGLEnums_autogen.cpp1999 return TextureTarget::_2D; in FromGLenum()
2039 case TextureTarget::_2D: in ToGLenum()
2081 case TextureTarget::_2D: in operator <<()
2142 return TextureType::_2D; in FromGLenum()
2172 case TextureType::_2D: in ToGLenum()
2204 case TextureType::_2D: in operator <<()
DPackedGLEnums_autogen.h507 _2D = 0, enumerator
535 _2D = 0, enumerator
/external/angle/src/libANGLE/
DImage_unittest.cpp40 gl::Texture *texture = new gl::Texture(&mockGLFactory, {1}, gl::TextureType::_2D); in TEST()
109 gl::Texture *texture = new gl::Texture(&mockGLFactory, {1}, gl::TextureType::_2D); in TEST()
119 texture->setImage(nullptr, defaultUnpackState, nullptr, gl::TextureTarget::_2D, 0, GL_RGBA8, in TEST()
145 texture->setImage(nullptr, defaultUnpackState, nullptr, gl::TextureTarget::_2D, 0, GL_RGBA8, in TEST()
DImageIndex.cpp39 case TextureTarget::_2D: in TextureTargetToLayer()
161 return ImageIndex(TextureType::_2D, levelIndex, kEntireLevel, 1); in Make2D()
244 ASSERT(mType != TextureType::_2D && !hasLayer()); in getLayerIterator()
252 return ImageIndexIterator(TextureType::_2D, Range<GLint>(minMip, maxMip), in Make2D()
DImageIndexIterator_unittest.cpp35 EXPECT_EQ(TextureType::_2D, nextIndex.getType()); in TEST()
36 EXPECT_EQ(TextureTarget::_2D, nextIndex.getTarget()); in TEST()
DResourceManager_unittest.cpp50 mTextureManager->checkTextureAllocation(&mMockFactory, {1}, TextureType::_2D); in TEST_F()
DvalidationES2.cpp177 case TextureTarget::_2D: in IsValidCopyTextureDestinationTargetEnum()
205 case TextureType::_2D: in IsValidCopyTextureSourceTarget()
253 case TextureType::_2D: in IsValidCopyTextureDestinationLevel()
978 case TextureType::_2D: in ValidateES2TexImageParametersBase()
1395 case TextureTarget::_2D: in ValidateES2TexImageParametersBase()
1440 case TextureTarget::_2D: in ValidateES2TexImageParametersBase()
1705 if (target != TextureType::_2D && target != TextureType::CubeMap && in ValidateES2TexStorageParametersBase()
1741 case TextureType::_2D: in ValidateES2TexStorageParametersBase()
1905 case TextureType::_2D: in ValidateES2TexStorageParametersBase()
1941 case TextureType::_2D: in ValidateES2TexStorageParametersBase()
[all …]
DGLES1Renderer.cpp118 !texCubeEnables[i] && (gles1State.isTextureTargetEnabled(i, TextureType::_2D)); in prepareForDraw()
120 Texture *curr2DTexture = glState->getSamplerTexture(i, TextureType::_2D); in prepareForDraw()
124 curr2DTexture->getFormat(TextureTarget::_2D, 0).info->internalFormat); in prepareForDraw()
129 static_cast<GLfloat>(curr2DTexture->getWidth(TextureTarget::_2D, 0)); in prepareForDraw()
131 static_cast<GLfloat>(curr2DTexture->getHeight(TextureTarget::_2D, 0)); in prepareForDraw()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_images_2D.cpp30 #pragma mark _2D read tests
107 #pragma mark _2D write tests
150 #pragma mark _2D get info tests
Dtest_images_depth.cpp31 #pragma mark _2D depth read tests
96 #pragma mark _2D depth write tests
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DTextureStorage9.cpp168 ASSERT(target == gl::TextureTarget::_2D); in getSurfaceLevel()
212 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, index.getLevelIndex(), false, in getRenderTarget()
235 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, sourceIndex.getLevelIndex(), false, in generateMipmap()
240 getSurfaceLevel(context, gl::TextureTarget::_2D, destIndex.getLevelIndex(), true, &lower)); in generateMipmap()
278 ANGLE_TRY(getSurfaceLevel(context, gl::TextureTarget::_2D, i, false, &srcSurf)); in copyToStorage()
281 ANGLE_TRY(dest9->getSurfaceLevel(context, gl::TextureTarget::_2D, i, true, &dstSurf)); in copyToStorage()
313 ASSERT(target == gl::TextureTarget::_2D); in getSurfaceLevel()
/external/angle/src/libANGLE/renderer/gl/
DBlitGL.cpp309 ANGLE_TRY(getBlitProgram(context, gl::TextureType::_2D, GL_FLOAT, GL_FLOAT, &blitProgram)); in copySubImageToLUMAWorkaroundTexture()
321 mStateManager->bindTexture(gl::TextureType::_2D, mScratchTextures[0]); in copySubImageToLUMAWorkaroundTexture()
340 mStateManager->bindTexture(gl::TextureType::_2D, mScratchTextures[1]); in copySubImageToLUMAWorkaroundTexture()
360 mStateManager->bindTexture(gl::TextureType::_2D, mScratchTextures[0]); in copySubImageToLUMAWorkaroundTexture()
449 ANGLE_TRY(getBlitProgram(context, gl::TextureType::_2D, GL_FLOAT, GL_FLOAT, &blitProgram)); in blitColorBufferWithShader()
490 mStateManager->bindTexture(gl::TextureType::_2D, textureId); in blitColorBufferWithShader()
539 mStateManager->bindTexture(gl::TextureType::_2D, textureId); in blitColorBufferWithShader()
577 ASSERT(source->getType() == gl::TextureType::_2D || in copySubTexture()
697 ASSERT(source->getType() == gl::TextureType::_2D || in copySubTextureCPUReadback()
725 gl::TextureType scratchTextureType = gl::TextureType::_2D; in copySubTextureCPUReadback()
[all …]
DTextureGL.cpp271 if (features.setZeroLevelBeforeGenerateMipmap.enabled && getType() == gl::TextureType::_2D && in setImageHelper()
955 ASSERT(sourceGL->getType() == gl::TextureType::_2D || in copySubTextureHelper()
973 !destSRGB && sourceGL->getType() == gl::TextureType::_2D) in copySubTextureHelper()
1054 if (getType() == gl::TextureType::_2D || getType() == gl::TextureType::Rectangle) in setStorage()
1334 features.encodeAndDecodeSRGBForGenerateMipmap.enabled && getType() == gl::TextureType::_2D) in generateMipmap()
1348 mState.getImageDesc(gl::TextureTarget::_2D, effectiveBaseLevel + levelIdx); in generateMipmap()
1381 ASSERT(getType() == gl::TextureType::_2D || getType() == gl::TextureType::Rectangle); in bindTexImage()
/external/angle/src/libANGLE/renderer/d3d/
DDynamicImage2DHLSL.cpp161 case gl::TextureType::_2D: in Image2DHLSLTextureString()
728 case gl::TextureType::_2D: in OutputHLSLImage2DUniformGroup()
760 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_2D) << " " in OutputHLSLImage2DUniformGroup()
796 case gl::TextureType::_2D: in OutputHLSLImage2DUniformGroup()
877 case gl::TextureType::_2D: in generateShaderForImage2DBindSignature()
DTextureD3D.cpp889 ASSERT(index.getType() == gl::TextureType::_2D || in getImage()
944 ASSERT((index.getTarget() == gl::TextureTarget::_2D || in setImage()
996 ASSERT(index.getTarget() == gl::TextureTarget::_2D && area.depth == 1 && area.z == 0); in setSubImage()
1027 ASSERT(index.getTarget() == gl::TextureTarget::_2D && size.depth == 1); in setCompressedImage()
1044 ASSERT(index.getTarget() == gl::TextureTarget::_2D && area.depth == 1 && area.z == 0); in setCompressedSubImage()
1056 ASSERT(index.getTarget() == gl::TextureTarget::_2D); in copyImage()
1120 ASSERT(index.getTarget() == gl::TextureTarget::_2D && destOffset.z == 0); in copySubImage()
1170 ASSERT(index.getTarget() == gl::TextureTarget::_2D); in copyTexture()
1191 ANGLE_TRY(mRenderer->copyTexture(context, source, sourceLevel, gl::TextureTarget::_2D, in copyTexture()
1229 ASSERT(index.getTarget() == gl::TextureTarget::_2D); in copySubTexture()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DOverlayVk.cpp119 mFontImage.init(contextVk, gl::TextureType::_2D, in createFont()
193 ANGLE_TRY(mCulledWidgets.init(contextVk, gl::TextureType::_2D, culledWidgetsExtent, in cullWidgets()
199 ANGLE_TRY(mCulledWidgets.initImageView(contextVk, gl::TextureType::_2D, in cullWidgets()
DRenderbufferVk.cpp106 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, format, imageSamples, in setStorageImpl()
121 contextVk, false, renderer->getMemoryProperties(), gl::TextureType::_2D, samples, in setStorageImpl()
DImageVk.cpp117 mImageTextureType = gl::TextureType::_2D; in initialize()
Dvk_utils.cpp631 return gl::TextureType::_2D; in Get2DTextureType()
1283 case gl::TextureType::_2D: in GetImageType()
1304 case gl::TextureType::_2D: in GetImageViewType()
/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm180 stateManager->bindTexture(gl::TextureType::_2D, textureID);
365 stateManager->bindTexture(gl::TextureType::_2D, texture);
395 stateManager->bindTexture(gl::TextureType::_2D, texture);
DWindowSurfaceEAGL.mm174 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
223 stateManager->bindTexture(gl::TextureType::_2D, texture.texture);
/external/angle/src/libANGLE/renderer/
DTextureImpl_mock.h22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl()
/external/angle/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm205 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
254 stateManager->bindTexture(gl::TextureType::_2D, texture.texture);
/external/angle/src/libANGLE/renderer/metal/
DImageMtl.mm143 mImageTextureType = gl::TextureType::_2D;

123