Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/rendering/svg/
DSVGImageBufferTools.cpp53 …Rect, const FloatRect& clampedAbsoluteTargetRect, OwnPtr<ImageBuffer>& imageBuffer, ColorSpace col… in createImageBuffer() argument
72 imageBuffer = image.release(); in createImageBuffer()
94 …m& absoluteTransform, const FloatRect& clampedAbsoluteTargetRect, OwnPtr<ImageBuffer>& imageBuffer) in clipToImageBuffer() argument
97 ASSERT(imageBuffer); in clipToImageBuffer()
102 context->clipToImageBuffer(imageBuffer.get(), clampedAbsoluteTargetRect); in clipToImageBuffer()
108 imageBuffer.clear(); in clipToImageBuffer()
DRenderSVGResourceGradient.cpp79 OwnPtr<ImageBuffer>& imageBuffer, in createMaskAndSwapContextForTextGradient() argument
106 imageBuffer = maskImage.release(); in createMaskAndSwapContextForTextGradient()
111 OwnPtr<ImageBuffer>& imageBuffer, in clipToTextMask() argument
128 …BufferTools::clipToImageBuffer(context, absoluteTransform, clampedAbsoluteTargetRect, imageBuffer); in clipToTextMask()
/external/webkit/Source/WebCore/platform/graphics/
DGeneratedImage.cpp59 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(adjustedSize); in drawPattern() local
60 if (!imageBuffer) in drawPattern()
64 GraphicsContext* graphicsContext = imageBuffer->context(); in drawPattern()
68imageBuffer->drawPattern(context, adjustedSrcRect, patternTransform, phase, styleColorSpace, compo… in drawPattern()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglDisplay.java225 byte[] imageBuffer = new byte[image.getWidth() * image.getHeight() * 4]; in imageToByteBuffer()
230 imageBuffer[counter + 0] = (byte) ((colorSpace << 8) >> 24); in imageToByteBuffer()
231 imageBuffer[counter + 1] = (byte) ((colorSpace << 16) >> 24); in imageToByteBuffer()
232 imageBuffer[counter + 2] = (byte) ((colorSpace << 24) >> 24); in imageToByteBuffer()
233 imageBuffer[counter + 3] = (byte) (colorSpace >> 24); in imageToByteBuffer()
237 return ByteBuffer.wrap(imageBuffer); in imageToByteBuffer()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DCanvasTexture.cpp127 bool CanvasTexture::uploadImageBuffer(ImageBuffer* imageBuffer) in uploadImageBuffer() argument
134 if (imageBuffer->size() != m_size) in uploadImageBuffer()
136 SkCanvas* canvas = imageBufferCanvas(imageBuffer); in uploadImageBuffer()
DCanvasTexture.h57 bool uploadImageBuffer(ImageBuffer* imageBuffer);
/external/webkit/Tools/DumpRenderTree/gtk/
DImageDiff.cpp47 unsigned char imageBuffer[2048]; in readPixbufFromStdin() local
53 size_t bytesRead = fread(imageBuffer, 1, bytesToRead, stdin); in readPixbufFromStdin()
55 …if (!gdk_pixbuf_loader_write(loader, reinterpret_cast<const guchar*>(imageBuffer), bytesRead, &err… in readPixbufFromStdin()
/external/webkit/Source/WebCore/platform/chromium/
DClipboardChromium.cpp248 SharedBuffer* imageBuffer = cachedImage->image()->data(); in writeImageToDataObject() local
249 if (!imageBuffer || !imageBuffer->size()) in writeImageToDataObject()
252 dataObject->setFileContent(imageBuffer); in writeImageToDataObject()
DScrollbarThemeChromiumMac.mm412 OwnPtr<ImageBuffer> imageBuffer;
420 imageBuffer = ImageBuffer::create(bufferRect.size());
421 if (!imageBuffer)
424 drawingContext = imageBuffer->context();
483 …context->drawImageBuffer(imageBuffer.get(), ColorSpaceDeviceRGB, scrollbar->frameRect().location()…
/external/webkit/Source/WebCore/html/
DHTMLCanvasElement.cpp296 ImageBuffer* imageBuffer = buffer(); in paint() local
297 if (imageBuffer) { in paint()
300 else if (imageBuffer->drawsUsingCopy()) in paint()
303 context->drawImageBuffer(imageBuffer, ColorSpaceDeviceRGB, r); in paint()
/external/webkit/Source/WebCore/platform/win/
DClipboardWin.cpp664 SharedBuffer* imageBuffer = cachedImage->image()->data(); in writeImageToDataObject() local
665 if (!imageBuffer || !imageBuffer->size()) in writeImageToDataObject()
672 HGLOBAL imageFileContent = createGlobalImageFileContent(imageBuffer); in writeImageToDataObject()
679 HGLOBAL hDropContent = createGlobalHDropContent(url, fileName, imageBuffer); in writeImageToDataObject()
/external/webkit/Source/WebCore/platform/graphics/skia/
DPlatformContextSkia.cpp278 const ImageBuffer* imageBuffer) in beginLayerClippedToImage() argument
291 const SkBitmap* bitmap = imageBuffer->context()->platformContext()->bitmap(); in beginLayerClippedToImage()
648 void PlatformContextSkia::applyClipFromImage(const FloatRect& rect, const SkBitmap& imageBuffer) in applyClipFromImage() argument
654 m_canvas->drawBitmap(imageBuffer, SkFloatToScalar(rect.x()), SkFloatToScalar(rect.y()), &paint); in applyClipFromImage()
/external/webkit/Source/WebCore/platform/mac/
DScrollbarThemeMac.mm521 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(bufferRect.size());
522 if (!imageBuffer)
525imageBuffer->context()->translate(scrollbar->frameRect().x() - bufferRect.x(), scrollbar->frameRec…
526 …HIThemeDrawTrack(&trackInfo, 0, imageBuffer->context()->platformContext(), kHIThemeOrientationNorm…
527 context->drawImageBuffer(imageBuffer.get(), ColorSpaceDeviceRGB, bufferRect.location());
/external/webkit/Source/WebCore/platform/graphics/openvg/
DGraphicsContextOpenVG.cpp430 void GraphicsContext::clipToImageBuffer(const FloatRect& rect, const ImageBuffer* imageBuffer) in clipToImageBuffer() argument
437 UNUSED_PARAM(imageBuffer); in clipToImageBuffer()
/external/webkit/Source/WebKit/chromium/src/
DWebViewImpl.cpp1047 OwnPtr<ImageBuffer> imageBuffer(ImageBuffer::create(rect.size())); in doPixelReadbackToCanvas() local
1049 if (imageBuffer.get() && pixelArray.get()) { in doPixelReadbackToCanvas()
1051imageBuffer->putPremultipliedImageData(pixelArray.get(), rect.size(), IntRect(IntPoint(), rect.siz… in doPixelReadbackToCanvas()
1057 gc.drawImageBuffer(imageBuffer.get(), ColorSpaceDeviceRGB, invertRect.location()); in doPixelReadbackToCanvas()
DGraphicsContext3DChromium.cpp183 ImageBuffer* imageBuffer = canvas->buffer(); in paintRenderingResultsToCanvas() local
186 const SkBitmap* canvasBitmap = imageBuffer->context()->platformContext()->bitmap(); in paintRenderingResultsToCanvas()
242 … m_impl->width(), m_impl->height(), canvas->width(), canvas->height(), imageBuffer->context()->pla… in paintRenderingResultsToCanvas()
/external/icu4c/test/cintltst/
Dcapitst.c2257 uint8_t imageBuffer[32768]; in TestOpenBinary() local
2258 uint8_t *image = imageBuffer; in TestOpenBinary()
2278 imageSize = ucol_cloneBinary(coll, imageBuffer, imageSize, &status); in TestOpenBinary()
2290 if(image != imageBuffer) { in TestOpenBinary()
/external/webkit/Source/WebCore/platform/graphics/opengl/
DGraphicsContext3DOpenGL.cpp122 ImageBuffer* imageBuffer = canvas->buffer(); in paintRenderingResultsToCanvas() local
143 canvas->width(), canvas->height(), imageBuffer->context()->platformContext()); in paintRenderingResultsToCanvas()
/external/webkit/Source/WebCore/rendering/
DRenderThemeMac.mm952 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(rect.size());
953 if (!imageBuffer)
956 …HIThemeDrawTrack(&trackInfo, 0, imageBuffer->context()->platformContext(), kHIThemeOrientationNorm…
965 paintInfo.context->drawImageBuffer(imageBuffer.get(), ColorSpaceDeviceRGB, rect.location());
/external/webkit/Source/WebCore/html/canvas/
DWebGLRenderingContext.h427 ImageBuffer* imageBuffer(const IntSize& size);
DWebGLRenderingContext.cpp3177 ImageBuffer* buf = m_videoCache.imageBuffer(size); in videoFrameToImage()
4822 ImageBuffer* WebGLRenderingContext::LRUImageBufferCache::imageBuffer(const IntSize& size) in imageBuffer() function in WebCore::WebGLRenderingContext::LRUImageBufferCache
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContext3DQt.cpp651 ImageBuffer* imageBuffer = canvas->buffer(); in paintRenderingResultsToCanvas() local
652 QPainter* painter = imageBuffer->context()->platformContext(); in paintRenderingResultsToCanvas()
/external/webkit/Source/WebCore/
DChangeLog-2007-10-143786 (WebCore::writeImageToDataObject): The fix: null-check imageBuffer.
DChangeLog-2010-01-2997278 Share more code of filter effects. The imageBuffer creation can move to
DChangeLog-2010-12-0674581 (WebCore::WebGLRenderingContext::LRUImageBufferCache::imageBuffer):