Home
last modified time | relevance | path

Searched refs:dirtyBit (Results 1 – 24 of 24) 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.cpp220 size_t VertexArray::GetVertexIndexFromDirtyBit(size_t dirtyBit) in GetVertexIndexFromDirtyBit() argument
224 ASSERT(dirtyBit > DIRTY_BIT_ELEMENT_ARRAY_BUFFER); in GetVertexIndexFromDirtyBit()
225 return (dirtyBit - DIRTY_BIT_ATTRIB_0) % gl::MAX_VERTEX_ATTRIBS; in GetVertexIndexFromDirtyBit()
666 DirtyBitType dirtyBit = getDirtyBitFromIndex(contentsChanged, index); in setDependentDirtyBit() local
667 ASSERT(!mDirtyBitsGuard.valid() || mDirtyBitsGuard.value().test(dirtyBit)); in setDependentDirtyBit()
668 mDirtyBits.set(dirtyBit); in setDependentDirtyBit()
DFramebuffer.cpp1982 size_t dirtyBit = DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex; in setAttachmentImpl() local
1983 updateAttachment(context, &mState.mColorAttachments[colorIndex], dirtyBit, in setAttachmentImpl()
2010 size_t dirtyBit, in updateAttachment() argument
2023 mDirtyBits.set(dirtyBit); in updateAttachment()
2024 mState.mResourceNeedsInit.set(dirtyBit, attachment->initState() == InitState::MayNeedInit); in updateAttachment()
DVertexArray.h269 static size_t GetVertexIndexFromDirtyBit(size_t dirtyBit);
DFramebuffer.h470 size_t dirtyBit,
DTexture.h641 void signalDirtyState(size_t dirtyBit);
DTexture.cpp1170 void Texture::signalDirtyState(size_t dirtyBit) in signalDirtyState() argument
1172 mDirtyBits.set(dirtyBit); in signalDirtyState()
/external/angle/src/libANGLE/renderer/
DRenderTargetCache.h73 for (auto dirtyBit : dirtyBits) in update() local
75 switch (dirtyBit) in update()
93 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in update()
96 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in update()
/external/angle/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp299 for (auto dirtyBit : dirtyBits) in syncState() local
301 if ((dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0 && in syncState()
302 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) || in syncState()
303 dirtyBit == gl::Framebuffer::DIRTY_BIT_DRAW_BUFFERS) in syncState()
/external/angle/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp838 for (size_t dirtyBit : dirtyAttribBits) in syncDirtyAttrib() local
840 switch (dirtyBit) in syncDirtyAttrib()
874 for (size_t dirtyBit : dirtyBindingBits) in syncDirtyBinding() local
876 switch (dirtyBit) in syncDirtyBinding()
918 for (size_t dirtyBit : dirtyBits) in syncState() local
920 switch (dirtyBit) in syncState()
DProgramGL.cpp1159 for (size_t dirtyBit : dirtyBits) in syncState() local
1161 ASSERT(dirtyBit <= gl::Program::DIRTY_BIT_UNIFORM_BLOCK_BINDING_MAX); in syncState()
1162 GLuint binding = static_cast<GLuint>(dirtyBit); in syncState()
DFramebufferGL.cpp1261 for (auto dirtyBit : dirtyBits) in syncState() local
1263 switch (dirtyBit) in syncState()
1320 if (dirtyBit < Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1323 static_cast<size_t>(dirtyBit - Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
DTextureGL.cpp1447 for (auto dirtyBit : syncDirtyBits) in syncState() local
1450 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.cpp949 for (size_t dirtyBit : dirtyBits) in syncState() local
951 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()
/external/angle/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp1799 for (size_t dirtyBit : dirtyBits) in syncState() local
1801 switch (dirtyBit) in syncState()
1836 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1839 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
1843 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 && in syncState()
1844 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX); in syncState()
1846 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0); in syncState()
Dvk_cache_utils.h959 for (size_t dirtyBit : bitsA) in GraphicsPipelineTransitionMatch() local
961 if (rawPtrA[dirtyBit] != rawPtrB[dirtyBit]) in GraphicsPipelineTransitionMatch()
DVertexArrayVk.cpp477 for (size_t dirtyBit : dirtyBits) in syncState() local
479 switch (dirtyBit) in syncState()
DContextVk.cpp1138 for (size_t dirtyBit : dirtyBits) in setupDispatch() local
1140 ASSERT(mComputeDirtyBitHandlers[dirtyBit]); in setupDispatch()
1141 ANGLE_TRY((this->*mComputeDirtyBitHandlers[dirtyBit])()); in setupDispatch()
3490 size_t dirtyBit = *iter; in syncState() local
3491 switch (dirtyBit) in syncState()
/external/angle/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm563 for (size_t dirtyBit : dirtyBits)
565 switch (dirtyBit)
589 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX)
592 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0);
597 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 &&
598 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX);
DVertexArrayMtl.mm249 for (size_t dirtyBit : dirtyBits)
251 switch (dirtyBit)
DContextMtl.mm854 for (size_t dirtyBit : mergedDirtyBits)
856 switch (dirtyBit)
DTextureMtl.mm1286 for (size_t dirtyBit : dirtyBits)
1288 switch (dirtyBit)