Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DTexture.cpp40 InitState DetermineInitState(const Context *context, const uint8_t *pixels) in DetermineInitState()
44 return InitState::Initialized; in DetermineInitState()
48 ? InitState::MayNeedInit in DetermineInitState()
49 : InitState::Initialized; in DetermineInitState()
108 mInitState(InitState::MayNeedInit), in TextureState()
500 : ImageDesc(Extents(0, 0, 0), Format::Invalid(), 0, GL_TRUE, InitState::Initialized) in ImageDesc()
503 ImageDesc::ImageDesc(const Extents &size, const Format &format, const InitState initState) in ImageDesc()
511 const InitState initState) in ImageDesc()
543 if (desc.initState == InitState::MayNeedInit) in setImageDesc()
545 mInitState = InitState::MayNeedInit; in setImageDesc()
[all …]
DImage.cpp111 gl::InitState ImageSibling::sourceEGLImageInitState() const in sourceEGLImageInitState()
117 void ImageSibling::setSourceEGLImageInitState(gl::InitState initState) const in setSourceEGLImageInitState()
201 gl::InitState ExternalImageSibling::initState(const gl::ImageIndex &imageIndex) const in initState()
203 return gl::InitState::Initialized; in initState()
206 void ExternalImageSibling::setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) in setInitState()
310 (sibling->initState(mState.imageIndex) == gl::InitState::MayNeedInit); in orphanSibling()
407 gl::InitState Image::sourceInitState() const in sourceInitState()
411 return mOrphanedAndNeedsInit ? gl::InitState::MayNeedInit : gl::InitState::Initialized; in sourceInitState()
417 void Image::setInitState(gl::InitState initState) in setInitState()
DImage.h48 gl::InitState sourceEGLImageInitState() const;
49 void setSourceEGLImageInitState(gl::InitState initState) const;
111 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
112 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
167 gl::InitState sourceInitState() const;
168 void setInitState(gl::InitState initState);
DRenderbuffer.cpp27 : mWidth(0), mHeight(0), mFormat(GL_RGBA4), mSamples(0), mInitState(InitState::MayNeedInit) in RenderbufferState()
56 InitState initState) in update()
62 mInitState = InitState::MayNeedInit; in update()
104 0, InitState::MayNeedInit); in setStorage()
121 static_cast<GLsizei>(samples), InitState::MayNeedInit); in setStorageMultisample()
256 InitState Renderbuffer::initState(const gl::ImageIndex & /*imageIndex*/) const in initState()
266 void Renderbuffer::setInitState(const gl::ImageIndex & /*imageIndex*/, InitState initState) in setInitState()
DRenderbuffer.h53 InitState initState);
61 InitState mInitState;
113 InitState initState(const ImageIndex &imageIndex) const override;
114 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
DTexture.h56 ImageDesc(const Extents &size, const Format &format, const InitState initState);
61 const InitState initState);
74 InitState initState;
169 InitState initState);
174 InitState initState);
205 InitState mInitState;
417 void signalDirtyStorage(InitState initState);
446 InitState initState(const ImageIndex &imageIndex) const override;
447 InitState initState() const { return mState.mInitState; } in initState()
448 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
DFramebufferAttachment.h46 enum class InitState enum
132 InitState initState() const;
134 void setInitState(InitState initState) const;
205 virtual InitState initState(const ImageIndex &imageIndex) const = 0;
206 virtual void setInitState(const ImageIndex &imageIndex, InitState initState) = 0;
DFramebufferAttachment.cpp259 InitState FramebufferAttachment::initState() const in initState()
261 return mResource ? mResource->initState(mTarget.textureIndex()) : InitState::Initialized; in initState()
268 setInitState(InitState::Initialized); in initializeContents()
272 void FramebufferAttachment::setInitState(InitState initState) const in setInitState()
DSurface.cpp68 mInitState(gl::InitState::Initialized) in Surface()
93 mInitState = gl::InitState::MayNeedInit; in Surface()
138 mInitState = gl::InitState::MayNeedInit; in postSwap()
481 gl::InitState Surface::initState(const gl::ImageIndex & /*imageIndex*/) const in initState()
486 void Surface::setInitState(const gl::ImageIndex & /*imageIndex*/, gl::InitState initState) in setInitState()
DSurface.h145 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
146 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
233 gl::InitState mInitState;
DFramebuffer.cpp216 if (attachment->initState() == InitState::MayNeedInit) in InitAttachment()
1839 mState.mResourceNeedsInit.set(dirtyBit, attachment->initState() == InitState::MayNeedInit); in updateAttachment()
1887 mState.mResourceNeedsInit.set(index, attachment->initState() == InitState::MayNeedInit); in onSubjectStateChange()
2222 colorAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2229 mState.mDepthAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2235 mState.mStencilAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2249 mState.mColorAttachments[bufferIndex].setInitState(InitState::Initialized); in markBufferInitialized()
2258 mState.mDepthAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
2267 mState.mStencilAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
2276 mState.mDepthAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
[all …]
/third_party/skia/third_party/externals/angle2/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()
152 mInitState(InitState::Initialized), in TextureState()
604 : ImageDesc(Extents(0, 0, 0), Format::Invalid(), 0, GL_TRUE, InitState::Initialized) in ImageDesc()
607 ImageDesc::ImageDesc(const Extents &size, const Format &format, const InitState initState) in ImageDesc()
615 const InitState initState) in ImageDesc()
647 if (desc.initState == InitState::MayNeedInit) in setImageDesc()
649 mInitState = InitState::MayNeedInit; in setImageDesc()
660 if (initDesc.initState == InitState::MayNeedInit) in setImageDesc()
[all …]
DImage.h48 gl::InitState sourceEGLImageInitState() const;
49 void setSourceEGLImageInitState(gl::InitState initState) const;
110 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
111 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
176 gl::InitState sourceInitState() const;
177 void setInitState(gl::InitState initState);
DImage.cpp116 gl::InitState ImageSibling::sourceEGLImageInitState() const in sourceEGLImageInitState()
122 void ImageSibling::setSourceEGLImageInitState(gl::InitState initState) const in setSourceEGLImageInitState()
229 gl::InitState ExternalImageSibling::initState(const gl::ImageIndex &imageIndex) const in initState()
231 return gl::InitState::Initialized; in initState()
234 void ExternalImageSibling::setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) in setInitState()
348 (sibling->initState(mState.imageIndex) == gl::InitState::MayNeedInit); in orphanSibling()
478 gl::InitState Image::sourceInitState() const in sourceInitState()
482 return mOrphanedAndNeedsInit ? gl::InitState::MayNeedInit : gl::InitState::Initialized; in sourceInitState()
488 void Image::setInitState(gl::InitState initState) in setInitState()
DRenderbuffer.h46 InitState getInitState() const;
57 InitState initState);
67 InitState mInitState;
152 InitState initState(const ImageIndex &imageIndex) const override;
153 void setInitState(const ImageIndex &imageIndex, InitState initState) override;
DRenderbuffer.cpp29 InitState DetermineInitState(const Context *context) in DetermineInitState()
31 return (context && context->isRobustResourceInitEnabled()) ? InitState::MayNeedInit in DetermineInitState()
32 : InitState::Initialized; in DetermineInitState()
44 mInitState(InitState::Initialized) in RenderbufferState()
74 InitState RenderbufferState::getInitState() const in getInitState()
84 InitState initState) in update()
362 InitState Renderbuffer::initState(const gl::ImageIndex & /*imageIndex*/) const in initState()
372 void Renderbuffer::setInitState(const gl::ImageIndex & /*imageIndex*/, InitState initState) in setInitState()
DTexture.h64 ImageDesc(const Extents &size, const Format &format, const InitState initState);
69 const InitState initState);
82 InitState initState;
175 InitState getInitState() const { return mInitState; } in getInitState()
198 InitState initState);
203 InitState initState);
245 InitState mInitState;
513 void signalDirtyStorage(InitState initState);
565 InitState initState(const ImageIndex &imageIndex) const override;
566 InitState initState() const { return mState.mInitState; } in initState()
[all …]
DFramebufferAttachment.h141 InitState initState() const;
143 void setInitState(InitState initState) const;
227 virtual InitState initState(const ImageIndex &imageIndex) const = 0;
228 virtual void setInitState(const ImageIndex &imageIndex, InitState initState) = 0;
DFramebufferAttachment.cpp290 InitState FramebufferAttachment::initState() const in initState()
292 return mResource ? mResource->initState(mTarget.textureIndex()) : InitState::Initialized; in initState()
299 setInitState(InitState::Initialized); in initializeContents()
303 void FramebufferAttachment::setInitState(InitState initState) const in setInitState()
DSurface.h176 gl::InitState initState(const gl::ImageIndex &imageIndex) const override;
177 void setInitState(const gl::ImageIndex &imageIndex, gl::InitState initState) override;
280 gl::InitState mInitState;
DSurface.cpp99 mInitState(gl::InitState::Initialized), in Surface()
127 mInitState = gl::InitState::MayNeedInit; in Surface()
175 mInitState = gl::InitState::MayNeedInit; in postSwap()
627 gl::InitState Surface::initState(const gl::ImageIndex & /*imageIndex*/) const in initState()
632 void Surface::setInitState(const gl::ImageIndex & /*imageIndex*/, gl::InitState initState) in setInitState()
DBuffer.h156 InitState initState() const { return InitState::Initialized; } in initState()
DFramebuffer.cpp297 if (attachment->initState() == InitState::MayNeedInit) in InitAttachment()
2032 mState.mResourceNeedsInit.set(dirtyBit, attachment->initState() == InitState::MayNeedInit); in updateAttachment()
2108 mState.mResourceNeedsInit.set(index, attachment->initState() == InitState::MayNeedInit); in onSubjectStateChange()
2432 colorAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2439 mState.mDepthAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2445 mState.mStencilAttachment.setInitState(InitState::Initialized); in markDrawAttachmentsInitialized()
2459 mState.mColorAttachments[bufferIndex].setInitState(InitState::Initialized); in markBufferInitialized()
2468 mState.mDepthAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
2477 mState.mStencilAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
2486 mState.mDepthAttachment.setInitState(InitState::Initialized); in markBufferInitialized()
[all …]
/third_party/cef/libcef/browser/net_service/
Dresource_request_handler_wrapper.cc223 struct InitState { struct in net_service::__anon1708476d0111::InterceptedRequestHandlerWrapper
224 InitState() {} in InitState() argument
226 ~InitState() { in ~InitState() argument
285 base::BindOnce(&InitState::DeleteDestructionObserverOnUIThread, in DeleteDestructionObserver()
332 void MaybeSetInitialized(std::unique_ptr<InitState> init_state) { in MaybeSetInitialized()
343 void SetInitialized(std::unique_ptr<InitState> init_state) { in SetInitialized()
379 void SetInitialized(std::unique_ptr<InitState> init_state) { in SetInitialized()
1267 std::unique_ptr<InitState> init_state_;
1312 std::make_unique<InterceptedRequestHandlerWrapper::InitState>(); in CreateInterceptedRequestHandler()
1388 std::make_unique<InterceptedRequestHandlerWrapper::InitState>(); in CreateInterceptedRequestHandler()
/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/
Dopencl_runtime.h36 enum InitState { UnInit = 0, InitSuccess = 1, InitFailed = 2 }; enum
166 static InitState init_state_;

12