Home
last modified time | relevance | path

Searched refs:sourceBuffer (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp390 …void Device::copyBuffer(byte *sourceBuffer, byte *destBuffer, unsigned int width, unsigned int hei… in copyBuffer() argument
396 sourceBuffer += (height - 1) * sourcePitch; in copyBuffer()
397 for(unsigned int y = 0; y < height; ++y, sourceBuffer -= sourcePitch, destBuffer += destPitch) in copyBuffer()
399 byte *srcX = sourceBuffer + (width - 1) * bytes; in copyBuffer()
409 for(unsigned int y = 0; y < height; ++y, sourceBuffer += sourcePitch, destBuffer += destPitch) in copyBuffer()
411 byte *srcX = sourceBuffer + (width - 1) * bytes; in copyBuffer()
426 sourceBuffer += (height - 1) * sourcePitch; in copyBuffer()
427 for(unsigned int y = 0; y < height; ++y, sourceBuffer -= sourcePitch, destBuffer += destPitch) in copyBuffer()
429 memcpy(destBuffer, sourceBuffer, widthB); in copyBuffer()
434 for(unsigned int y = 0; y < height; ++y, sourceBuffer += sourcePitch, destBuffer += destPitch) in copyBuffer()
[all …]
DDevice.hpp91 …void copyBuffer(sw::byte *sourceBuffer, sw::byte *destBuffer, unsigned int width, unsigned int hei…
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
Drsa.js320 function copyBuffer(sourceBuffer) { argument
321 var source = new Uint8Array(sourceBuffer);
322 var copy = new Uint8Array(sourceBuffer.byteLength)
349 function copyBuffer(sourceBuffer) { argument
350 var source = new Uint8Array(sourceBuffer);
351 var copy = new Uint8Array(sourceBuffer.byteLength)
Daes.js296 function copyBuffer(sourceBuffer) { argument
297 var source = new Uint8Array(sourceBuffer);
298 var copy = new Uint8Array(sourceBuffer.byteLength)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DBuffer9.cpp102 Buffer9 *sourceBuffer = GetAs<Buffer9>(source); in copySubData() local
103 ASSERT(sourceBuffer); in copySubData()
105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
/third_party/node/test/fixtures/wpt/WebCryptoAPI/digest/
Ddigest.https.any.js126 function copyBuffer(sourceBuffer) { argument
127 var source = new Uint8Array(sourceBuffer);
128 var copy = new Uint8Array(sourceBuffer.byteLength)
/third_party/skia/src/pdf/
DSkPDFType1Font.cpp144 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1)); in convert_type1_font_stream() local
145 (void)srcStream->read(sourceBuffer.get(), srcLen); in convert_type1_font_stream()
146 sourceBuffer[SkToInt(srcLen)] = 0; in convert_type1_font_stream()
147 const uint8_t* src = sourceBuffer.get(); in convert_type1_font_stream()
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
Dhmac.js321 function copyBuffer(sourceBuffer) { argument
322 var source = new Uint8Array(sourceBuffer);
323 var copy = new Uint8Array(sourceBuffer.byteLength)
Deddsa.js405 function copyBuffer(sourceBuffer) { argument
406 var source = new Uint8Array(sourceBuffer);
407 var copy = new Uint8Array(sourceBuffer.byteLength)
Drsa.js409 function copyBuffer(sourceBuffer) { argument
410 var source = new Uint8Array(sourceBuffer);
411 var copy = new Uint8Array(sourceBuffer.byteLength)
Decdsa.js480 function copyBuffer(sourceBuffer) { argument
481 var source = new Uint8Array(sourceBuffer);
482 var copy = new Uint8Array(sourceBuffer.byteLength)
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferDD.cpp357 void *sourceBuffer = DDSD.lpSurface; in screenshot() local
361 memcpy(destBuffer, sourceBuffer, width * 4); // FIXME: Assumes 32-bit buffer in screenshot()
363 (char*&)sourceBuffer += stride; in screenshot()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DD3D11EmulatedIndexedBufferTest.cpp60 void createMappableCompareBufferFromEmulatedBuffer(ID3D11Buffer *sourceBuffer, in createMappableCompareBufferFromEmulatedBuffer() argument
86 sourceBuffer, 0, &srcBox); in createMappableCompareBufferFromEmulatedBuffer()
DBufferDataTest.cpp850 GLBuffer sourceBuffer; in TEST_P() local
851 glBindBuffer(GL_COPY_READ_BUFFER, sourceBuffer); in TEST_P()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiBufferViewAccessTests.cpp699 de::ArrayBuffer<deUint8> sourceBuffer(testCase.bufferSize); in BufferViewAllFormatsTestInstance() local
700 …rmat, tcu::IVec3(testCase.bufferSize / tcuFormat.getPixelSize(), 1, 1), sourceBuffer.getPtr()), 0); in BufferViewAllFormatsTestInstance()
702 m_sourceBuffer = sourceBuffer; in BufferViewAllFormatsTestInstance()
705 …BufferSuballocation().createTestBuffer(sourceBuffer.size(), testCase.usage, m_context, memAlloc, m… in BufferViewAllFormatsTestInstance()
706 deMemcpy(m_uniformBufferAlloc->getHostPtr(), sourceBuffer.getPtr(), sourceBuffer.size()); in BufferViewAllFormatsTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiBufferViewAccessTests.cpp699 de::ArrayBuffer<deUint8> sourceBuffer(testCase.bufferSize); in BufferViewAllFormatsTestInstance() local
700 …rmat, tcu::IVec3(testCase.bufferSize / tcuFormat.getPixelSize(), 1, 1), sourceBuffer.getPtr()), 0); in BufferViewAllFormatsTestInstance()
702 m_sourceBuffer = sourceBuffer; in BufferViewAllFormatsTestInstance()
705 …BufferSuballocation().createTestBuffer(sourceBuffer.size(), testCase.usage, m_context, memAlloc, m… in BufferViewAllFormatsTestInstance()
706 deMemcpy(m_uniformBufferAlloc->getHostPtr(), sourceBuffer.getPtr(), sourceBuffer.size()); in BufferViewAllFormatsTestInstance()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DBufferVk.cpp510 vk::BufferHelper &sourceBuffer = sourceVk->getBufferAndOffset(&sourceBufferOffset); in copySubData() local
511 ASSERT(sourceBuffer.valid()); in copySubData()
531 if (sourceBuffer.getBufferSerial() == mBuffer->getBufferSerial()) in copySubData()
537 access.onBufferTransferRead(&sourceBuffer); in copySubData()
549 commandBuffer->copyBuffer(sourceBuffer.getBuffer(), mBuffer->getBuffer(), 1, &copyRegion); in copySubData()
Dvk_helpers.cpp3434 BufferHelper *sourceBuffer = &elementArrayBufferVk->getBufferAndOffset(&sourceBufferOffset); in getIndexBufferForElementArrayBuffer() local
3445 access.onBufferTransferRead(sourceBuffer); in getIndexBufferForElementArrayBuffer()
3450 commandBuffer->copyBuffer(sourceBuffer->getBuffer(), (*bufferOut)->getBuffer(), in getIndexBufferForElementArrayBuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp480 Buffer11 *sourceBuffer = GetAs<Buffer11>(source); in copySubData() local
481 ASSERT(sourceBuffer != nullptr); in copySubData()
492 ANGLE_TRY(sourceBuffer->getLatestBufferStorage(context, &copySource)); in copySubData()
496 ANGLE_TRY(sourceBuffer->getStagingStorage(context, &copySource)); in copySubData()
504 ANGLE_TRY(sourceBuffer->getStagingStorage(context, &copySource)); in copySubData()
1210 const d3d11::Buffer *sourceBuffer = &GetAs<NativeStorage>(source)->getBuffer(); in copyFromStorage() local
1215 sourceBuffer->get(), 0, &srcBox); in copyFromStorage()
/third_party/node/deps/v8/src/builtins/
Dtyped-array-from.tq107 const sourceBuffer = sourceTypedArray.buffer;
108 if (IsDetachedBuffer(sourceBuffer)) goto UseUserProvidedIterator;
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderApiTests.cpp572 std::vector<char> sourceBuffer (sourceLength + 1); in readSource() local
574 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
576 return std::string(&sourceBuffer[0]); in readSource()
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Dutils_test.js644 var sourceBuffer = sourceBytes.buffer;
663 check(convert(sourceBuffer));
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Dutils_test.js644 var sourceBuffer = sourceBytes.buffer;
663 check(convert(sourceBuffer));
/third_party/protobuf/js/binary/
Dutils_test.js715 var sourceBuffer = sourceBytes.buffer;
734 check(convert(sourceBuffer));
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderApiTests.cpp629 std::vector<char> sourceBuffer (sourceLength + 1); in readSource() local
631 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
633 return std::string(&sourceBuffer[0]); in readSource()

12