Searched defs:ContextFactory (Results 1 - 7 of 7) sorted by relevance

/frameworks/compile/mclinker/include/mcld/MC/
H A DContextFactory.h1 //===- ContextFactory.h ---------------------------------------------------===//
17 /** \class ContextFactory
18 * \brief ContextFactory avoids the duplicated LDContext of the same file.
24 * ContextFactory is the guard to prevent redundant opening. MCLinker does not
25 * create LDContext directly. Instead, it creates LDContext by ContextFactory.
26 * ContextFactory returns the identical reference of LDContext if it's openend.
31 class ContextFactory : public UniqueGCFactoryBase<sys::fs::Path, LDContext, 0> { class in namespace:mcld
33 explicit ContextFactory(size_t pNum);
34 ~ContextFactory();
/frameworks/compile/mclinker/lib/MC/
H A DContextFactory.cpp1 //===- ContextFactory.cpp -------------------------------------------------===//
9 #include "mcld/MC/ContextFactory.h"
17 ContextFactory::ContextFactory(size_t pNum) function in class:mcld::ContextFactory
21 ContextFactory::~ContextFactory() {
24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) {
34 LDContext* ContextFactory::produce(const char* pPath) {
38 LDContext* ContextFactory::produce() {
/frameworks/base/libs/hwui/tests/
H A Dmain.cpp37 class ContextFactory : public IContextFactory { class in inherits:IContextFactory
90 ContextFactory factory;
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java71 setEGLContextFactory(new ContextFactory());
78 private static class ContextFactory implements GLSurfaceView.EGLContextFactory { class in class:GL2JNIView
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java71 setEGLContextFactory(new ContextFactory());
78 private static class ContextFactory implements GLSurfaceView.EGLContextFactory { class in class:GLPerfView
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java74 setEGLContextFactory(new ContextFactory());
81 private static class ContextFactory implements GLSurfaceView.EGLContextFactory { class in class:GLDualGL2View
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp469 class ContextFactory : public IContextFactory { class in namespace:android::uirenderer
479 ContextFactory factory;

Completed in 286 milliseconds