Home
last modified time | relevance | path

Searched refs:mShadowCopy (Results 1 – 4 of 4) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/
DBufferGL.cpp39 mShadowCopy(), in BufferGL()
73 ANGLE_CHECK_GL_ALLOC(contextGL, mShadowCopy.resize(size)); in setData()
77 memcpy(mShadowCopy.data(), data, size); in setData()
105 memcpy(mShadowCopy.data() + offset, data, size); in setSubData()
135 ASSERT(sourceGL->mShadowCopy.size() >= static_cast<size_t>(sourceOffset + size)); in copySubData()
136 memcpy(mShadowCopy.data() + destOffset, sourceGL->mShadowCopy.data() + sourceOffset, size); in copySubData()
153 *mapPtr = mShadowCopy.data(); in map()
192 *mapPtr = mShadowCopy.data() + offset; in mapRange()
226 mMapSize, mShadowCopy.data() + mMapOffset)); in unmap()
259 *outRange = gl::ComputeIndexRange(type, mShadowCopy.data() + offset, count, in getIndexRange()
DBufferGL.h66 angle::MemoryBuffer mShadowCopy; variable
/external/angle/src/libANGLE/renderer/metal/
DBufferMtl.mm103 mShadowCopy.clear();
221 ASSERT(mShadowCopy.size());
228 std::copy(mShadowCopy.data() + offset, mShadowCopy.data() + offset + len, ptr);
312 memcpy(mShadowCopy.data(), ptr, size());
320 ASSERT(mShadowCopy.size());
324 return mShadowCopy.data();
472 ANGLE_MTL_CHECK(contextMtl, mShadowCopy.resize(adjustedSize), GL_OUT_OF_MEMORY);
478 std::copy(ptr, ptr + intendedSize, mShadowCopy.data());
492 ANGLE_MTL_CHECK(contextMtl, mShadowCopy.resize(0), GL_OUT_OF_MEMORY);
544 ASSERT(mShadowCopy.size());
[all …]
DBufferMtl.h189 angle::MemoryBuffer mShadowCopy; variable