Home
last modified time | relevance | path

Searched refs:TextureState (Results 1 – 25 of 56) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DTexture.h104 class TextureState final : private angle::NonCopyable
107 TextureState(TextureType type);
108 ~TextureState();
184 friend bool operator==(const TextureState &a, const TextureState &b);
253 bool operator==(const TextureState &a, const TextureState &b);
254 bool operator!=(const TextureState &a, const TextureState &b);
340 const TextureState &getState() const { return mState; } in getState()
355 const TextureState &getTextureState() const;
665 TextureState mState;
701 inline bool operator==(const TextureState &a, const TextureState &b)
[all …]
DTexture.cpp136 TextureState::TextureState(TextureType type) in TextureState() function in gl::TextureState
158 TextureState::~TextureState() {} in ~TextureState()
160 bool TextureState::swizzleRequired() const in swizzleRequired()
165 GLuint TextureState::getEffectiveBaseLevel() const in getEffectiveBaseLevel()
179 GLuint TextureState::getEffectiveMaxLevel() const in getEffectiveMaxLevel()
191 GLuint TextureState::getMipmapMaxLevel() const in getMipmapMaxLevel()
210 bool TextureState::setBaseLevel(GLuint baseLevel) in setBaseLevel()
220 bool TextureState::setMaxLevel(GLuint maxLevel) in setMaxLevel()
235 bool TextureState::isCubeComplete() const in isCubeComplete()
262 const ImageDesc &TextureState::getBaseLevelDesc() const in getBaseLevelDesc()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DTexture.h48 enum class TextureState { OwnedInternal, OwnedExternal, Destroyed }; enum
50 TextureBase(DeviceBase* device, const TextureDescriptor* descriptor, TextureState state);
74 TextureState GetTextureState() const;
100 TextureBase(DeviceBase* device, TextureState state);
114 TextureState mState;
DTexture.cpp453 TextureState state) in TextureBase()
477 TextureBase::TextureBase(DeviceBase* device, TextureState state) in TextureBase()
487 mState = TextureState::Destroyed; in DestroyImpl()
560 TextureBase::TextureState TextureBase::GetTextureState() const { in GetTextureState()
609 DAWN_INVALID_IF(mState == TextureState::Destroyed, "Destroyed texture %s used in a submit.", in ValidateCanUseInSubmitNow()
DSwapChain.cpp286 TextureBase::TextureState::Destroyed); in ~NewSwapChainBase()
353 TextureBase::TextureState::Destroyed); in APIPresent()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseTextureTests.hpp48 struct TextureState struct
77 …static void getTextureLevelSize(GLint target, TextureState& state, GLint level, GLint& width, GLin…
235 TextureState mState;
/third_party/skia/third_party/externals/angle2/src/tests/
Dangle_unittests_utils.h38 TextureImpl *createTexture(const gl::TextureState &data) override { return nullptr; } in createTexture()
91 MOCK_METHOD1(createTexture, TextureImpl *(const gl::TextureState &));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTextureImpl.h34 class TextureState; variable
44 TextureImpl(const gl::TextureState &state);
247 const gl::TextureState &mState;
DGLImplFactory.h69 virtual TextureImpl *createTexture(const gl::TextureState &state) = 0;
DTextureImpl_mock.h143 gl::TextureState mMockState;
DTextureImpl.cpp13 TextureImpl::TextureImpl(const gl::TextureState &state) : mState(state) {} in TextureImpl()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp55 AcquireRef(new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal)); in GetTexture()
471 TextureMock textureMock(&mDevice, TextureBase::TextureState::OwnedInternal); in TEST_F()
479 TextureMock textureMock(&mDevice, TextureBase::TextureState::OwnedExternal); in TEST_F()
493 new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal); in TEST_F()
507 new TextureMock(&mDevice, TextureBase::TextureState::OwnedExternal); in TEST_F()
562 new TextureMock(&mDevice, TextureBase::TextureState::OwnedInternal); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DTextureD3D.h35 TextureD3D(const gl::TextureState &data, RendererD3D *renderer);
218 TextureD3D_2D(const gl::TextureState &data, RendererD3D *renderer);
352 TextureD3D_Cube(const gl::TextureState &data, RendererD3D *renderer);
482 TextureD3D_3D(const gl::TextureState &data, RendererD3D *renderer);
614 TextureD3D_2DArray(const gl::TextureState &data, RendererD3D *renderer);
752 TextureD3DImmutableBase(const gl::TextureState &data, RendererD3D *renderer);
807 TextureD3D_External(const gl::TextureState &data, RendererD3D *renderer);
849 TextureD3D_2DMultisample(const gl::TextureState &data, RendererD3D *renderer);
894 TextureD3D_2DMultisampleArray(const gl::TextureState &data, RendererD3D *renderer);
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DTextureMock.h27 TextureMock(DeviceBase* device, TextureBase::TextureState state) in TextureMock()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DTextureGL.cpp130 : Texture(device, descriptor, GenTexture(device->gl), TextureState::OwnedInternal) { in Texture()
185 TextureState state) in Texture()
195 if (GetTextureState() == TextureState::OwnedInternal) { in DestroyImpl()
539 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) { in TextureView()
DSwapChainGL.cpp44 TextureBase::TextureState::OwnedExternal); in GetNextTextureImpl()
DTextureGL.h33 TextureState state);
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DVertexProcessor.hpp86 struct TextureState struct
93 TextureState textureState[8];
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.cpp596 AcquireRef(new Texture(device, descriptor, TextureState::OwnedInternal)); in Create()
608 AcquireRef(new Texture(device, textureDescriptor, TextureState::OwnedInternal)); in CreateFromExternal()
618 AcquireRef(new Texture(device, descriptor, TextureState::OwnedExternal)); in CreateForSwapChain()
623 Texture::Texture(Device* device, const TextureDescriptor* descriptor, TextureState state) in Texture()
841 if (GetTextureState() == TextureState::OwnedInternal) { in DestroyImpl()
1305 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) { in Initialize()
DTextureVk.h103 Texture(Device* device, const TextureDescriptor* descriptor, TextureState state);
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp168 return AcquireRef(new Texture(this, descriptor, TextureBase::TextureState::OwnedInternal)); in CreateTextureImpl()
423 new Texture(GetDevice(), &textureDesc, TextureBase::TextureState::OwnedInternal)); in GetCurrentTextureViewImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DTextureD3D12.h91 Texture(Device* device, const TextureDescriptor* descriptor, TextureState state);
DTextureD3D12.cpp508 AcquireRef(new Texture(device, descriptor, TextureState::OwnedInternal)); in Create()
528 AcquireRef(new Texture(device, descriptor, TextureState::OwnedExternal)); in CreateExternalImage()
550 AcquireRef(new Texture(device, descriptor, TextureState::OwnedExternal)); in Create()
648 Texture::Texture(Device* device, const TextureDescriptor* descriptor, TextureState state) in Texture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DTextureMTL.mm423 AcquireRef(new Texture(device, descriptor, TextureState::OwnedInternal));
437 AcquireRef(new Texture(device, textureDescriptor, TextureState::OwnedInternal));
447 AcquireRef(new Texture(device, descriptor, TextureState::OwnedInternal));
735 if (GetTexture()->GetTextureState() == Texture::TextureState::Destroyed) {
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/
DTextureNULL.h21 TextureNULL(const gl::TextureState &state);

123