/third_party/skia/third_party/externals/angle2/src/common/ |
D | PackedEnums.cpp | 16 TextureType TextureTargetToType(TextureTarget target) in TextureTargetToType() 26 return TextureType::CubeMap; in TextureTargetToType() 28 return TextureType::CubeMapArray; in TextureTargetToType() 30 return TextureType::External; in TextureTargetToType() 32 return TextureType::Rectangle; in TextureTargetToType() 34 return TextureType::_2D; in TextureTargetToType() 36 return TextureType::_2DArray; in TextureTargetToType() 38 return TextureType::_2DMultisample; in TextureTargetToType() 40 return TextureType::_2DMultisampleArray; in TextureTargetToType() 42 return TextureType::_3D; in TextureTargetToType() [all …]
|
D | PackedGLEnums_autogen.cpp | 2137 TextureType FromGLenum<TextureType>(GLenum from) in FromGLenum() 2142 return TextureType::_2D; in FromGLenum() 2144 return TextureType::_2DArray; in FromGLenum() 2146 return TextureType::_2DMultisample; in FromGLenum() 2148 return TextureType::_2DMultisampleArray; in FromGLenum() 2150 return TextureType::_3D; in FromGLenum() 2152 return TextureType::External; in FromGLenum() 2154 return TextureType::Rectangle; in FromGLenum() 2156 return TextureType::CubeMap; in FromGLenum() 2158 return TextureType::CubeMapArray; in FromGLenum() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ImageIndex.cpp | 68 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex) in TextureTypeToTarget() 70 if (type == TextureType::CubeMap) in TextureTypeToTarget() 84 : mType(TextureType::InvalidEnum), mLevelIndex(0), mLayerIndex(0), mLayerCount(kEntireLevel) in ImageIndex() 100 case TextureType::_2DArray: in isLayered() 101 case TextureType::_2DMultisampleArray: in isLayered() 102 case TextureType::CubeMap: in isLayered() 103 case TextureType::_3D: in isLayered() 104 case TextureType::CubeMapArray: in isLayered() 115 ASSERT(!hasLayer() || ((mType != TextureType::CubeMap) == usesTex3D())); in has3DLayer() 116 return (hasLayer() && mType != TextureType::CubeMap); in has3DLayer() [all …]
|
D | ImageIndex.h | 29 TextureType getType() const { return mType; } in getType() 55 static ImageIndex MakeFromType(TextureType type, 75 ImageIndex(TextureType type, GLint leveIndex, GLint layerIndex, GLint layerCount); 77 TextureType mType; 102 static ImageIndexIterator MakeGeneric(TextureType type, 113 ImageIndexIterator(TextureType type, 127 TextureTarget TextureTypeToTarget(TextureType type, GLint layerIndex);
|
D | Context_gles_3_2_autogen.h | 53 void getTexParameterIiv(TextureType targetPacked, GLenum pname, GLint *params); \ 54 void getTexParameterIuiv(TextureType targetPacked, GLenum pname, GLuint *params); \ 74 void texBuffer(TextureType targetPacked, GLenum internalformat, BufferID bufferPacked); \ 75 void texBufferRange(TextureType targetPacked, GLenum internalformat, BufferID bufferPacked, \ 77 void texParameterIiv(TextureType targetPacked, GLenum pname, const GLint *params); \ 78 void texParameterIuiv(TextureType targetPacked, GLenum pname, const GLuint *params); \ 79 void texStorage3DMultisample(TextureType targetPacked, GLsizei samples, GLenum internalformat, \
|
D | validationES.cpp | 634 bool ValidTextureTarget(const Context *context, TextureType type) in ValidTextureTarget() 638 case TextureType::_2D: in ValidTextureTarget() 639 case TextureType::CubeMap: in ValidTextureTarget() 642 case TextureType::Rectangle: in ValidTextureTarget() 645 case TextureType::_3D: in ValidTextureTarget() 649 case TextureType::_2DArray: in ValidTextureTarget() 652 case TextureType::_2DMultisample: in ValidTextureTarget() 655 case TextureType::_2DMultisampleArray: in ValidTextureTarget() 658 case TextureType::CubeMapArray: in ValidTextureTarget() 662 case TextureType::VideoImage: in ValidTextureTarget() [all …]
|
D | Context_gles_ext_autogen.h | 116 void bufferStorageMem(TextureType targetPacked, GLsizeiptr size, MemoryObjectID memoryPacked, \ 127 void texStorageMem2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ 130 void texStorageMem2DMultisample(TextureType targetPacked, GLsizei samples, \ 134 void texStorageMem3D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ 137 void texStorageMem3DMultisample(TextureType targetPacked, GLsizei samples, \ 240 void eGLImageTargetTexture2D(TextureType targetPacked, GLeglImageOES image); \ 338 void texStorageMemFlags2D(TextureType targetPacked, GLsizei levels, GLenum internalFormat, \ 343 TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \ 348 TextureType targetPacked, GLsizei levels, GLenum internalFormat, GLsizei width, \ 352 TextureType targetPacked, GLsizei samples, GLenum internalFormat, GLsizei width, \ [all …]
|
D | State.cpp | 99 bool IsTextureCompatibleWithSampler(TextureType texture, TextureType sampler) in IsTextureCompatibleWithSampler() 106 if (sampler == TextureType::VideoImage) in IsTextureCompatibleWithSampler() 108 if (texture == TextureType::VideoImage || texture == TextureType::_2D) in IsTextureCompatibleWithSampler() 486 mSamplerTextures[TextureType::_2D].resize(mCaps.maxCombinedTextureImageUnits); in initialize() 487 mSamplerTextures[TextureType::CubeMap].resize(mCaps.maxCombinedTextureImageUnits); in initialize() 490 mSamplerTextures[TextureType::_3D].resize(mCaps.maxCombinedTextureImageUnits); in initialize() 494 mSamplerTextures[TextureType::_2DArray].resize(mCaps.maxCombinedTextureImageUnits); in initialize() 498 mSamplerTextures[TextureType::_2DMultisample].resize(mCaps.maxCombinedTextureImageUnits); in initialize() 502 mSamplerTextures[TextureType::_2DMultisampleArray].resize( in initialize() 511 mSamplerTextures[TextureType::CubeMapArray].resize(mCaps.maxCombinedTextureImageUnits); in initialize() [all …]
|
D | ImageIndexIterator_unittest.cpp | 35 EXPECT_EQ(TextureType::_2D, nextIndex.getType()); in TEST() 63 EXPECT_EQ(TextureType::CubeMap, nextIndex.getType()); in TEST() 87 EXPECT_EQ(TextureType::_3D, nextIndex.getType()); in TEST() 115 EXPECT_EQ(TextureType::_2DArray, nextIndex.getType()); in TEST() 145 EXPECT_EQ(TextureType::_2DArray, nextIndex.getType()); in TEST()
|
D | Texture.cpp | 102 bool IsMipmapSupported(const TextureType &type) in IsMipmapSupported() 104 if (type == TextureType::_2DMultisample || type == TextureType::Buffer) in IsMipmapSupported() 136 TextureState::TextureState(TextureType type) in TextureState() 149 mImageDescs((IMPLEMENTATION_MAX_TEXTURE_LEVELS + 1) * (type == TextureType::CubeMap ? 6 : 1)), in TextureState() 195 if (mType == TextureType::_3D) in getMipmapMaxLevel() 237 ASSERT(mType == TextureType::CubeMap); in isCubeComplete() 264 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getBaseLevelDesc() 270 ASSERT(mType != TextureType::CubeMap || isCubeComplete()); in getLevelZeroDesc() 325 if (mType == TextureType::Buffer) in computeSamplerCompleteness() 344 if (mType == TextureType::CubeMap && baseImageDesc.size.width != baseImageDesc.size.height) in computeSamplerCompleteness() [all …]
|
D | validationES2.cpp | 196 TextureType textureType, in IsValidCopyTextureDestinationTarget() 202 bool IsValidCopyTextureSourceTarget(const Context *context, TextureType type) in IsValidCopyTextureSourceTarget() 206 case TextureType::_2D: in IsValidCopyTextureSourceTarget() 208 case TextureType::Rectangle: in IsValidCopyTextureSourceTarget() 210 case TextureType::External: in IsValidCopyTextureSourceTarget() 212 case TextureType::VideoImage: in IsValidCopyTextureSourceTarget() 219 bool IsValidCopyTextureSourceLevel(const Context *context, TextureType type, GLint level) in IsValidCopyTextureSourceLevel() 236 TextureType type, in IsValidCopyTextureDestinationLevel() 255 case TextureType::_2D: in IsValidCopyTextureDestinationLevel() 258 case TextureType::Rectangle: in IsValidCopyTextureDestinationLevel() [all …]
|
D | validationES32_autogen.h | 165 TextureType targetPacked, 170 TextureType targetPacked, 250 TextureType targetPacked, 255 TextureType targetPacked, 262 TextureType targetPacked, 267 TextureType targetPacked, 272 TextureType targetPacked,
|
D | validationESEXT_autogen.h | 171 TextureType targetPacked, 183 TextureType targetPacked, 196 TextureType targetPacked, 209 TextureType targetPacked, 334 TextureType targetPacked, 341 TextureType targetPacked, 408 TextureType targetPacked, 414 TextureType targetPacked, 704 TextureType targetPacked, 710 TextureType targetPacked, [all …]
|
D | ProgramExecutable.h | 27 SamplerBinding(TextureType textureTypeIn, 35 TextureType textureType; 48 ImageBinding(size_t count, TextureType textureTypeIn); 49 ImageBinding(GLuint imageUnit, size_t count, TextureType textureTypeIn); 54 TextureType textureType; 176 const ActiveTextureArray<TextureType> &getActiveSamplerTypes() const in getActiveSamplerTypes() 390 ActiveTextureArray<TextureType> mActiveSamplerTypes;
|
D | Context_gles_2_0_autogen.h | 20 void bindTexture(TextureType targetPacked, TextureID texturePacked); \ 79 void generateMipmap(TextureType targetPacked); \ 106 void getTexParameterfv(TextureType targetPacked, GLenum pname, GLfloat *params); \ 107 void getTexParameteriv(TextureType targetPacked, GLenum pname, GLint *params); \ 146 void texParameterf(TextureType targetPacked, GLenum pname, GLfloat param); \ 147 void texParameterfv(TextureType targetPacked, GLenum pname, const GLfloat *params); \ 148 void texParameteri(TextureType targetPacked, GLenum pname, GLint param); \ 149 void texParameteriv(TextureType targetPacked, GLenum pname, const GLint *params); \
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | DynamicImage2DHLSL.cpp | 135 std::string Image2DHLSLTextureString(Image2DHLSLGroup group, gl::TextureType type) in Image2DHLSLTextureString() 161 case gl::TextureType::_2D: in Image2DHLSLTextureString() 164 case gl::TextureType::_3D: in Image2DHLSLTextureString() 167 case gl::TextureType::_2DArray: in Image2DHLSLTextureString() 728 case gl::TextureType::_2D: in OutputHLSLImage2DUniformGroup() 731 case gl::TextureType::_3D: in OutputHLSLImage2DUniformGroup() 734 case gl::TextureType::_2DArray: in OutputHLSLImage2DUniformGroup() 735 case gl::TextureType::CubeMap: in OutputHLSLImage2DUniformGroup() 760 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_2D) << " " in OutputHLSLImage2DUniformGroup() 767 out << "uniform " << Image2DHLSLTextureString(textureGroup, gl::TextureType::_3D) << " " in OutputHLSLImage2DUniformGroup() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | renderergl_utils.h | 122 gl::TextureType type, 124 bool SupportsTexImage(gl::TextureType type); 125 bool UseTexImage2D(gl::TextureType textureType); 126 bool UseTexImage3D(gl::TextureType textureType); 127 GLenum GetTextureBindingQuery(gl::TextureType textureType); 128 GLenum GetTextureBindingTarget(gl::TextureType textureType); 132 gl::TextureType GetNativeTextureType(gl::TextureType type);
|
D | BlitGL.cpp | 269 gl::TextureType textureType, in copyImageToLUMAWorkaroundTexture() 298 gl::TextureType textureType, in copySubImageToLUMAWorkaroundTexture() 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() [all …]
|
D | TextureGL.h | 145 gl::TextureType type, 151 gl::TextureType type, 158 gl::TextureType type, 176 gl::TextureType type, 186 gl::TextureType type, 193 gl::TextureType getType() const; 270 gl::TextureType type,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | TextureImpl_mock.h | 22 MockTextureImpl() : TextureImpl(mMockState), mMockState(gl::TextureType::_2D) {} in MockTextureImpl() 95 angle::Result(const gl::Context *, gl::TextureType, size_t, GLenum, const gl::Extents &)); 98 gl::TextureType, 109 gl::TextureType, 113 angle::Result(const gl::Context *, gl::TextureType, egl::Image *)); 127 gl::TextureType,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 774 gl::TextureType Get2DTextureType(uint32_t layerCount, GLint samples) in Get2DTextureType() 780 return gl::TextureType::_2DMultisampleArray; in Get2DTextureType() 784 return gl::TextureType::_2DArray; in Get2DTextureType() 791 return gl::TextureType::_2DMultisample; in Get2DTextureType() 795 return gl::TextureType::_2D; in Get2DTextureType() 1460 VkImageType GetImageType(gl::TextureType textureType) in GetImageType() 1464 case gl::TextureType::_2D: in GetImageType() 1465 case gl::TextureType::_2DArray: in GetImageType() 1466 case gl::TextureType::_2DMultisample: in GetImageType() 1467 case gl::TextureType::_2DMultisampleArray: in GetImageType() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Sampler.hpp | 68 enum TextureType ENUM_UNDERLYING_TYPE_UNSIGNED_INT 149 TextureType textureType : BITS(TEXTURE_LAST); 175 void setTextureLevel(int face, int level, Surface *surface, TextureType type); 212 TextureType getTextureType() const; 221 TextureType textureType;
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeShaderImageLoadStoreTests.cpp | 118 …mageTypeDeclaration (const tcu::TextureFormat& format, glu::TextureTestUtil::TextureType imageType) in getShaderImageTypeDeclaration() 160 std::string getShaderImageTypeExtensionString (glu::TextureTestUtil::TextureType imageType) in getShaderImageTypeExtensionString() 189 std::string getShaderImageParamP (glu::TextureTestUtil::TextureType imageType) in getShaderImageParamP() 342 …ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, cons… in generateShaderSource() 370 …ImageOperation function, MemoryQualifier memory, glu::TextureTestUtil::TextureType imageType, cons… in testShader() 393 void image_store (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_store() 431 void image_load (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_load() 469 void image_atomic (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_atomic() 516 void image_atomic_exchange (NegativeTestContext& ctx, glu::TextureTestUtil::TextureType imageType) in image_atomic_exchange() 561 image_load(ctx, (glu::TextureTestUtil::TextureType)Type); in loadFuncWrapper() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | capture_gles_3_2_autogen.h | 169 TextureType targetPacked, 174 TextureType targetPacked, 255 TextureType targetPacked, 260 TextureType targetPacked, 267 TextureType targetPacked, 272 TextureType targetPacked, 277 TextureType targetPacked, 459 TextureType targetPacked, 465 TextureType targetPacked, 541 TextureType targetPacked, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | TextureNULL.h | 119 gl::TextureType type, 125 gl::TextureType type, 136 gl::TextureType type, 140 gl::TextureType type, 156 gl::TextureType type,
|