• Home
  • History
  • Annotate
  • only in /frameworks/webview/chromium/plat_support/
History log of /frameworks/webview/chromium/plat_support/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
df44c7670d1fa36fffb614ce04bf16ba25ef65d0 11-Aug-2014 Bo Liu <boliu@google.com> Add version to public structs

BUG: 16824451

Change-Id: I0bf1c06e120a48bf2f5c07e00ca0583ea1c891bb
raw_gl_functor.cpp
raphics_utils.cpp
4cb347aeb733d199418472de549c24a31d3e7477 06-Aug-2014 Bo Liu <boliu@google.com> Change function table assignment to allow new fields

Write the function table assignment statements to allow new fields to be
added without modifying code here. Had to make the static structs
non-const.

Change-Id: I10d38caa9817f3835c4cf0e6e9418998a5452d10
raphics_utils.cpp
5946ee9deb44f66965e1adec70feb6ded495ae67 24-Jul-2014 Bo Liu <boliu@google.com> Add DrawGL kModeSync

BUG: 16526750

Change-Id: Id724f8bd80b3a7442156bd0fba379a5b9af72208
raw_gl_functor.cpp
e841604a0e87664b009fe713167db941a41604b4 31-Mar-2014 Leon Scroggins <scroggo@google.com> Switch to new call to determine shape of clip.

SkCanvas::getTotalClip() has been removed. We only need to know
whether the clip is a rect, so call the new SkCanvas::isClipRect().

Depends on changes to frameworks/base and external/skia.

Change-Id: Ifd78028adeca2474d3f476f6f5e571c9a1c849bf
raphics_utils.cpp
5c5385f3e5f86c5183408e52f76f1bb7798cda9a 28-Apr-2014 Bo Liu <boliu@google.com> Use invokeFunctor instead of attachFunctor

BUG: 13961296

Change-Id: I3fb6fde088ade1c239995131be326400366152a3
raw_gl_functor.cpp
58702ab5d6fe80a179dff41ec1741cf3cd7bf3df 25-Mar-2014 Ross McIlroy <rmcilroy@google.com> Fix JNI for jint to jlong conversion

Change-Id: Icc67260af28123edc1a92c2b95db0c9d9f7e88ab
raphics_utils.cpp
2ddcc98cb29e567ea545b3eba2fedc576d1f5365 24-Mar-2014 Ross McIlroy <rmcilroy@google.com> Convert jint to jlong for native pointers in GLFunctionTable to support 64 b

Corresponding Chromium change is: https://codereview.chromium.org/210023002

Change-Id: Ibe1b1bcbecb3257edbbd5bfee1b5b7da4505f5de
Signed-off-by: Ross McIlroy <rmcilroy@google.com>
raphic_buffer_impl.cpp
raphic_buffer_impl.h
raphics_utils.cpp
3579d6fb5d979d2d03a6250e82c37d81d672291e 21-Mar-2014 Bo Liu <boliu@google.com> Convert pointers to long to support x64

This matches https://codereview.chromium.org/205533006/

Change-Id: I27382a8ffc09d7b24866d903cc1099d9a7483c5f
raw_gl_functor.cpp
7a63db1dc253badb616ca318e59f55580ae0b054 28-Feb-2014 Bo Liu <boliu@google.com> Make executeHardwareAction avaiable to AwContents

Removed wrapping all of onDetachedFromWindow with executeHardwareAction,
since upstream code will have finer control on what code to wrap
executeHardwareAction in.

Also take this opportunity to clean up native public interface.

This is the first of a 3-sided patch. The upstream change is at
https://codereview.chromium.org/185133003/

Change-Id: Ie0731a9546aefa7b195c9fd43bfc5c0a72745fd1
raw_gl_functor.cpp
raphics_utils.cpp
8ec5fb8559251164082b3f050c090ceb740a14e8 26-Nov-2013 Ben Murdoch <benm@google.com> Remove dependency on UniquePtr.

