summaryrefslogtreecommitdiff
path: root/libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp
AgeCommit message (Collapse)Author
2021-05-22Use TraceUtils.h from gui shared library.rnlee
Test: It makes Bug: 183120308 Change-Id: I331262dd2da59817031f0c708f4c102041dcb5e0
2021-01-29Modernize calls to drawImageMike Reed
1. drawBitmap --> drawImage 2. drawImage now always requires sampling parameter Bug:178700363 Test: make Change-Id: I96f610a180b3774ba955cc334949fd62b1cf4d69
2020-09-18Migrate from SkCanvas::getGrContext to SkCanvas::recordingContextAdlai Holler
This is part of API cleanup as we make DDL usage more mainstream in Skia. Since Android doesn't use DDLs, the cast from recordingContext to directContext will always succeed and there's no functional change. Change-Id: Ie585cf6c97d01fecf082f146d5692999371fd39d
2020-06-26Remove legacy callDrawGlFunction2 from HWUIJohn Reck
Bug: 151439970 Test: CtsUiRenderingTestCases passes Change-Id: I1c29df17bb6e8b078467edf73cb3547db6948cdd
2020-03-30Use ANDROID_get_native_client_buffer in HWUIAlec Mouri
ReliableSurface still needs AHardwareBuffer_to_ANativeWindowBuffer to safely convert to an ANativeWindowBuffer to interop with the interception methods, but when converting to EGLClientBuffer the EGL extension should be used instead. Bug: 152802621 Test: builds, boots Change-Id: I49cfeee4d7e5d4e793891771686c2286d4ac79af
2020-03-05Merge "[HWUI] remove libui from HWUI's dependencies"TreeHugger Robot
2020-03-01[HWUI] remove libui from HWUI's dependenciesAlec Mouri
Bug: 136263238 Test: builds Test: interact with device Change-Id: I18540f78a4ee5ffcc30c96ff7862480e1d8fe50a
2020-02-22opt into public SkM44Mike Reed
Landing this allows Skia to remove include/private/SkM44.h Test: make Change-Id: I05881e6ae7844231a6f092aaf67c14ca46244b0f
2020-01-22extend recordingcanvas overrides for mat4Mike Reed
Note: SkCanvas now tracks a real 4x4, so android could consider using it Test: make Change-Id: I6e201f2feec4fb4663f5d3e62fe0ffef5ef9a33f
2019-01-24Add color space params to webview gl functorBo Liu
Bug: 111436479 Test: Compiles Change-Id: I6713afbb871a5c7027bac1e0f52ce2a841f38e25
2019-01-09Make sure interop path works with draw_fnBo Liu
plat_support to pass through the GL functor even if hwui is using vulkan pipeline, since interop calls the GL functor. Also remove sGLDrawThread and call functor on render thread, since onDestroy and onContextDestroy are currently hard coded to run on render thread as well, and functor expects all calls to be called on a single thread. Bug: 115613038 Test: draw_fn functor works with vulkan enabled Change-Id: Ie3fa643695e95a6cc383f7ffe3eb3ad741792707
2018-12-14New WebViewFunctor APIJohn Reck
Should function alongside existing functor API. Bug: 120997728 Test: hwuiunit passes Change-Id: I8f6143d0be1111431b55016f34de319f6b8c8910
2018-12-05Fix bug in synchronization code for Vulkan WebViewStan Iliev
Test: Ran Gmail with Vulkan Change-Id: I5691819a1b34128bb840f4f2cd04f2edb971edaf
2018-12-03Remove ; from closing namespaces in libs/hwuiChris Blume
When closing a namespace a } is sufficient. It doesn't need to be }; like closing a class or enum. Within frameworks/base/libs/hwui there is a mix between } and }; when closing a namespace. There are even mixes between a .h and the corresponding .cpp files. In a separate CL I was asked to not close with };. That was a good comment. I adopted the style from nearby code. This CL cleans up the nearby code. Test: I made sure the code still built as expected. Change-Id: Ieb314a4f48d6e33752463f3be4361fdc9be97482
2018-11-06Fix VkInteropFunctorDrawable log messagesChris Blume
I previously renamed VkFunctorDrawable->VkInteropFunctorDrawable but I didn't update the log messages which include that class name. This patch fixes those log messages. Test: This only changes string values and doesn't effect any testing. BUG=115613038 Change-Id: If18fbd3689db328c144495383b0f92675b48f8e9
2018-11-06Rename VkFunctorDrawable->VkInteropFunctorDrawableChris Blume
The Vulkan functor is currently doing interop, calling into the real OpenGL functor. We will be adding a real, non-interop Vulkan functor soon. In order to enable that, this patch renames the existing VkFunctorDrawable to VkInteropFunctorDrawable. That allows us to use the name VkFunctorDrawable for the real functor. Test: This is a simple rename. Existing unit tests should work. BUG=115613038 Change-Id: I427ad4d17ee92c3832e7bace55450b41a036f557