Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/angle2/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
/third_party/skia/third_party/externals/angle2/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()
DGLES1Renderer.cpp104 !texCubeEnables[i] && (gles1State.isTextureTargetEnabled(i, TextureType::_2D)); in prepareForDraw()
106 Texture *curr2DTexture = glState->getSamplerTexture(i, TextureType::_2D); in prepareForDraw()
110 curr2DTexture->getFormat(TextureTarget::_2D, 0).info->internalFormat); in prepareForDraw()
223 Texture *curr2DTexture = glState->getSamplerTexture(i, TextureType::_2D); in prepareForDraw()
229 static_cast<GLfloat>(curr2DTexture->getWidth(TextureTarget::_2D, 0)); in prepareForDraw()
231 static_cast<GLfloat>(curr2DTexture->getHeight(TextureTarget::_2D, 0)); in prepareForDraw()
DvalidationES2.cpp178 case TextureTarget::_2D: in IsValidCopyTextureDestinationTargetEnum()
206 case TextureType::_2D: in IsValidCopyTextureSourceTarget()
255 case TextureType::_2D: in IsValidCopyTextureDestinationLevel()
890 case TextureType::_2D: in ValidateES2TexImageParametersBase()
1249 case TextureTarget::_2D: in ValidateES2TexImageParametersBase()
1296 case TextureTarget::_2D: in ValidateES2TexImageParametersBase()
1569 if (target != TextureType::_2D && target != TextureType::CubeMap && in ValidateES2TexStorageParametersBase()
1605 case TextureType::_2D: in ValidateES2TexStorageParametersBase()
1673 case TextureType::_2D: in ValidateES2TexStorageParametersBase()
1702 case TextureType::_2D: in ValidateES2TexStorageParametersBase()
[all …]
/third_party/skia/third_party/externals/angle2/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()
DBlit9.cpp245 storage9->getSurfaceLevel(context, gl::TextureTarget::_2D, level, true, &destSurface)); in copy2D()
317 ANGLE_TRY(sourceStorage9->getSurfaceLevel(context, gl::TextureTarget::_2D, sourceLevel, true, in copyTexture()
/third_party/skia/third_party/externals/angle2/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()
1338 features.encodeAndDecodeSRGBForGenerateMipmap.enabled && getType() == gl::TextureType::_2D) in generateMipmap()
1352 mState.getImageDesc(gl::TextureTarget::_2D, effectiveBaseLevel + levelIdx); in generateMipmap()
1385 ASSERT(getType() == gl::TextureType::_2D || getType() == gl::TextureType::Rectangle); in bindTexImage()
/third_party/skia/third_party/externals/angle2/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.cpp896 ASSERT(index.getType() == gl::TextureType::_2D || in getImage()
951 ASSERT((index.getTarget() == gl::TextureTarget::_2D || in setImage()
1003 ASSERT(index.getTarget() == gl::TextureTarget::_2D && area.depth == 1 && area.z == 0); in setSubImage()
1034 ASSERT(index.getTarget() == gl::TextureTarget::_2D && size.depth == 1); in setCompressedImage()
1051 ASSERT(index.getTarget() == gl::TextureTarget::_2D && area.depth == 1 && area.z == 0); in setCompressedSubImage()
1063 ASSERT(index.getTarget() == gl::TextureTarget::_2D); in copyImage()
1126 ASSERT(index.getTarget() == gl::TextureTarget::_2D && destOffset.z == 0); in copySubImage()
1176 ASSERT(index.getTarget() == gl::TextureTarget::_2D); in copyTexture()
1197 ANGLE_TRY(mRenderer->copyTexture(context, source, sourceLevel, gl::TextureTarget::_2D, in copyTexture()
1235 ASSERT(index.getTarget() == gl::TextureTarget::_2D); in copySubTexture()
[all …]
/third_party/skia/third_party/externals/angle2/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.cpp107 ANGLE_TRY(mImage->initExternal(contextVk, gl::TextureType::_2D, extents, in setStorageImpl()
123 contextVk, false, renderer->getMemoryProperties(), gl::TextureType::_2D, samples, in setStorageImpl()
DImageVk.cpp121 mImageTextureType = gl::TextureType::_2D; in initialize()
/third_party/skia/third_party/externals/angle2/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);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTextureImpl_mock.h22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm205 mStateManager->bindTexture(gl::TextureType::_2D, mSwapState.textures[i].texture);
254 stateManager->bindTexture(gl::TextureType::_2D, texture.texture);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DImageMtl.mm148 mImageTextureType = gl::TextureType::_2D;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.cpp255 sm->bindTexture(gl::TextureType::_2D, mTexture); in getTexture()
685 sm->bindTexture(gl::TextureType::_2D, tex); in drawWithTexture()
/third_party/vixl/test/aarch64/
Dtest-simulator-aarch64.cc3136 TEST(mnemonic##_2D) { \
3141 TEST(mnemonic##_2D) { \
3152 TEST(mnemonic##_2D) { \
3271 TEST(mnemonic##_2D) { \
3299 TEST(mnemonic##_2D) { \
3305 TEST(mnemonic##2_2D) { \
3410 TEST(mnemonic##_2D) { \
3442 TEST(mnemonic##_2D) { \
3590 TEST(mnemonic##_2D) { \
3599 TEST(mnemonic##2_2D) { \
[all …]

123