summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak with layers.Nicolas Roard2010-01-265-84/+75
| | | | | | | | | | | | | | | This fix bug http://b/2394813 This is a two-parts CL (need a java modif) - The main leak is in WebView.cpp -- nativeUpdateLayers could bail out if the root layer was nil, without deallocating the vector of updates. - fix a leak in LayerAndroid::evaluateAnimations() - adoptRef() for the contentLayer in GraphicsLayerAndroid - simplify AndroidAnimation: remove the reference to the layer (the layer already has a reference to AndroidAnimation) - modify the AndroidAnimation copy() methods to return directly a PassRefPtr, for consistency.
* Fix potential crash with layers enabled.Nicolas Roard2010-01-264-30/+25
| | | | | | See bug http://b/2395197 We remove the AndroidAnimationTimer class, and use a callback mechanism instead in GraphicsLayerAndroid.
* translate3d() wasn't handled as we only have a 2D backend for the moment.Nicolas Roard2010-01-261-1/+16
| | | | | But it should still work for the (x,y) components anyway... Fix bug http://b/2395354
* Fix for setting layers opacity through CSS (bug http://b/2376455)Nicolas Roard2010-01-151-0/+1
|
* am 93f808ab: am 388e461f: Add proper support for fixed position elementsNicolas Roard2010-01-143-23/+61
|\ | | | | | | | | | | | | Merge commit '93f808abccaf6f09c5c0226c01942c3be445031a' * commit '93f808abccaf6f09c5c0226c01942c3be445031a': Add proper support for fixed position elements
| * Add proper support for fixed position elementsNicolas Roard2010-01-143-23/+61
| | | | | | | | | | | | | | this is two-part change, see http://android-git.corp.google.com/g/#change,37092 for the java counterpart. This CL implements fixed position elements (css position: fixed) using layers, supporting pixels and percent lengths. It addresses http://b/1914365
* | am 459f6c34: am 29b325cb: Fix \'disappearing layers\' bug (see http://b/2371053)Nicolas Roard2010-01-141-3/+0
|\ \ | |/ | | | | | | | | | | Merge commit '459f6c347256a4d9fe815793302130fe06bd8f83' * commit '459f6c347256a4d9fe815793302130fe06bd8f83': Fix 'disappearing layers' bug (see http://b/2371053)
| * Fix 'disappearing layers' bug (see http://b/2371053)Nicolas Roard2010-01-141-3/+0
| | | | | | | | | | | | The removed code was needed in the previous implementation, but not so anymore as we recopy the layers to the UI. It causes the bug, as webkit deallocate the tree asynchronously, which ends up resetting the root layer to zero after the new page was loaded...
| * webkit layers supportNicolas Roard2010-01-046-0/+2008
| |
* | Implement timeupdate events for video tag.Andrei Popescu2010-01-121-0/+2
| | | | | | | | Fix http://b/issue?id=2210105
* | resolved conflicts for merge of 870689c8Nicolas Roard2010-01-046-0/+2008
|/
* Merge webkit.org at r51976 : ColorSpace type has been removed.Steve Block2009-12-171-19/+11
| | | | | | | | | See the following WebKit changes ... http://trac.webkit.org/changeset/50614 http://trac.webkit.org/changeset/51124 http://trac.webkit.org/changeset/51161 Change-Id: I690bb3aebc75b5a45396bb9bbcc4ee797ca3465b
* Merge webkit.org at r51976 : GraphicsContext::setPlatformShadow now takes a ↵Steve Block2009-12-171-1/+1
| | | | | | | | ColorSpace argument. See http://trac.webkit.org/changeset/50852 Change-Id: Ie6ddbe8da1ce7bc2dffbd57bb93aee5d5e9a1068
* Merge webkit.org at r51976 : Image::draw() and drawPattern() now take a ↵Steve Block2009-12-171-3/+4
| | | | | | | | ColorSpace. See http://trac.webkit.org/changeset/51212 Change-Id: I276253611ffe7518733fc7af51b0dfcc5f5d8691
* Merge webkit.org at r51976 : A ColorSpace argument is now passed to ↵Steve Block2009-12-171-4/+4
| | | | | | | | GraphicsContext methods. See http://trac.webkit.org/changeset/50760 Change-Id: I50c0864b1347e81839b8276a832311d7d1281148
* use twopoint gradientsMike Reed2009-12-081-3/+5
|
* Remove the Android-specific setCMYKXXXColor methods, which are not used.Steve Block2009-11-261-16/+0
| | | | Change-Id: Ie9bc2064b10c01579d60e31f62ea6996974f8f4a
* Fixes license headers for all Android-specific JavaScriptCore and WebCore ↵Steve Block2009-11-1326-170/+197
| | | | | | | | | | | | | | | | | | | | | | files not yet upstreamed to webkit.org. WebKit requires either a BSD-style or LGPL 2.1 license for all code. We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org. - For most files, I've fixed the names of copyright holders in the license text to 'THE COPYRIGHT HOLDERS' and cleaned up formatting in the existing BSD-style license. - For Makefiles and the following files in WebCore/platform/graphics/android/, I've changed from an Apache 2.0 license to the BSD-style license. - WebCore/platform/graphics/android/BitmapAllocatorAndroid.cpp - WebCore/platform/graphics/android/BitmapAllocatorAndroid.h - WebCore/platform/graphics/android/SharedBufferStream.cpp - WebCore/platform/graphics/android/SharedBufferStream.h - For the following files, I've changed from an LGPL licese to the BSD-style license. - WebCore/platform/graphics/android/FontPlatformData.h - WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp - WebCore/plugins/android/PluginDataAndroid.cpp Change-Id: Ic4c3e5610afc58637b7a9b81b1d0d1f17f4f4cb1
* Merge webkit.org at r50258 : Implements new GraphicsContext::canvasClip ↵Steve Block2009-11-101-1/+5
| | | | | | | | method for Android. See http://trac.webkit.org/changeset/49641 Change-Id: I8b1a274623a62f73563988eb1ed120f43e0e4c70
* up our max ram value before subsampling in the decoderMike Reed2009-11-061-4/+18
| | | | | http://b/issue?id=2236822 todo: find a system-wide compile-flag to trigger off of
* Merge webkit.org at R49305 : ImageBuffer::get/putImageData renamed to ↵Steve Block2009-10-201-2/+2
| | | | | | | | get/putUnmultipliedImageData. See http://trac.webkit.org/changeset/47099 Change-Id: Ia282cb6a19fae8541f6dd9090ef87bcbc39feb64
* Merge webkit.org at R49305 : Stubs out new MediaPlayerPrivate::hasAudio method.Steve Block2009-10-201-0/+1
| | | | | | See http://trac.webkit.org/changeset/47515 Change-Id: I18d3991e84c1a5760f736d04e16e1a195d5de283
* Merge webkit.org at R49305 : Remove new file ImageSource.cpp from build.Steve Block2009-10-201-0/+2
| | | | | | | This file was added in http://trac.webkit.org/changeset/47073 to contain common ImageSource code. We should refactor Android's ImageSource implementation to make use of this. Change-Id: Ic9cde960ca96be697983d6b475156b592d82cfaa
* Merge webkit.org at R49305 : MediaPlayerPrivate::maxTimeBuffered renamed to ↵Steve Block2009-10-201-1/+1
| | | | | | | | buffered. See http://trac.webkit.org/changeset/48267 Change-Id: I29156a62ece53de135a730a21e0337e4e4b57bed
* don't pre-round rects, since we will zoom (arbitrarily) after we record the ↵Mike Reed2009-10-161-8/+13
| | | | | | | geometry. This fixes the funny case of <canvas> elements being scaled twice: once by our scaleFactor() and then again by this roundToDevicePixels method.
* only look at globalAlpha when we draw images (not the alpha in fill-color)Mike Reed2009-10-022-3/+14
| | | | http://b/issue?id=1817561
* Update <video> implementation after new IRC discussion with Eric Carlsson.Andrei Popescu2009-09-301-1/+16
| | | | | | | | - move poster drawing on the WebKit side - get rid of the child views - add prepareToPlay method to the MediaPlayer iface. Fixes http://b/issue?id=2156592
* Build fix.Patrick Scott2009-09-291-0/+2
| | | | | Files that include FontPlatformData.h apparently depend on StringImpl.h already being included.
* Fix a few crashes with assertions enabled.Patrick Scott2009-09-291-1/+7
| | | | | KURL::protocolIs no longer likes "javascript" and has a different method called protocolIsJavaScript.
* fix cracks when we draw the page in portions (i.e. a picture set)Mike Reed2009-09-251-0/+24
| | | | | | | | | | | | | | | When we record/draw the DOM N times (for speed), webkit sees what we're doing in certain places, and sends us different rectangle coordinates. These were all being antialiased (by default). However, when we are also zoomed, the rects now fall on fractional coordinates, and with aa, we will double-draw the edges where those rects should have seamed. The fix is to disable antialiasing for a class of rects that we record from webkit. We are probably disabling for more cases than is necessary for the current bug, but knowing which ones are "required" is tricky, and there (as yet) seems to be no down-side, since we never draw the page rotated at a funny angle (where the rect edge would look jaggie). http://b/issue?id=2132971&cookieId=2009268114917835 http://b/issue?id=2127763&cookieId=2009268114931860
* disable antialiasing for bitmapsMike Reed2009-09-251-0/+15
| | | | | | | Since we are never rotated, and when we are zoomed, the antialiasing can double-draw the shared border for images that are meant to seam (ala nine-patch) http://b/issue?id=2105990&cookieId=2009268085657820
* Merge change 25547 into eclairAndroid (Google) Code Review2009-09-171-1/+1
|\ | | | | | | | | * changes: bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
| * bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), ↵Mike Reed2009-09-171-1/+1
| | | | | | | | | | | | | | | | and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
* | Wire the rest of MediaPlayer to our implementation of ↵Andrei Popescu2009-09-171-0/+7
|/ | | | WebCore::MediaPlayerPrivate
* Add poster support and other fixesAndrei Popescu2009-09-171-0/+3
|
* change our hasCurrentPoint() to call skia's getPoints() instead of ↵Mike Reed2009-08-311-1/+5
| | | | | | | isEmpty(), as the latter returns true even if moveTo() has already been called on it, and webkit wants to treat that as non-empty.
* Fix crash in fast/canvas/canvas-empty-image-pattern.htmlAndrei Popescu2009-08-281-0/+2
|
* Revert "Compilation and link error fixes for new webkit r47420."Andrei Popescu2009-08-191-14/+3
| | | | This reverts commit 632f4508222c2a617e6820e9388867c0f4821db8.
* Compilation and link error fixes for new webkit r47420.Ben Murdoch2009-08-181-3/+14
|
* Fix the last of the linker errors !Ben Murdoch2009-08-171-0/+5
|
* Merge change 21484 into master-webkit-mergeAndroid (Google) Code Review2009-08-172-3/+3
|\ | | | | | | | | * changes: Fix FontCustomPlatformData.h as in https://bugs.webkit.org/show_bug.cgi?id=28065
| * Fix FontCustomPlatformData.h as in https://bugs.webkit.org/show_bug.cgi?id=28065Andrei Popescu2009-08-172-3/+3
| |
* | More build fixes.Ben Murdoch2009-08-173-3/+4
|/
* Fix some errors in platform/graphics/android.Ben Murdoch2009-08-172-3/+3
|
* explictly specify hinting (new api)Mike Reed2009-07-241-0/+1
|
* Merge change 5139Android (Google) Code Review2009-06-262-164/+11
|\ | | | | | | | | * changes: Implement fullscreen video. Currently only load() and play() are supported. The rest of the MediaPlayerPrivate functionality will be added in a later CL.
| * Implement fullscreen video. Currently only load() and play() are supported. ↵Andrei Popescu2009-06-252-164/+11
| | | | | | | | The rest of the MediaPlayerPrivate functionality will be added in a later CL.
* | rename setXfermode(Mode) to setXfermodeMode(...) for clarityMike Reed2009-06-242-5/+5
|/
* remove references to deprecated porterduffMike Reed2009-06-232-10/+9
|
* Enable video and audio elements in WebCoreAndrei Popescu2009-06-192-0/+253
|