Searched refs:CanvasContext (Results 1 - 19 of 19) 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);
86 CanvasContext* mContext;
H A DRenderProxy.cpp25 #include "renderthread/CanvasContext.h"
66 return CanvasContext::create(*args->thread, args->translucent,
78 mContext = (CanvasContext*) postAndWait(task);
86 CREATE_BRIDGE1(destroyContext, CanvasContext* context) {
103 CREATE_BRIDGE2(setSwapBehavior, CanvasContext* context, SwapBehavior swapBehavior) {
115 CREATE_BRIDGE1(loadSystemProperties, CanvasContext* context) {
132 CREATE_BRIDGE2(setName, CanvasContext* context, const char* name) {
144 CREATE_BRIDGE2(initialize, CanvasContext* context, Surface* surface) {
156 CREATE_BRIDGE2(updateSurface, CanvasContext* context, Surface* surface) {
168 CREATE_BRIDGE2(pauseSurface, CanvasContext* contex
[all...]
H A DDrawFrameTask.cpp25 #include "CanvasContext.h"
42 void DrawFrameTask::setContext(RenderThread* thread, CanvasContext* context,
70 LOG_ALWAYS_FATAL_IF(!mContext, "Cannot drawFrame with no CanvasContext!");
97 CanvasContext* context = mContext;
H A DCanvasContext.h64 class CanvasContext : public IFrameCallback { class in namespace:android::uirenderer::renderthread
66 static CanvasContext* create(RenderThread& thread, bool translucent,
68 virtual ~CanvasContext();
200 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
221 // stopped indicates the CanvasContext will reject actual redraw operations,
224 // CanvasContext is dirty if it has received an update that it has not
H A DRenderThread.h49 class CanvasContext;
H A DRenderProxy.h34 #include "CanvasContext.h"
148 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"
247 renderthread::CanvasContext::destroyLayer(this);
278 // That might be us, so tell CanvasContext that this layer is in the
402 renderthread::CanvasContext::destroyLayer(this);
412 renderthread::CanvasContext::destroyLayer(this);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h49 class CanvasContext;
89 void registerCanvasContext(renderthread::CanvasContext* context) {
93 void unregisterCanvasContext(renderthread::CanvasContext* context) {
143 std::set<renderthread::CanvasContext*> mRegisteredContexts;
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.cpp19 #include "renderthread/CanvasContext.h"
40 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 517 milliseconds