Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/angle2/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.cpp204 size_t VertexArray::GetVertexIndexFromDirtyBit(size_t dirtyBit) in GetVertexIndexFromDirtyBit() argument
208 ASSERT(dirtyBit > DIRTY_BIT_ELEMENT_ARRAY_BUFFER); in GetVertexIndexFromDirtyBit()
209 return (dirtyBit - DIRTY_BIT_ATTRIB_0) % gl::MAX_VERTEX_ATTRIBS; in GetVertexIndexFromDirtyBit()
621 DirtyBitType dirtyBit = getDirtyBitFromIndex(contentsChanged, index); in setDependentDirtyBit() local
622 ASSERT(!mDirtyBitsGuard.valid() || mDirtyBitsGuard.value().test(dirtyBit)); in setDependentDirtyBit()
623 mDirtyBits.set(dirtyBit); in setDependentDirtyBit()
DFramebuffer.cpp1796 size_t dirtyBit = DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex; in setAttachmentImpl() local
1797 updateAttachment(context, &mState.mColorAttachments[colorIndex], dirtyBit, in setAttachmentImpl()
1826 size_t dirtyBit, in updateAttachment() argument
1838 mDirtyBits.set(dirtyBit); in updateAttachment()
1839 mState.mResourceNeedsInit.set(dirtyBit, attachment->initState() == InitState::MayNeedInit); in updateAttachment()
/third_party/skia/third_party/externals/angle2/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.cpp238 size_t VertexArray::GetVertexIndexFromDirtyBit(size_t dirtyBit) in GetVertexIndexFromDirtyBit() argument
242 ASSERT(dirtyBit > DIRTY_BIT_ELEMENT_ARRAY_BUFFER); in GetVertexIndexFromDirtyBit()
243 return (dirtyBit - DIRTY_BIT_ATTRIB_0) % gl::MAX_VERTEX_ATTRIBS; in GetVertexIndexFromDirtyBit()
706 DirtyBitType dirtyBit = getDirtyBitFromIndex(contentsChanged, index); in setDependentDirtyBit() local
707 ASSERT(!mDirtyBitsGuard.valid() || mDirtyBitsGuard.value().test(dirtyBit)); in setDependentDirtyBit()
708 mDirtyBits.set(dirtyBit); in setDependentDirtyBit()
DFramebuffer.cpp1990 size_t dirtyBit = DIRTY_BIT_COLOR_ATTACHMENT_0 + colorIndex; in setAttachmentImpl() local
1991 updateAttachment(context, &mState.mColorAttachments[colorIndex], dirtyBit, in setAttachmentImpl()
2018 size_t dirtyBit, in updateAttachment() argument
2031 mDirtyBits.set(dirtyBit); in updateAttachment()
2032 mState.mResourceNeedsInit.set(dirtyBit, attachment->initState() == InitState::MayNeedInit); in updateAttachment()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DRenderTargetCache.h72 for (auto dirtyBit : dirtyBits) in update() local
74 switch (dirtyBit) in update()
90 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in update()
93 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in update()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp601 for (size_t dirtyBit : dirtyAttribBits) in syncDirtyAttrib() local
603 switch (dirtyBit) in syncDirtyAttrib()
637 for (size_t dirtyBit : dirtyBindingBits) in syncDirtyBinding() local
639 switch (dirtyBit) in syncDirtyBinding()
680 for (size_t dirtyBit : dirtyBits) in syncState() local
682 switch (dirtyBit) in syncState()
DFramebufferGL.cpp1052 for (auto dirtyBit : dirtyBits) in syncState() local
1054 switch (dirtyBit) in syncState()
1111 if (dirtyBit < Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1114 static_cast<size_t>(dirtyBit - Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
DProgramGL.cpp1217 for (size_t dirtyBit : dirtyBits) in syncState() local
1219 ASSERT(dirtyBit <= gl::Program::DIRTY_BIT_UNIFORM_BLOCK_BINDING_MAX); in syncState()
1220 GLuint binding = static_cast<GLuint>(dirtyBit); in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp298 for (auto dirtyBit : dirtyBits) in syncState() local
300 if ((dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0 && in syncState()
301 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) || in syncState()
302 dirtyBit == gl::Framebuffer::DIRTY_BIT_DRAW_BUFFERS) in syncState()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp331 for (auto dirtyBit : dirtyBits) in syncState() local
333 if ((dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0 && in syncState()
334 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) || in syncState()
335 dirtyBit == gl::Framebuffer::DIRTY_BIT_DRAW_BUFFERS) in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DVertexArrayGL.cpp871 for (size_t dirtyBit : dirtyAttribBits) in syncDirtyAttrib() local
873 switch (dirtyBit) in syncDirtyAttrib()
909 for (size_t dirtyBit : dirtyBindingBits) in syncDirtyBinding() local
911 switch (dirtyBit) in syncDirtyBinding()
954 for (size_t dirtyBit : dirtyBits) in syncState() local
956 switch (dirtyBit) in syncState()
DFramebufferGL.cpp1262 for (auto dirtyBit : dirtyBits) in syncState() local
1264 switch (dirtyBit) in syncState()
1321 if (dirtyBit < Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1324 static_cast<size_t>(dirtyBit - Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); 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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp1068 for (size_t dirtyBit : dirtyBits) in syncState() local
1070 switch (dirtyBit) in syncState()
1090 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1093 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
1098 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 && in syncState()
1099 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX); in syncState()
1101 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0); in syncState()
Dvk_cache_utils.h638 for (size_t dirtyBit : bitsA) in GraphicsPipelineTransitionMatch() local
640 if (rawPtrA[dirtyBit] != rawPtrB[dirtyBit]) in GraphicsPipelineTransitionMatch()
DVertexArrayVk.cpp331 for (size_t dirtyBit : dirtyBits) in syncState() local
333 switch (dirtyBit) in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp86 for (size_t dirtyBit : dirtyBits) in syncState() local
88 switch (dirtyBit) in syncState()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DVertexArray11.cpp86 for (size_t dirtyBit : dirtyBits) in syncState() local
88 switch (dirtyBit) in syncState()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp121 for (auto dirtyBit : dirtyBits) in syncState() local
123 switch (dirtyBit) in syncState()
343 for (auto dirtyBit : mDirtyBits) in setBlendDepthRasterStates() local
345 switch (dirtyBit) in setBlendDepthRasterStates()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp1827 for (size_t dirtyBit : dirtyBits) in syncState() local
1829 switch (dirtyBit) in syncState()
1865 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX) in syncState()
1868 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0); in syncState()
1872 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 && in syncState()
1873 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX); in syncState()
1875 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0); in syncState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DFrameBufferMtl.mm620 for (size_t dirtyBit : dirtyBits)
622 switch (dirtyBit)
646 if (dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_MAX)
649 dirtyBit - gl::Framebuffer::DIRTY_BIT_COLOR_ATTACHMENT_0);
654 ASSERT(dirtyBit >= gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_0 &&
655 dirtyBit < gl::Framebuffer::DIRTY_BIT_COLOR_BUFFER_CONTENTS_MAX);

12