Home
last modified time | relevance | path

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

/external/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…
/external/skia/src/pdf/
DSkPDFConvertType1FontStream.cpp136 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1)); in SkPDFConvertType1FontStream() local
137 (void)srcStream->read(sourceBuffer.get(), srcLen); in SkPDFConvertType1FontStream()
138 sourceBuffer[SkToInt(srcLen)] = 0; in SkPDFConvertType1FontStream()
139 const uint8_t* src = sourceBuffer.get(); in SkPDFConvertType1FontStream()
/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp136 SkAutoTMalloc<uint8_t> sourceBuffer(SkToInt(srcLen + 1)); in SkPDFConvertType1FontStream() local
137 (void)srcStream->read(sourceBuffer.get(), srcLen); in SkPDFConvertType1FontStream()
138 sourceBuffer[SkToInt(srcLen)] = 0; in SkPDFConvertType1FontStream()
139 const uint8_t* src = sourceBuffer.get(); in SkPDFConvertType1FontStream()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateCompiler.java110 StringWriter sourceBuffer = new StringWriter(256); in translateAstToJavaSource() local
113 ast.apply(new TemplateTranslator(PACKAGE_NAME, CLASS_NAME, sourceBuffer, propagateStatus)); in translateAstToJavaSource()
114 StringBuffer javaSource = sourceBuffer.getBuffer(); in translateAstToJavaSource()
/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp374 …sw::byte *sourceBuffer = (sw::byte*)source->lockInternal(0, 0, sRect.slice, LOCK_READONLY, PUBLIC); in stretchRect() local
383 memcpy(destBuffer, sourceBuffer, pitch); // FIXME: Only copy width * bytes in stretchRect()
385 sourceBuffer += pitch; in stretchRect()
395 sw::byte *sourceBuffer = (sw::byte*)source->lockStencil(0, 0, 0, PUBLIC); in stretchRect() local
404 memcpy(destBuffer, sourceBuffer, pitch); // FIXME: Only copy width * bytes in stretchRect()
406 sourceBuffer += pitch; in stretchRect()
/external/swiftshader/src/WSI/
DFrameBufferDD.cpp350 void *sourceBuffer = DDSD.lpSurface; in screenshot() local
354 memcpy(destBuffer, sourceBuffer, width * 4); // FIXME: Assumes 32-bit buffer in screenshot()
356 (char*&)sourceBuffer += stride; in screenshot()
/external/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()
/external/deqp/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()
/external/protobuf/js/binary/
Dutils_test.js644 var sourceBuffer = sourceBytes.buffer;
663 check(convert(sourceBuffer));
/external/deqp/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()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp1829 void *sourceBuffer = source->lockExternal(0, 0, 0, sw::LOCK_READONLY, sw::PUBLIC); in GetRenderTargetData() local
1855 blitFunction(destBuffer, sourceBuffer); in GetRenderTargetData()
6254 byte *sourceBuffer = (byte*)source->lockInternal(0, 0, 0, sw::LOCK_READONLY, sw::PUBLIC); in stretchRect() local
6263 memcpy(destBuffer, sourceBuffer, pitch); // FIXME: Only copy width * bytes in stretchRect()
6265 sourceBuffer += pitch; in stretchRect()
6275 byte *sourceBuffer = (byte*)source->lockStencil(0, 0, 0, sw::PUBLIC); in stretchRect() local
6284 memcpy(destBuffer, sourceBuffer, pitch); // FIXME: Only copy width * bytes in stretchRect()
6286 sourceBuffer += pitch; in stretchRect()