Home
last modified time | relevance | path

Searched refs:InitState (Results 1 – 25 of 48) sorted by relevance

12

/external/angle/src/libANGLE/
DTexture.cpp44 InitState DetermineInitState(const Context *context, Buffer *unpackBuffer, const uint8_t *pixels) in DetermineInitState()
49 return InitState::Initialized; in DetermineInitState()
52 return (!pixels && !unpackBuffer) ? InitState::MayNeedInit : InitState::Initialized; in DetermineInitState()
150 mInitState(InitState::Initialized), in TextureState()
602 : ImageDesc(Extents(0, 0, 0), Format::Invalid(), 0, GL_TRUE, InitState::Initialized) in ImageDesc()
605 ImageDesc::ImageDesc(const Extents &size, const Format &format, const InitState initState) in ImageDesc()
613 const InitState initState) in ImageDesc()
645 if (desc.initState == InitState::MayNeedInit) in setImageDesc()
647 mInitState = InitState::MayNeedInit; in setImageDesc()
658 if (initDesc.initState == InitState::MayNeedInit) in setImageDesc()
[all …]
DImage.h48 gl::InitState sourceEGLImageInitState() const;
49 void setSourceEGLImageInitState(gl::InitState initState) const;
107 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
108 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
171 gl::InitState sourceInitState() const;
172 void setInitState(gl::InitState initState);
DImage.cpp113 gl::InitState ImageSibling::sourceEGLImageInitState() const in sourceEGLImageInitState()
119 void ImageSibling::setSourceEGLImageInitState(gl::InitState initState) const in setSourceEGLImageInitState()
216 gl::InitState ExternalImageSibling::initState(const gl::ImageIndex &imageIndex) const in initState()
218 return gl::InitState::Initialized; in initState()
221 void ExternalImageSibling::setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) in setInitState()
334 (sibling->initState(mState.imageIndex) == gl::InitState::MayNeedInit); in orphanSibling()
457 gl::InitState Image::sourceInitState() const in sourceInitState()
461 return mOrphanedAndNeedsInit ? gl::InitState::MayNeedInit : gl::InitState::Initialized; in sourceInitState()
467 void Image::setInitState(gl::InitState initState) in setInitState()
DRenderbuffer.cpp37 mInitState(InitState::Initialized) in RenderbufferState()
67 InitState RenderbufferState::getInitState() const in getInitState()
77 InitState initState) in update()
84 mInitState = InitState::MayNeedInit; in update()
129 InitState::MayNeedInit); in setStorage()
151 mState.update(width, height, Format(internalformat), samples, mode, InitState::MayNeedInit); in setStorageMultisample()
339 InitState Renderbuffer::initState(const gl::ImageIndex & /*imageIndex*/) const in initState()
349 void Renderbuffer::setInitState(const gl::ImageIndex & /*imageIndex*/, InitState initState) in setInitState()
DRenderbuffer.h46 InitState getInitState() const;
56 InitState initState);
65 InitState mInitState;
150 InitState initState(const ImageIndex &imageIndex) const override;
151 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
DTexture.h64 ImageDesc(const Extents &size, const Format &format, const InitState initState);
69 const InitState initState);
82 InitState initState;
173 InitState getInitState() const { return mInitState; } in getInitState()
196 InitState initState);
201 InitState initState);
239 InitState mInitState;
503 void signalDirtyStorage(InitState initState);
548 InitState initState(const ImageIndex &imageIndex) const override;
549 InitState initState() const { return mState.mInitState; } in initState()
[all …]
DFramebufferAttachment.h144 InitState initState() const;
146 void setInitState(InitState initState) const;
221 virtual InitState initState(const ImageIndex &imageIndex) const = 0;
222 virtual void setInitState(const ImageIndex &imageIndex, InitState initState) = 0;
DFramebufferAttachment.cpp267 InitState FramebufferAttachment::initState() const in initState()
269 return mResource ? mResource->initState(mTarget.textureIndex()) : InitState::Initialized; in initState()
276 setInitState(InitState::Initialized); in initializeContents()
280 void FramebufferAttachment::setInitState(InitState initState) const in setInitState()
DSurface.h163 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
164 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
264 gl::InitState mInitState;
DSurface.cpp91 mInitState(gl::InitState::Initialized), in Surface()
121 mInitState = gl::InitState::MayNeedInit; in Surface()
169 mInitState = gl::InitState::MayNeedInit; in postSwap()
616 gl::InitState Surface::initState(const gl::ImageIndex & /*imageIndex*/) const in initState()
621 void Surface::setInitState(const gl::ImageIndex & /*imageIndex*/, gl::InitState initState) in setInitState()
DBuffer.h140 InitState initState() const { return InitState::Initialized; } in initState()
DFramebuffer.cpp294 if (attachment->initState() == InitState::MayNeedInit) in InitAttachment()
2024 mState.mResourceNeedsInit.set(dirtyBit, attachment->initState() == InitState::MayNeedInit); in updateAttachment()
2092 mState.mResourceNeedsInit.set(index, attachment->initState() == InitState::MayNeedInit); in onSubjectStateChange()
2416 colorAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2423 mState.mDepthAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2429 mState.mStencilAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2443 mState.mColorAttachments[bufferIndex].setInitState(InitState::Initialized); in markBufferInitialized()
2452 mState.mDepthAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
2461 mState.mStencilAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
2470 mState.mDepthAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
[all …]
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dtsd_exclusive.h22 } InitState : 2; member
42 if (LIKELY(State.InitState != ThreadState::NotInitialized)) in initThreadMaybe()
48 if (LIKELY(State.InitState == ThreadState::Initialized && in getTSDAndLock()
100 State.InitState = ThreadState::Initialized; in initThread()
136 TSDRegistryT::State.InitState = ThreadState::TornDown; in teardownThread()
/external/scudo/standalone/
Dtsd_exclusive.h22 } InitState : 2; member
56 if (LIKELY(State.InitState != ThreadState::NotInitialized)) in initThreadMaybe()
62 if (LIKELY(State.InitState == ThreadState::Initialized && in getTSDAndLock()
107 State.InitState = ThreadState::Initialized; in initThread()
143 TSDRegistryT::State.InitState = ThreadState::TornDown; in teardownThread()
/external/clang/test/Analysis/
Dptr-arith.cpp82 void InitState(int* state) { in InitState() function
94 InitState(maybeArray); in checkConditionalArray()
/external/llvm-project/clang/test/Analysis/
Dptr-arith.cpp82 void InitState(int* state) { in InitState() function
94 InitState(maybeArray); in checkConditionalArray()
/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dhexagon_delegate.cc144 void TfLiteHexagonInit() { tflite::HexagonDelegateKernel::InitState(); } in TfLiteHexagonInit()
152 tflite::HexagonDelegateKernel::InitState(); in TfLiteHexagonInitWithPath()
Dhexagon_delegate_kernel.h61 static void InitState();
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.h472 void InitState();
486 helper.InitState();
528 void InitState();
542 helper.InitState();
593 void InitState();
607 helper.InitState();
626 helper.InitState();
Dvklayertests_pipeline_shader.cpp91 pipe.InitState(); in TEST_F()
110 pipe.InitState(); in TEST_F()
137 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
150 pipe.InitState(); in TEST_F()
1087 helper.InitState(); in TEST_F()
1114 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1193 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1225 pipe.InitState(); in TEST_F()
1367 ASSERT_NO_FATAL_FAILURE(InitState(&device_features)); in TEST_F()
1405 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
[all …]
Dvkpositivelayertests.cpp47 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
780 pipe.InitState(); in TEST_F()
835 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1106 pipe.InitState(); in TEST_F()
1125 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1191 ASSERT_NO_FATAL_FAILURE(InitState(nullptr, &set_features2)); in TEST_F()
1273 ASSERT_NO_FATAL_FAILURE(InitState(nullptr, &set_features2)); in TEST_F()
1313 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1433 pipe.InitState(); in TEST_F()
1451 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
[all …]
Dvklayertests_others.cpp214 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
329 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
594 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
851 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
981 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1201 …ASSERT_NO_FATAL_FAILURE(InitState(nullptr, &create_device_pnext, VK_COMMAND_POOL_CREATE_RESET_COMM… in TEST_F()
1369 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1691 pipe.InitState(); in TEST_F()
1880 pipe.InitState(); in TEST_F()
2025 pipe.InitState(); in TEST_F()
[all …]
Dvklayertests_descriptor_renderpass_framebuffer.cpp65 ASSERT_NO_FATAL_FAILURE(InitState(nullptr, &features2, pool_flags)); in TEST_F()
564 ASSERT_NO_FATAL_FAILURE(InitState(nullptr, &features2, pool_flags)); in TEST_F()
1575 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1607 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1659 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1691 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1736 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1927 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
1973 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
2021 ASSERT_NO_FATAL_FAILURE(InitState()); in TEST_F()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp80 ProgramStateRef InitState) { in ExecuteWorkList() argument
105 if (!InitState) in ExecuteWorkList()
106 InitState = ExprEng.getInitialState(L); in ExecuteWorkList()
109 ExplodedNode *Node = G.getNode(StartLoc, InitState, false, &IsNew); in ExecuteWorkList()
198 ProgramStateRef InitState, in ExecuteWorkListWithInitialState() argument
200 bool DidNotFinish = ExecuteWorkList(L, Steps, InitState); in ExecuteWorkListWithInitialState()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp166 ProgramStateRef InitState) { in ExecuteWorkList() argument
194 if (!InitState) in ExecuteWorkList()
195 InitState = SubEng.getInitialState(L); in ExecuteWorkList()
198 ExplodedNode *Node = G.getNode(StartLoc, InitState, false, &IsNew); in ExecuteWorkList()
286 ProgramStateRef InitState, in ExecuteWorkListWithInitialState() argument
288 bool DidNotFinish = ExecuteWorkList(L, Steps, InitState); in ExecuteWorkListWithInitialState()

12