Change-Id: Ic1ae9275216f9f33808083ceb88d0f34ff8eba0f
raphics_utils.cpp
86abeb66b6f8237f85ccce79495f15ace437a96a 07-Sep-2013 Jonathan Dixon <joth@google.com> Optimize the complex clip case

Bug 10152369

This can save considerable time on each draw

Change-Id: Id195f1e691f1cbc92efcbfdf357fa93e01e4e241
(cherry picked from commit 3603a870e2edfac7b6430796971eca72b6d02924)
raphics_utils.cpp
2479270939ee95cbf8f7f1f2f20d7d68b66bb1d2 12-Sep-2013 Torne (Richard Coles) <torne@google.com> Merge master-chromium into master at r222756

This commit was generated by merge_to_master.py.

Change-Id: Ic5aa443a2c3226f2213b40627871fb6d31282d26
a68073f3c0ef06b8a5c0a6c71cf33bc1f37664b9 12-Sep-2013 Kenny Root <kroot@google.com> Use canonical UniquePtr.h file

Change-Id: Id738acf5c2990df81945404db4edef85b3f978ad
raphics_utils.cpp
64511fa442b9937f0e6d8449ec0c230767f0cfa9 07-Sep-2013 Bo Liu <boliu@google.com> Raise NOFILE to hard limit (1024->4096) on draw functor attach

This is needed since gralloc buffers take 2 file handles on qualcomm,
and 1024 / 2 which is too low for using as tiles.

Change-Id: Ib38dc4dfde96cb4be32adb2bb85e5ed77a8c3159
raw_gl_functor.cpp
a4f187ef3723a330f2145cea5a4f83e486199137 30-Aug-2013 Jonathan Dixon <joth@google.com> Export canvas info via SkCanvasLayerState

Depends on https://codereview.chromium.org/23789003

Change-Id: I19dc412e3019cc1718c638f5f146b99d41f70795
raphics_utils.cpp
e7724b41b327660a3b3d6d4f0580da7cbe03be64 15-Aug-2013 Kristian Monsen <kristianm@google.com> Temp fix for bug 10152369: Broken SW draw with multiple layers

We didn't know this was possible. For now just early out with null.

Change-Id: I9bce3130dc79c32e28c96a4755101d0dd5218126
(cherry picked from commit a77d0c1c7ac335e66004daf977fa86840f063304)
raphics_utils.cpp
364e97a049927e74db4888d19c2f4cee17e91a27 11-Aug-2013 Jonathan Dixon <joth@google.com> Remove use of obsolete clip_region

To allow it to be removed upstream in a single patch, switch to using
memset(0) rather than explicitly zeroing the obsolete members.

Change-Id: I632699a2d6bdde8649e0b116756d6dafee8232c9
raphics_utils.cpp
5c324e7af9e99afec4caf6cd48aecf2d1a596b28 25-Jul-2013 Jonathan Dixon <joth@google.com> Use new config and clip representation

Follow up to https://codereview.chromium.org/20234002/ to fill in the
new clip and config representations.

Change-Id: I081d1eb3ffa0454340caa67389f98bd61b2b2d29
raphics_utils.cpp
52dbec0d199461e4631cec25f8f0706c8ece3029 23-Jul-2013 Jonathan Dixon <joth@google.com> Fix rendering error when Canvas has a layer

Bug: 9953588

We were using the top device to access bitmap (good) but then using the
aggregate layer-stack of matrix and clip (bad).
Now consistently uses the top layer to get all this information.

Change-Id: Ia093cd334965e338ff2714cc023330836ffac27a
raphics_utils.cpp
21924076a888ad00382329c8689dda28222844b0 05-Jun-2013 Kaan Baloglu <kaanb@google.com> Return the GraphicBuffer stride in bytes instead of pixels.

