History log of /frameworks/webview/chromium/plat_support/graphics_utils.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c145cb7903d199fe5712b6bb98920caa8a47fddc 13-Apr-2017 Matt Sarett <msarett@google.com> Use Canvas::captureCanvasState()

Test: Verified that bug is fixed.

Bug: 37268771

Change-Id: Id1f2dfecf2d71b5ced57e9fc957fd155ed1093d6
(cherry picked from commit 3c0c39a4f6026ea3b2fa6f3049b7a8710c98bba8)
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
6d0b3e2ec99c0d6c11faa12f207246ee83d042ac 03-May-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I35376854b5e1a2a7ce49e09440632646f05c6d8f
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
165a43df7df4aa5121697893c31b9571492939bc 22-Apr-2015 John Reck <jreck@google.com> Revert "Revert "GraphicsJNI update""

This reverts commit c2aae77521ed9db7157053968fe1070b8cac2d6a.
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
c2aae77521ed9db7157053968fe1070b8cac2d6a 17-Apr-2015 John Reck <jreck@google.com> Revert "GraphicsJNI update"

This reverts commit 260be08b742bf725cf92239c50f47a8c07280130.

Change-Id: I4a50e890a63d22ff517ae1bd53f00bf05d8553ff
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
260be08b742bf725cf92239c50f47a8c07280130 14-Apr-2015 John Reck <jreck@google.com> GraphicsJNI update

Change-Id: I72a6721d1130e7e87372beed492b42ac613695b7
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
e4be25a7c5d547be06ed43166d82237cb08ad38a 25-Nov-2014 Marcin Kosiba <mkosiba@google.com> Fork draw_gl.h/draw_sw.h.

This is to make it possible to remove external/chromium_org sources.

Change-Id: Id001c75a9f32788372c713b83ee6bc5cb9259122
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
df44c7670d1fa36fffb614ce04bf16ba25ef65d0 11-Aug-2014 Bo Liu <boliu@google.com> Add version to public structs

BUG: 16824451

Change-Id: I0bf1c06e120a48bf2f5c07e00ca0583ea1c891bb
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_utils.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
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
58702ab5d6fe80a179dff41ec1741cf3cd7bf3df 25-Mar-2014 Ross McIlroy <rmcilroy@google.com> Fix JNI for jint to jlong conversion

Change-Id: Icc67260af28123edc1a92c2b95db0c9d9f7e88ab
/frameworks/webview/chromium/plat_support/graphics_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>
/frameworks/webview/chromium/plat_support/graphics_utils.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
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
8ec5fb8559251164082b3f050c090ceb740a14e8 26-Nov-2013 Ben Murdoch <benm@google.com> Remove dependency on UniquePtr.

Change-Id: Ic1ae9275216f9f33808083ceb88d0f34ff8eba0f
/frameworks/webview/chromium/plat_support/graphics_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)
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_utils.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
/frameworks/webview/chromium/plat_support/graphics_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)
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_utils.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
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_utils.cpp
c5cde8c18df853e11d1ec528508fd0fe2e742d5c 22-Feb-2013 Kaan Baloglu <kaanb@google.com> Implementation of the graphic buffer interface for cc

Change-Id: Ic023e690448abbbae8689d13b3357ec497808ea7
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_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
/frameworks/webview/chromium/plat_support/graphics_utils.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
/frameworks/webview/chromium/plat_support/graphics_utils.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
/frameworks/webview/chromium/plat_support/graphics_utils.cpp