Searched refs:CanvasContext (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DCanvasContextTests.cpp21 #include "renderthread/CanvasContext.h"
35 RENDERTHREAD_TEST(CanvasContext, create) {
38 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
46 RENDERTHREAD_TEST(CanvasContext, invokeFunctor) {
48 CanvasContext::invokeFunctor(renderThread, &functor);
H A DRenderNodeTests.cpp25 #include "renderthread/CanvasContext.h"
280 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
316 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
H A DRenderNodeDrawableTests.cpp26 #include "renderthread/CanvasContext.h"
319 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
434 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
523 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
540 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
H A DSkiaDisplayListTests.cpp24 #include "renderthread/CanvasContext.h"
118 std::unique_ptr<CanvasContext> canvasContext(CanvasContext::create(
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp18 #include "CanvasContext.h"
66 CanvasContext* CanvasContext::create(RenderThread& thread,
73 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory,
76 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory,
79 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory,
88 void CanvasContext::destroyLayer(RenderNode* node) {
104 void CanvasContext::invokeFunctor(const RenderThread& thread, Functor* functor) {
123 void CanvasContext::prepareToDraw(const RenderThread& thread, Bitmap* bitmap) {
139 CanvasContext function in class:android::uirenderer::renderthread::CanvasContext
[all...]
H A DDrawFrameTask.h40 class CanvasContext;
63 void setContext(RenderThread* thread, CanvasContext* context, RenderNode* targetNode);
83 CanvasContext* mContext;
H A DRenderProxy.cpp24 #include "renderthread/CanvasContext.h"
65 return CanvasContext::create(*args->thread, args->translucent,
77 mContext = (CanvasContext*) postAndWait(task);
85 CREATE_BRIDGE1(destroyContext, CanvasContext* context) {
102 CREATE_BRIDGE2(setSwapBehavior, CanvasContext* context, SwapBehavior swapBehavior) {
114 CREATE_BRIDGE1(loadSystemProperties, CanvasContext* context) {
131 CREATE_BRIDGE2(setName, CanvasContext* context, const char* name) {
143 CREATE_BRIDGE2(initialize, CanvasContext* context, Surface* surface) {
155 CREATE_BRIDGE2(updateSurface, CanvasContext* context, Surface* surface) {
167 CREATE_BRIDGE2(pauseSurface, CanvasContext* contex
[all...]
H A DDrawFrameTask.cpp25 #include "CanvasContext.h"
41 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context,
69 LOG_ALWAYS_FATAL_IF(!mContext, "Cannot drawFrame with no CanvasContext!");
96 CanvasContext* context = mContext;
H A DCanvasContext.h65 class CanvasContext : public IFrameCallback { class in namespace:android::uirenderer::renderthread
67 static CanvasContext* create(RenderThread& thread, bool translucent,
69 virtual ~CanvasContext();
198 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
219 // stopped indicates the CanvasContext will reject actual redraw operations,
222 // CanvasContext is dirty if it has received an update that it has not
H A DRenderThread.h46 class CanvasContext;
H A DRenderProxy.h34 #include "CanvasContext.h"
144 CanvasContext* mContext;
/frameworks/base/libs/hwui/
H A DTreeInfo.h29 class CanvasContext;
70 TreeInfo(TraversalMode mode, renderthread::CanvasContext& canvasContext)
80 renderthread::CanvasContext& canvasContext;
107 // NOTE that if this is false CanvasContext will set either requiresUiRedraw
H A DDisplayList.h122 virtual bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) {
H A DRenderNode.cpp30 #include "renderthread/CanvasContext.h"
246 renderthread::CanvasContext::destroyLayer(this);
277 // That might be us, so tell CanvasContext that this layer is in the
401 renderthread::CanvasContext::destroyLayer(this);
411 renderthread::CanvasContext::destroyLayer(this);
H A DAndroid.mk40 renderthread/CanvasContext.cpp \
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h48 class CanvasContext;
87 void registerCanvasContext(renderthread::CanvasContext* context) {
91 void unregisterCanvasContext(renderthread::CanvasContext* context) {
141 std::set<renderthread::CanvasContext*> mRegisteredContexts;
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.cpp19 #include "renderthread/CanvasContext.h"
39 bool SkiaDisplayList::reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) {
H A DSkiaDisplayList.h92 bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) override;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp31 #include <renderthread/CanvasContext.h>
H A Dandroid_view_ThreadedRenderer.cpp52 #include <renderthread/CanvasContext.h>

Completed in 5204 milliseconds