Home
last modified time | relevance | path

Searched refs:dirtyBit (Results 1 – 23 of 23) sorted by relevance

/external/angle/src/libANGLE/
DVertexArray_unittest.cpp29 for (size_t dirtyBit : dirtyBits) in TEST() local
31 const size_t index = VertexArray::GetVertexIndexFromDirtyBit(dirtyBit); in TEST()
32 if (dirtyBit < VertexArray::DIRTY_BIT_ATTRIB_0) in TEST()
36 else if (dirtyBit < VertexArray::DIRTY_BIT_ATTRIB_MAX) in TEST()
38 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_ATTRIB_0, index); in TEST()
40 else if (dirtyBit < VertexArray::DIRTY_BIT_BINDING_MAX) in TEST()
42 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_BINDING_0, index); in TEST()
44 else if (dirtyBit < VertexArray::DIRTY_BIT_BUFFER_DATA_MAX) in TEST()
46 EXPECT_EQ(dirtyBit - VertexArray::DIRTY_BIT_BUFFER_DATA_0, index); in TEST()
DVertexArray.cpp207 size_t VertexArray::GetVertexIndexFromDirtyBit(size_t dirtyBit) in GetVertexIndexFromDirtyBit() argument
211 ASSERT(dirtyBit > DIRTY_BIT_ELEMENT_ARRAY_BUFFER); in GetVertexIndexFromDirtyBit()
212 return (dirtyBit - DIRTY_BIT_ATTRIB_0) % gl::MAX_VERTEX_ATTRIBS; in GetVertexIndexFromDirtyBit()
630 DirtyBitType dirtyBit = getDirtyBitFromIndex(contentsChanged, index); in setDependentDirtyBit() local
631 ASSERT(!mDirtyBitsGuard.valid() || mDirtyBitsGuard.value().test(dirtyBit)); in setDependentDirtyBit()
632 mDirtyBits.set(dirtyBit); in setDependentDirtyBit()
DFramebuffer.cpp697 bool FramebufferState::updateAttachmentFeedbackLoopAndReturnIfChanged(size_t dirtyBit) in updateAttachmentFeedbackLoopAndReturnIfChanged() argument
702 switch (dirtyBit) in updateAttachmentFeedbackLoopAndReturnIfChanged()
718 ASSERT(dirtyBit <= Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX); in updateAttachmentFeedbackLoopAndReturnIfChanged()
719 previous = mDrawBufferFeedbackLoops.test(dirtyBit); in updateAttachmentFeedbackLoopAndReturnIfChanged()
720 loop = mColorAttachments[dirtyBit].isBoundAsSamplerOrImage(mOwningContextID); in updateAttachmentFeedbackLoopAndReturnIfChanged()
721 mDrawBufferFeedbackLoops[dirtyBit] = loop; in updateAttachmentFeedbackLoopAndReturnIfChanged()
1925 size_t dirtyBit = DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex; in setAttachmentImpl() local
1926 updateAttachment(context, &mState.mColorAttachments[colorIndex], dirtyBit, in setAttachmentImpl()
1951 size_t dirtyBit, in updateAttachment() argument
1964 mDirtyBits.set(dirtyBit); in updateAttachment()
[all …]
DFramebuffer.h138 bool updateAttachmentFeedbackLoopAndReturnIfChanged(size_t dirtyBit);
449 size_t dirtyBit,
DVertexArray.h253 static size_t GetVertexIndexFromDirtyBit(size_t dirtyBit);
DTexture.h609 void signalDirtyState(size_t dirtyBit);
DTexture.cpp1033 void Texture::signalDirtyState(size_t dirtyBit) in signalDirtyState() argument
1035 mDirtyBits.set(dirtyBit); in signalDirtyState()
/external/angle/src/libANGLE/renderer/
DRenderTargetCache.h74 for (auto dirtyBit : dirtyBits) in update() local
76 switch (dirtyBit) in update()
94 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in update()
97 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in update()
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp279 for (auto dirtyBit : dirtyBits) in syncState() local
281 if ((dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0 && in syncState()
282 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) || in syncState()
283 dirtyBit == gl::Framebuffer::DIRTY_BIT_DRAW_BUFFERS) in syncState()
/external/angle/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp646 for (size_t dirtyBit : dirtyAttribBits) in syncDirtyAttrib() local
648 switch (dirtyBit) in syncDirtyAttrib()
682 for (size_t dirtyBit : dirtyBindingBits) in syncDirtyBinding() local
684 switch (dirtyBit) in syncDirtyBinding()
725 for (size_t dirtyBit : dirtyBits) in syncState() local
727 switch (dirtyBit) in syncState()
DProgramGL.cpp1134 for (size_t dirtyBit : dirtyBits) in syncState() local
1136 ASSERT(dirtyBit <= gl::Program::DIRTY_BIT_UNIFORM_BLOCK_BINDING_MAX); in syncState()
1137 GLuint binding = static_cast<GLuint>(dirtyBit); in syncState()
DFramebufferGL.cpp1205 for (auto dirtyBit : dirtyBits) in syncState() local
1207 switch (dirtyBit) in syncState()
1264 if (dirtyBit < Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1267 static_cast<size_t>(dirtyBit - Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
DTextureGL.cpp1337 for (auto dirtyBit : (dirtyBits | mLocalDirtyBits)) in syncState()
1340 switch (dirtyBit) in syncState()
/external/angle/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm233 for (size_t dirtyBit : dirtyBits)
235 switch (dirtyBit)
257 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX)
260 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0);
265 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 &&
266 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX);
DVertexArrayMtl.mm205 for (size_t dirtyBit : dirtyBits)
207 switch (dirtyBit)
DContextMtl.mm522 for (size_t dirtyBit : dirtyBits)
524 switch (dirtyBit)
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp1054 for (size_t dirtyBit : dirtyBits) in syncState() local
1056 switch (dirtyBit) in syncState()
1096 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1099 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
1104 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 && in syncState()
1105 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX); in syncState()
1107 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0); in syncState()
Dvk_cache_utils.h648 for (size_t dirtyBit : bitsA) in GraphicsPipelineTransitionMatch() local
650 if (rawPtrA[dirtyBit] != rawPtrB[dirtyBit]) in GraphicsPipelineTransitionMatch()
DVertexArrayVk.cpp448 for (size_t dirtyBit : dirtyBits) in syncState() local
450 switch (dirtyBit) in syncState()
DContextVk.cpp962 for (size_t dirtyBit : dirtyBits) in setupDraw() local
964 ASSERT(mGraphicsDirtyBitHandlers[dirtyBit]); in setupDraw()
965 ANGLE_TRY((this->*mGraphicsDirtyBitHandlers[dirtyBit])(context, *commandBufferOut)); in setupDraw()
1172 for (size_t dirtyBit : dirtyBits) in setupDispatch() local
1174 ASSERT(mComputeDirtyBitHandlers[dirtyBit]); in setupDispatch()
1175 ANGLE_TRY((this->*mComputeDirtyBitHandlers[dirtyBit])(context, *commandBufferOut)); in setupDispatch()
2725 size_t dirtyBit = *iter; in syncState() local
2726 switch (dirtyBit) in syncState()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp86 for (size_t dirtyBit : dirtyBits) in syncState() local
88 switch (dirtyBit) in syncState()
DStateManager11.cpp947 for (size_t dirtyBit : dirtyBits) in syncState() local
949 switch (dirtyBit) in syncState()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp122 for (auto dirtyBit : dirtyBits) in syncState() local
124 switch (dirtyBit) in syncState()
343 for (auto dirtyBit : mDirtyBits) in setBlendDepthRasterStates() local
345 switch (dirtyBit) in setBlendDepthRasterStates()