/external/angle/src/common/ |
D | PackedEnums.cpp | 33 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()
|
D | PackedGLEnums_autogen.cpp | 1999 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 <<()
|
D | PackedGLEnums_autogen.h | 507 _2D = 0, enumerator 535 _2D = 0, enumerator
|
/external/angle/src/libANGLE/ |
D | Image_unittest.cpp | 40 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()
|
D | ImageIndex.cpp | 39 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()
|
D | ImageIndexIterator_unittest.cpp | 35 EXPECT_EQ(TextureType::_2D, nextIndex.getType()); in TEST() 36 EXPECT_EQ(TextureTarget::_2D, nextIndex.getTarget()); in TEST()
|
D | ResourceManager_unittest.cpp | 50 mTextureManager->checkTextureAllocation(&mMockFactory, {1}, TextureType::_2D); in TEST_F()
|
D | validationES2.cpp | 177 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 …]
|
D | GLES1Renderer.cpp | 118 !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/ |
D | test_images_2D.cpp | 30 #pragma mark _2D read tests 107 #pragma mark _2D write tests 150 #pragma mark _2D get info tests
|
D | test_images_depth.cpp | 31 #pragma mark _2D depth read tests 96 #pragma mark _2D depth write tests
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | TextureStorage9.cpp | 168 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/ |
D | BlitGL.cpp | 309 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 …]
|
D | TextureGL.cpp | 271 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/ |
D | DynamicImage2DHLSL.cpp | 161 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()
|
D | TextureD3D.cpp | 889 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/ |
D | OverlayVk.cpp | 119 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()
|
D | RenderbufferVk.cpp | 106 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, format, imageSamples, in setStorageImpl() 121 contextVk, false, renderer->getMemoryProperties(), gl::TextureType::_2D, samples, in setStorageImpl()
|
D | ImageVk.cpp | 117 mImageTextureType = gl::TextureType::_2D; in initialize()
|
D | vk_utils.cpp | 631 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/ |
D | IOSurfaceSurfaceEAGL.mm | 180 stateManager->bindTexture(gl::TextureType::_2D, textureID); 365 stateManager->bindTexture(gl::TextureType::_2D, texture); 395 stateManager->bindTexture(gl::TextureType::_2D, texture);
|
D | WindowSurfaceEAGL.mm | 174 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture); 223 stateManager->bindTexture(gl::TextureType::_2D, texture.texture);
|
/external/angle/src/libANGLE/renderer/ |
D | TextureImpl_mock.h | 22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl()
|
/external/angle/src/libANGLE/renderer/gl/cgl/ |
D | WindowSurfaceCGL.mm | 205 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture); 254 stateManager->bindTexture(gl::TextureType::_2D, texture.texture);
|
/external/angle/src/libANGLE/renderer/metal/ |
D | ImageMtl.mm | 143 mImageTextureType = gl::TextureType::_2D;
|