Home
last modified time | relevance | path

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

1234

/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
Dimage_buffer.js14 function ImageBuffer() { class
22 ImageBuffer.prototype.addOverlay = function(overlay) {
36 ImageBuffer.prototype.removeOverlay = function(overlay) {
49 ImageBuffer.prototype.draw = function() {
62 ImageBuffer.prototype.getCursorStyle = function(x, y, mouseDown) {
76 ImageBuffer.prototype.onClick = function(x, y) {
90 ImageBuffer.prototype.getDragHandler = function(x, y, touch) {
106 ImageBuffer.prototype.getDoubleTapAction = function(x, y) {
109 if (action != ImageBuffer.DoubleTapAction.NOTHING)
112 return ImageBuffer.DoubleTapAction.NOTHING;
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DImageBuffer.cpp60 PassOwnPtr<ImageBuffer> ImageBuffer::create(PassOwnPtr<ImageBufferSurface> surface) in create()
64 return adoptPtr(new ImageBuffer(surface)); in create()
67 PassOwnPtr<ImageBuffer> ImageBuffer::create(const IntSize& size, OpacityMode opacityMode) in create()
72 return adoptPtr(new ImageBuffer(surface.release())); in create()
75 ImageBuffer::ImageBuffer(PassOwnPtr<ImageBufferSurface> surface) in ImageBuffer() function in WebCore::ImageBuffer
85 ImageBuffer::~ImageBuffer() in ~ImageBuffer()
89 GraphicsContext* ImageBuffer::context() const in context()
96 const SkBitmap& ImageBuffer::bitmap() const in bitmap()
102 bool ImageBuffer::isValid() const in isValid()
116 PassRefPtr<Image> ImageBuffer::copyImage(BackingStoreCopy copyBehavior, ScaleBehavior) const in copyImage()
[all …]
DImageBuffer.h73 class PLATFORM_EXPORT ImageBuffer {
74 WTF_MAKE_NONCOPYABLE(ImageBuffer); WTF_MAKE_FAST_ALLOCATED;
76 static PassOwnPtr<ImageBuffer> create(const IntSize&, OpacityMode = NonOpaque);
77 static PassOwnPtr<ImageBuffer> create(PassOwnPtr<ImageBufferSurface>);
79 ~ImageBuffer();
114 ImageBuffer(PassOwnPtr<ImageBufferSurface>);
DGraphicsContextRecorder.cpp157 PassOwnPtr<ImageBuffer> GraphicsContextSnapshot::replay(unsigned fromStep, unsigned toStep) const in replay()
160 OwnPtr<ImageBuffer> imageBuffer = createImageBuffer(); in replay()
169 OwnPtr<ImageBuffer> imageBuffer = createImageBuffer(); in profile()
175 PassOwnPtr<ImageBuffer> GraphicsContextSnapshot::createImageBuffer() const in createImageBuffer()
177 …return ImageBuffer::create(IntSize(m_picture->width(), m_picture->height()), m_isCertainlyOpaque ?… in createImageBuffer()
DGraphicsContextRecorder.h46 PassOwnPtr<ImageBuffer> replay(unsigned fromStep = 0, unsigned toStep = 0) const;
53 PassOwnPtr<ImageBuffer> createImageBuffer() const;
DGraphicsContext.h59 class ImageBuffer; variable
260 …void drawImageBuffer(ImageBuffer*, const IntPoint&, CompositeOperator = CompositeSourceOver, blink…
261 …void drawImageBuffer(ImageBuffer*, const IntRect&, CompositeOperator = CompositeSourceOver, blink:…
262 …void drawImageBuffer(ImageBuffer*, const IntPoint& destPoint, const IntRect& srcRect, CompositeOpe…
263 …void drawImageBuffer(ImageBuffer*, const IntRect& destRect, const IntRect& srcRect, CompositeOpera…
264 void drawImageBuffer(ImageBuffer*, const FloatRect& destRect);
265 …void drawImageBuffer(ImageBuffer*, const FloatRect& destRect, const FloatRect& srcRect, CompositeO…
369 PassOwnPtr<ImageBuffer> createCompatibleBuffer(const IntSize&, OpacityMode = NonOpaque) const;
DExtensions3D.h37 class ImageBuffer; variable
285 …ntFramebufferToCanvas(int framebuffer, int width, int height, bool premultiplyAlpha, ImageBuffer*);
/external/chromium_org/third_party/WebKit/Source/web/tests/
DTransparencyWinTest.cpp87 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(17, 16))); in TEST()
126 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
178 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
197 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
270 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
323 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
359 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in testClippedLayerKeepTransform()
420 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
499 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
547 OwnPtr<ImageBuffer> src(ImageBuffer::create(IntSize(16, 16))); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFilter.h39 void setSourceImage(PassOwnPtr<ImageBuffer> sourceImage) { m_sourceImage = sourceImage; } in setSourceImage()
40 ImageBuffer* sourceImage() { return m_sourceImage.get(); } in sourceImage()
74 OwnPtr<ImageBuffer> m_sourceImage;
DFilterEffect.h45 class ImageBuffer; variable
74 ImageBuffer* asImageBuffer();
172 ImageBuffer* createImageBufferResult();
190 OwnPtr<ImageBuffer> m_imageBufferResult;
DFETile.cpp53 ImageBuffer* resultImage = createImageBufferResult(); in applySoftware()
78 OwnPtr<ImageBuffer> tileImage = ImageBuffer::create(surface.release()); in applySoftware()
DSourceGraphic.cpp53 ImageBuffer* resultImage = createImageBufferResult(); in applySoftware()
DFilterEffect.cpp242 ImageBuffer* FilterEffect::asImageBuffer() in asImageBuffer()
253 m_imageBufferResult = ImageBuffer::create(surface.release()); in asImageBuffer()
387 ImageBuffer* FilterEffect::createImageBufferResult() in createImageBufferResult()
397 m_imageBufferResult = ImageBuffer::create(surface.release()); in createImageBufferResult()
DSourceAlpha.cpp54 ImageBuffer* resultImage = createImageBufferResult(); in applySoftware()
DFEComposite.cpp276 ImageBuffer* resultImage = createImageBufferResult(); in applySoftware()
281 ImageBuffer* imageBuffer = in->asImageBuffer(); in applySoftware()
282 ImageBuffer* imageBuffer2 = in2->asImageBuffer(); in applySoftware()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLCanvasElement.h47 class ImageBuffer; variable
108 ImageBuffer* buffer() const;
168 OwnPtr<ImageBuffer> m_imageBuffer;
DHTMLCanvasElement.cpp317 ImageBuffer* imageBuffer = buffer(); in paint()
468 m_imageBuffer = ImageBuffer::create(surface.release()); in createImageBuffer()
519 ImageBuffer* HTMLCanvasElement::buffer() const in buffer()
532 m_imageBuffer = ImageBuffer::create(size(), opacityMode); in ensureUnacceleratedImageBuffer()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGResourceFilter.cpp120 OwnPtr<ImageBuffer>& imageBuffer, bool accelerated) in createImageBuffer()
134 OwnPtr<ImageBuffer> image = ImageBuffer::create(surface.release()); in createImageBuffer()
239 OwnPtr<ImageBuffer> sourceGraphic; in applyResource()
320 ImageBuffer* resultImage = lastEffect->asImageBuffer(); in postApplyResource()
DRenderSVGResourcePattern.cpp99 …OwnPtr<ImageBuffer> tileImage = createTileImage(m_attributes, tileBoundaries, absoluteTileBoundari… in buildPattern()
235 PassOwnPtr<ImageBuffer> RenderSVGResourcePattern::createTileImage(const PatternAttributes& attribut… in createTileImage()
246 OwnPtr<ImageBuffer> tileImage = ImageBuffer::create(imageSize); in createTileImage()
DRenderSVGResourcePattern.h63 … PassOwnPtr<ImageBuffer> createTileImage(const PatternAttributes&, const FloatRect& tileBoundaries,
DSVGRenderSupport.h33 class ImageBuffer; variable
/external/chromium_org/third_party/WebKit/Source/core/frame/
DImageBitmap.cpp66 OwnPtr<ImageBuffer> buf = ImageBuffer::create(videoRect.size()); in ImageBitmap()
102 OwnPtr<ImageBuffer> buf = ImageBuffer::create(data->size()); in ImageBitmap()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
DSVGImage.cpp195 OwnPtr<ImageBuffer> buffer = ImageBuffer::create(size()); in nativeImageForCurrentFrame()
223 OwnPtr<ImageBuffer> buffer = ImageBuffer::create(expandedIntSize(imageBufferSize.size())); in drawPatternForContainer()
DSVGImageCache.h34 class ImageBuffer; variable
/external/chromium_org/third_party/WebKit/Source/platform/graphics/win/
DTransparencyWin.cpp102 m_destBitmap = ImageBuffer::create(size); in OwnedBuffers()
111 ImageBuffer* destBitmap() { return m_destBitmap.get(); } in destBitmap()
125 OwnPtr<ImageBuffer> m_destBitmap;

1234