Home
last modified time | relevance | path

Searched refs:sourceBuffer (Results 1 - 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A 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/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DDevice.cpp390 void Device::copyBuffer(byte *sourceBuffer, byte *destBuffer, unsigned int width, unsigned int height, unsigned int sourcePitch, unsigned int destPitch, unsigned int bytes, bool flipX, bool flipY) 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 in copyBuffer()
590 byte *sourceBuffer = isStencil ? (byte*)source->lockStencil(0, 0, 0, PUBLIC) : (byte*)source->lockInternal(0, 0, 0, LOCK_READONLY, PUBLIC); stretchRect() local
600 byte *sourceBuffer = (byte*)source->lockInternal((int)sRect.x0, (int)sRect.y0, 0, LOCK_READONLY, PUBLIC); stretchRect() local
[all...]
H A DDevice.hpp91 void copyBuffer(sw::byte *sourceBuffer, sw::byte *destBuffer, unsigned int width, unsigned int height, unsigned int sourcePitch, unsigned int destPitch, unsigned int bytes, bool flipX, bool flipY);
/third_party/node/test/fixtures/wpt/WebCryptoAPI/digest/
H A Ddigest.https.any.js125 // Returns a copy of the sourceBuffer it is sent.
126 function copyBuffer(sourceBuffer) {
127 var source = new Uint8Array(sourceBuffer);
128 var copy = new Uint8Array(sourceBuffer.byteLength)
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/
H A Drsa.js319 }); // Returns a copy of the sourceBuffer it is sent.
320 function copyBuffer(sourceBuffer) {
321 var source = new Uint8Array(sourceBuffer);
322 var copy = new Uint8Array(sourceBuffer.byteLength)
348 // Returns a copy of the sourceBuffer it is sent.
349 function copyBuffer(sourceBuffer) {
350 var source = new Uint8Array(sourceBuffer);
351 var copy = new Uint8Array(sourceBuffer.byteLength)
H A Daes.js295 // Returns a copy of the sourceBuffer it is sent.
296 function copyBuffer(sourceBuffer) {
297 var source = new Uint8Array(sourceBuffer);
298 var copy = new Uint8Array(sourceBuffer.byteLength)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktBitstreamBufferImpl.cpp181 int64_t BitstreamBufferImpl::CopyDataFromBuffer(const deUint8* sourceBuffer, VkDeviceSize srcOffset, VkDeviceSize dstOffset, VkDeviceSize size) in CopyDataFromBuffer() argument
188 deMemcpy(bitstreamBasePtr + dstOffset, sourceBuffer + srcOffset, size); in CopyDataFromBuffer()
192 int64_t BitstreamBufferImpl::CopyDataFromBuffer(const VkSharedBaseObj<VulkanBitstreamBuffer>& sourceBuffer, in CopyDataFromBuffer() argument
202 const deUint8* readData = sourceBuffer->GetReadOnlyDataPtr(srcOffset, size); in CopyDataFromBuffer()
H A DvktBitstreamBufferImpl.hpp96 int64_t CopyDataFromBuffer(const deUint8 *sourceBuffer, VkDeviceSize srcOffset,
98 int64_t CopyDataFromBuffer(const VkSharedBaseObj<VulkanBitstreamBuffer>& sourceBuffer, VkDeviceSize srcOffset,
/third_party/node/test/fixtures/wpt/WebCryptoAPI/sign_verify/
H A Dhmac.js320 // Returns a copy of the sourceBuffer it is sent.
321 function copyBuffer(sourceBuffer) {
322 var source = new Uint8Array(sourceBuffer);
323 var copy = new Uint8Array(sourceBuffer.byteLength)
H A Decdsa.js461 }); // Returns a copy of the sourceBuffer it is sent.
479 // Returns a copy of the sourceBuffer it is sent.
480 function copyBuffer(sourceBuffer) {
481 var source = new Uint8Array(sourceBuffer);
482 var copy = new Uint8Array(sourceBuffer.byteLength)
H A Drsa.js390 }); // Returns a copy of the sourceBuffer it is sent.
408 // Returns a copy of the sourceBuffer it is sent.
409 function copyBuffer(sourceBuffer) {
410 var source = new Uint8Array(sourceBuffer);
411 var copy = new Uint8Array(sourceBuffer.byteLength)
H A Deddsa.js386 }); // Returns a copy of the sourceBuffer it is sent.
404 // Returns a copy of the sourceBuffer it is sent.
405 function copyBuffer(sourceBuffer) {
406 var source = new Uint8Array(sourceBuffer);
407 var copy = new Uint8Array(sourceBuffer.byteLength)
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A 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/src/pdf/
H A DSkPDFType1Font.cpp144 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1)); in convert_type1_font_stream()
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/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DD3D11EmulatedIndexedBufferTest.cpp60 void createMappableCompareBufferFromEmulatedBuffer(ID3D11Buffer *sourceBuffer, in createMappableCompareBufferFromEmulatedBuffer() argument
86 sourceBuffer, 0, &srcBox); in createMappableCompareBufferFromEmulatedBuffer()
H A 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/
H A DvktApiBufferViewAccessTests.cpp710 de::ArrayBuffer<deUint8> sourceBuffer(testCase.bufferSize); in BufferViewAllFormatsTestInstance()
711 populateSourceBuffer(tcu::PixelBufferAccess(tcuFormat, tcu::IVec3(testCase.bufferSize / tcuFormat.getPixelSize(), 1, 1), sourceBuffer.getPtr()), 0); in BufferViewAllFormatsTestInstance()
713 m_sourceBuffer = sourceBuffer; in BufferViewAllFormatsTestInstance()
716 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, sourceBuffer.size(), testCase.createUsage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewAllFormatsTestInstance()
717 deMemcpy(m_uniformBufferAlloc->getHostPtr(), sourceBuffer.getPtr(), sourceBuffer.size()); in BufferViewAllFormatsTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferViewAccessTests.cpp699 de::ArrayBuffer<deUint8> sourceBuffer(testCase.bufferSize); in BufferViewAllFormatsTestInstance()
700 populateSourceBuffer(tcu::PixelBufferAccess(tcuFormat, 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_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewAllFormatsTestInstance()
706 deMemcpy(m_uniformBufferAlloc->getHostPtr(), sourceBuffer.getPtr(), sourceBuffer.size()); in BufferViewAllFormatsTestInstance()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A 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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A 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/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderApiTests.cpp572 std::vector<char> sourceBuffer (sourceLength + 1); in readSource()
574 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
576 return std::string(&sourceBuffer[0]); in readSource()
/third_party/protobuf/js/binary/
H A Dutils_test.js715 var sourceBuffer = sourceBytes.buffer;
734 check(convert(sourceBuffer));
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
H A Dutils_test.js644 var sourceBuffer = sourceBytes.buffer;
663 check(convert(sourceBuffer));
/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
H A Dutils_test.js644 var sourceBuffer = sourceBytes.buffer;
663 check(convert(sourceBuffer));
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderApiTests.cpp629 std::vector<char> sourceBuffer (sourceLength + 1); in readSource()
631 glGetShaderSource(shader.getShader(), (GLsizei)sourceBuffer.size(), 0, &sourceBuffer[0]); in readSource()
633 return std::string(&sourceBuffer[0]); in readSource()

Completed in 30 milliseconds

12