Home
last modified time | relevance | path

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

/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.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()
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;
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.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()
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;
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 …]
Dqueryutils.cpp218 InitState::Initialized); in QueryTexLevelParameterBase()
366 pname, texture->initState() == InitState::Initialized); in QueryTexParameterBase()
482 texture->setInitState(ConvertToBool(params[0]) ? InitState::Initialized in SetTexParameterBase()
483 : InitState::MayNeedInit); in SetTexParameterBase()
686 pname, ConvertToGLBoolean(buffer->initState() == InitState::Initialized)); in QueryBufferParameterBase()
1457 *params = (renderbuffer->initState(ImageIndex()) == InitState::Initialized); in QueryRenderbufferiv()
DResourceManager.cpp247 texture.second->signalDirtyStorage(InitState::MayNeedInit); in signalAllTexturesDirty()
DState.cpp689 if (mRobustResourceInit && texture->initState() == InitState::MayNeedInit) in setActiveTextureDirty()
3556 if (mRobustResourceInit && image->initState() == InitState::MayNeedInit) in onProgramExecutableChange()
3596 if (mRobustResourceInit && image->initState() == InitState::MayNeedInit) in onProgramPipelineExecutableChange()
3688 if (mRobustResourceInit && image.texture->initState() == InitState::MayNeedInit) in onImageStateChange()
Dangletypes.h47 enum class InitState enum
DContext.cpp3404 zeroTexture->signalDirtyStorage(InitState::Initialized); in reinitializeAfterExtensionsChanged()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils.cpp59 const char *InitStateToString(gl::InitState state) in InitStateToString()
63 ENUM_TO_STRING(gl::InitState, Initialized); in InitStateToString()
64 ENUM_TO_STRING(gl::InitState, MayNeedInit); in InitStateToString()
313 if (framebufferAttachment.initState() == gl::InitState::Initialized) in SerializeFramebufferAttachment()
783 if (renderbuffer->initState(gl::ImageIndex()) == gl::InitState::Initialized) in SerializeRenderbuffer()
1225 if (texture->getState().getInitState() == gl::InitState::Initialized) in SerializeTextureData()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Ddemangle.cc256 static void InitState(State *state, const char *mangled, char *out, in InitState() function
1952 InitState(&state, mangled, out, out_size); in Demangle()