Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGRenderingContext.cpp273 bool SVGRenderingContext::bufferForeground(OwnPtr<ImageBuffer>& imageBuffer) in bufferForeground() argument
280 if (imageBuffer) { in bufferForeground()
284 if (bufferSize != imageBuffer->size()) in bufferForeground()
285 imageBuffer.clear(); in bufferForeground()
289 if (!imageBuffer) { in bufferForeground()
290 …if ((imageBuffer = m_paintInfo->context->createCompatibleBuffer(expandedIntSize(boundingBox.size()… in bufferForeground()
291 GraphicsContext* bufferedRenderingContext = imageBuffer->context(); in bufferForeground()
300 m_paintInfo->context->drawImageBuffer(imageBuffer.get(), boundingBox); in bufferForeground()
DRenderSVGResourceFilter.cpp120 OwnPtr<ImageBuffer>& imageBuffer, bool accelerated) in createImageBuffer() argument
142 imageBuffer = image.release(); in createImageBuffer()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsContextRecorder.cpp160 OwnPtr<ImageBuffer> imageBuffer = createImageBuffer(); in replay() local
161 FragmentSnapshotPlayer player(m_picture, imageBuffer->context()->canvas()); in replay()
163 return imageBuffer.release(); in replay()
169 OwnPtr<ImageBuffer> imageBuffer = createImageBuffer(); in profile() local
170 ProfilingSnapshotPlayer player(m_picture, imageBuffer->context()->canvas()); in profile()
DCrossfadeGeneratedImage.cpp102 OwnPtr<ImageBuffer> imageBuffer = context->createCompatibleBuffer(m_size); in drawPattern() local
103 if (!imageBuffer) in drawPattern()
107 GraphicsContext* graphicsContext = imageBuffer->context(); in drawPattern()
111imageBuffer->drawPattern(context, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSp… in drawPattern()
DExtensions3D.cpp126 …erToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer* imageBuffer) in paintFramebufferToCanvas() argument
128 m_context->paintFramebufferToCanvas(framebuffer, width, height, premultiplyAlpha, imageBuffer); in paintFramebufferToCanvas()
DGraphicsContext3D.cpp513 void GraphicsContext3D::paintRenderingResultsToCanvas(ImageBuffer* imageBuffer, DrawingBuffer* draw… in paintRenderingResultsToCanvas() argument
518 …ferToCanvas(framebufferId, width, height, !getContextAttributes().premultipliedAlpha, imageBuffer); in paintRenderingResultsToCanvas()
814 …erToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer* imageBuffer) in paintFramebufferToCanvas() argument
818 const SkBitmap& canvasBitmap = imageBuffer->bitmap(); in paintFramebufferToCanvas()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEComposite.cpp281 ImageBuffer* imageBuffer = in->asImageBuffer(); in applySoftware() local
283 ASSERT(imageBuffer); in applySoftware()
289 … filterContext->drawImageBuffer(imageBuffer, drawingRegionOfInputImage(in->absolutePaintRect())); in applySoftware()
304 … filterContext->drawImageBuffer(imageBuffer, destinationPoint, sourceRect, CompositeSourceIn); in applySoftware()
308 … filterContext->drawImageBuffer(imageBuffer, drawingRegionOfInputImage(in->absolutePaintRect())); in applySoftware()
313 …terContext->drawImageBuffer(imageBuffer, drawingRegionOfInputImage(in->absolutePaintRect()), IntRe… in applySoftware()
317 …terContext->drawImageBuffer(imageBuffer, drawingRegionOfInputImage(in->absolutePaintRect()), IntRe… in applySoftware()
/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/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
DShape.cpp222 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(imageSize); in createShape() local
223 if (imageBuffer) { in createShape()
224 GraphicsContext* graphicsContext = imageBuffer->context(); in createShape()
227 …RefPtr<Uint8ClampedArray> pixelArray = imageBuffer->getUnmultipliedImageData(IntRect(IntPoint(), i… in createShape()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DClipboard.cpp275 SharedBuffer* imageBuffer = cachedImage->imageForRenderer(element->renderer())->data(); in writeImageToDataObject() local
276 if (!imageBuffer || !imageBuffer->size()) in writeImageToDataObject()
310 dataObject->addSharedBuffer(filename + imageExtension, imageBuffer); in writeImageToDataObject()
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollbarThemeMacNonOverlayAPI.mm121 OwnPtr<ImageBuffer> imageBuffer;
129 imageBuffer = ImageBuffer::create(bufferRect.size());
130 if (!imageBuffer)
133 drawingContext = imageBuffer->context();
172 context->drawImageBuffer(imageBuffer.get(), scrollbar->frameRect().location());
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLCanvasElement.cpp317 ImageBuffer* imageBuffer = buffer(); in paint() local
318 if (imageBuffer) { in paint()
323 …context->drawImageBuffer(imageBuffer, pixelSnappedIntRect(r), compositeOperator, blink::WebBlendMo… in paint()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
DDrawingBuffer.cpp365 void DrawingBuffer::paintCompositedResultsToCanvas(ImageBuffer* imageBuffer) in paintCompositedResultsToCanvas() argument
372 if (!imageBuffer) in paintCompositedResultsToCanvas()
374 Platform3DObject tex = imageBuffer->getBackingTexture(); in paintCompositedResultsToCanvas()
398 …anvas(framebuffer, size().width(), size().height(), !m_attributes.premultipliedAlpha, imageBuffer); in paintCompositedResultsToCanvas()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorLayerTreeAgent.cpp365 …OwnPtr<ImageBuffer> imageBuffer = snapshot->graphicsSnapshot->replay(fromStep ? *fromStep : 0, toS… in replaySnapshot() local
366 *dataURL = imageBuffer->toDataURL("image/png"); in replaySnapshot()
/external/icu4c/test/cintltst/
Dcapitst.c2258 uint8_t imageBuffer[32768]; in TestOpenBinary() local
2259 uint8_t *image = imageBuffer; in TestOpenBinary()
2279 imageSize = ucol_cloneBinary(coll, imageBuffer, imageSize, &status); in TestOpenBinary()
2291 if(image != imageBuffer) { in TestOpenBinary()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcapitst.c2184 uint8_t imageBuffer[32768]; in TestOpenBinary() local
2185 uint8_t *image = imageBuffer; in TestOpenBinary()
2205 imageSize = ucol_cloneBinary(coll, imageBuffer, imageSize, &status); in TestOpenBinary()
2217 if(image != imageBuffer) { in TestOpenBinary()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumMac.mm1087 OwnPtr<ImageBuffer> imageBuffer = ImageBuffer::create(inflatedRect.size());
1088 if (!imageBuffer)
1091 ContextContainer cgContextContainer(imageBuffer->context());
1102 paintInfo.context->drawImageBuffer(imageBuffer.get(), inflatedRect.location());
/external/chromium_org/third_party/mesa/src/src/glsl/
Dglsl_lexer.ll469 imageBuffer KEYWORD(130, 999, IMAGEBUFFER);
/external/mesa3d/src/glsl/
Dglsl_lexer.ll469 imageBuffer KEYWORD(130, 999, IMAGEBUFFER);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp1663 static void drawImageToContext(ImageBuffer* imageBuffer, GraphicsContext* context, const FloatRect&… in drawImageToContext() argument
1665 context->drawImageBuffer(imageBuffer, dest, src, op); in drawImageToContext()
DWebGLRenderingContext.h461 ImageBuffer* imageBuffer(const IntSize& size);
DWebGLRenderingContext.cpp3375 ImageBuffer* buf = m_generatedImageCache.imageBuffer(size); in drawImageIntoBuffer()
3491 ImageBuffer* buf = m_generatedImageCache.imageBuffer(size); in videoFrameToImage()
5455 ImageBuffer* WebGLRenderingContext::LRUImageBufferCache::imageBuffer(const IntSize& size) in imageBuffer() function in WebCore::WebGLRenderingContext::LRUImageBufferCache