summaryrefslogtreecommitdiff
path: root/chromium/plat_support
AgeCommit message (Collapse)Author
2017-04-13Use Canvas::captureCanvasState()Matt Sarett
Test: Verified that bug is fixed. Bug: 37268771 Change-Id: Id1f2dfecf2d71b5ced57e9fc957fd155ed1093d6
2016-05-12Fix misc-macro-parentheses warnings.Chih-Hung Hsieh
Bug: 28705665 Change-Id: I7f0f14a71b9a563bc64168c6515d339870b21380
2016-05-02Fix google-explicit-constructor warnings.Chih-Hung Hsieh
Bug: 28341362 Change-Id: I35376854b5e1a2a7ce49e09440632646f05c6d8f
2015-06-12Increment kAwDrawGLInfoVersionChris Craik
bug:17322378 Change-Id: I18e2311277dc015a74683a3f0ccc2d84605ef68c
2015-04-22Revert "Revert "GraphicsJNI update""John Reck
This reverts commit c2aae77521ed9db7157053968fe1070b8cac2d6a.
2015-04-17Revert "GraphicsJNI update"John Reck
This reverts commit 260be08b742bf725cf92239c50f47a8c07280130. Change-Id: I4a50e890a63d22ff517ae1bd53f00bf05d8553ff
2015-04-14GraphicsJNI updateJohn Reck
Change-Id: I72a6721d1130e7e87372beed492b42ac613695b7
2014-11-25Fork draw_gl.h/draw_sw.h.Marcin Kosiba
This is to make it possible to remove external/chromium_org sources. Change-Id: Id001c75a9f32788372c713b83ee6bc5cb9259122
2014-08-11Add version to public structsBo Liu
BUG: 16824451 Change-Id: I0bf1c06e120a48bf2f5c07e00ca0583ea1c891bb
2014-08-06Change function table assignment to allow new fieldsBo Liu
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
2014-07-28Add DrawGL kModeSyncBo Liu
BUG: 16526750 Change-Id: Id724f8bd80b3a7442156bd0fba379a5b9af72208
2014-05-06Switch to new call to determine shape of clip.Leon Scroggins
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
2014-04-29Use invokeFunctor instead of attachFunctorBo Liu
BUG: 13961296 Change-Id: I3fb6fde088ade1c239995131be326400366152a3
2014-03-25Fix JNI for jint to jlong conversionRoss McIlroy
Change-Id: Icc67260af28123edc1a92c2b95db0c9d9f7e88ab
2014-03-25 Convert jint to jlong for native pointers in GLFunctionTable to support 64 bRoss McIlroy
Corresponding Chromium change is: https://codereview.chromium.org/210023002 Change-Id: Ibe1b1bcbecb3257edbbd5bfee1b5b7da4505f5de Signed-off-by: Ross McIlroy <rmcilroy@google.com>
2014-03-21Convert pointers to long to support x64Bo Liu
This matches https://codereview.chromium.org/205533006/ Change-Id: I27382a8ffc09d7b24866d903cc1099d9a7483c5f
2014-03-03Make executeHardwareAction avaiable to AwContentsBo Liu
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
2013-11-26Remove dependency on UniquePtr.Ben Murdoch
Change-Id: Ic1ae9275216f9f33808083ceb88d0f34ff8eba0f
2013-10-23Optimize the complex clip caseJonathan Dixon
Bug 10152369 This can save considerable time on each draw Change-Id: Id195f1e691f1cbc92efcbfdf357fa93e01e4e241 (cherry picked from commit 3603a870e2edfac7b6430796971eca72b6d02924)
2013-09-12Merge master-chromium into master at r222756Torne (Richard Coles)
This commit was generated by merge_to_master.py. Change-Id: Ic5aa443a2c3226f2213b40627871fb6d31282d26
2013-09-11Use canonical UniquePtr.h fileKenny Root
Change-Id: Id738acf5c2990df81945404db4edef85b3f978ad
2013-09-06Raise NOFILE to hard limit (1024->4096) on draw functor attachBo Liu
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
2013-09-04Export canvas info via SkCanvasLayerStateJonathan Dixon
Depends on https://codereview.chromium.org/23789003 Change-Id: I19dc412e3019cc1718c638f5f146b99d41f70795
2013-08-23Temp fix for bug 10152369: Broken SW draw with multiple layersKristian Monsen
We didn't know this was possible. For now just early out with null. Change-Id: I9bce3130dc79c32e28c96a4755101d0dd5218126 (cherry picked from commit a77d0c1c7ac335e66004daf977fa86840f063304)
2013-08-10Remove use of obsolete clip_regionJonathan Dixon
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
2013-08-10Use new config and clip representationJonathan Dixon
Follow up to https://codereview.chromium.org/20234002/ to fill in the new clip and config representations. Change-Id: I081d1eb3ffa0454340caa67389f98bd61b2b2d29
2013-07-23Fix rendering error when Canvas has a layerJonathan Dixon
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
2013-06-04Return the GraphicBuffer stride in bytes instead of pixels.Kaan Baloglu
Change-Id: I4691c62ecda2dac88a46ff3423cc6488c7b031db
2013-05-22Fix platsupport GetPixels() to use the top deviceJonathan Dixon
This should make it respect Canvas layers applied for View Alpha. Change-Id: I9559ab0f515983d072b5d07e59f4cb1325fecce8
2013-05-21Use a public enum to pass in the map mode instead of an int. Fixes b/8633434Kaan Baloglu
Change-Id: Ifbe7c7752effe3fe3e9ca722b9c5c611819fc5e6
2013-05-20Make function pointers in DrawGLFunctionTable all NULL before we change the ↵Kaan Baloglu
method types Change-Id: Ie7bd4d792c38c198e425efe3b9812c4475802c58
2013-04-16Implementation of the graphic buffer interface for ccKaan Baloglu
Change-Id: Ic023e690448abbbae8689d13b3357ec497808ea7
2013-02-05Update the onNewPicture callback to support external native SkPictures.Leandro Gracia Gil
Needs to be landed after https://codereview.chromium.org/11823027/ . Change-Id: I1febd5330e61e84733d11b835142cb05cf21795e
2012-12-26Revert "Revert "Connect up DrawSW interface""Jonathan Dixon
This re-lands Ie9e6a28213167e0e7eaf9d91668466935d14fe38 as the dependent change has now rolled into android tree. Change-Id: I121d7de9c1428e773fde54653d7e60fa898c7acd
2012-12-26Revert "Connect up DrawSW interface"Jonathan Dixon
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
2012-12-24Connect up DrawSW interfaceJonathan Dixon
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
2012-11-12Plumb through the glue layer functor to AwContentsJonathan Dixon
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