Change-Id: I4691c62ecda2dac88a46ff3423cc6488c7b031db
raphic_buffer_impl.cpp
180eb4e3cdced9486534148b388de3250c3e78d5 22-May-2013 Jonathan Dixon <joth@google.com> Fix platsupport GetPixels() to use the top device

This should make it respect Canvas layers applied for View Alpha.

Change-Id: I9559ab0f515983d072b5d07e59f4cb1325fecce8
raphics_utils.cpp
1cc1c4153a26307948af9f1ee6d9cde7a7103b94 21-May-2013 Kaan Baloglu <kaanb@google.com> Use a public enum to pass in the map mode instead of an int. Fixes b/8633434

Change-Id: Ifbe7c7752effe3fe3e9ca722b9c5c611819fc5e6
raphic_buffer_impl.cpp
raphic_buffer_impl.h
raphics_utils.cpp
fd26b08cf356142dbdd1ea2274b24988f013fe53 18-May-2013 Kaan Baloglu <kaanb@google.com> Make function pointers in DrawGLFunctionTable all NULL before we change the method types

Change-Id: Ie7bd4d792c38c198e425efe3b9812c4475802c58
raphics_utils.cpp
c5cde8c18df853e11d1ec528508fd0fe2e742d5c 22-Feb-2013 Kaan Baloglu <kaanb@google.com> Implementation of the graphic buffer interface for cc

Change-Id: Ic023e690448abbbae8689d13b3357ec497808ea7
raphic_buffer_impl.cpp
raphic_buffer_impl.h
raphics_utils.cpp
f15e28c8d30c2ccea58871c9d22f8b47e53d6ea4 09-Jan-2013 Leandro Gracia Gil <leandrogracia@google.com> Update the onNewPicture callback to support external native SkPictures.

Needs to be landed after https://codereview.chromium.org/11823027/ .

Change-Id: I1febd5330e61e84733d11b835142cb05cf21795e
raphics_utils.cpp
991b0c63bb8c0b0d8577a255b026117e9f37cece 27-Dec-2012 Jonathan Dixon <joth@google.com> Revert "Revert "Connect up DrawSW interface""

This re-lands Ie9e6a28213167e0e7eaf9d91668466935d14fe38 as the dependent change has now rolled into android tree.

Change-Id: I121d7de9c1428e773fde54653d7e60fa898c7acd
raw_gl_functor.cpp
raphics_utils.cpp
ni_entry_point.cpp
d72ea1e90563e7d3056eef86c3c7dd0c526b718f 26-Dec-2012 Jonathan Dixon <joth@google.com> Revert "Connect up DrawSW interface"

This reverts commit 8a8a1f9b5ea238437196790b89f4dbec78fda4e9

The dependent patch hadn't yet rolled into Android tree - will re-land this one when it does.

Change-Id: If4241162a9c26997cdd6636b17cbd4182ac85096
raw_gl_functor.cpp
raphics_utils.cpp
ni_entry_point.cpp
8a8a1f9b5ea238437196790b89f4dbec78fda4e9 22-Dec-2012 Jonathan Dixon <joth@google.com> Connect up DrawSW interface

Depends on https://codereview.chromium.org/11665020

Provides the underlying code with direct access to native bitmap
pixels that back the java Canvas.

Change-Id: Ie9e6a28213167e0e7eaf9d91668466935d14fe38
raw_gl_functor.cpp
raphics_utils.cpp
ni_entry_point.cpp
a2b0d0b4d6d1ff22fbb1329e358e1cc0a112aab3 12-Nov-2012 Jonathan Dixon <joth@google.com> Plumb through the glue layer functor to AwContents

Adds new glue-layer .so and code to load it from Java.
Depends on upstream patch https://codereview.chromium.org/11358118/
Together these changes provide all the plumbing needed to get GL
functor calls through to the chromium backend.

Change-Id: I1899d59ab6f13de6d9fb07147d36b08504ef955e
raw_gl_functor.cpp
ni_entry_point.cpp