/external/skia/src/gpu/gl/mesa/ |
SkMesaGLContext.cpp | 17 : fContext(static_cast<Context>(0)) 24 fContext = (Context)OSMesaCreateContextExt(OSMESA_BGRA, 0, 0, 0, nullptr); 26 fContext = (Context)OSMesaCreateContext(OSMESA_BGRA, nullptr); 28 if (!fContext) { 43 if (!OSMesaMakeCurrent((OSMesaContext)fContext, 80 if (fContext) { 81 OSMesaDestroyContext((OSMesaContext)fContext); 82 fContext = static_cast<Context>(0); 89 if (fContext) { 90 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage [all...] |
SkMesaGLContext.h | 39 Context fContext;
|
/external/skia/src/gpu/ |
GrSoftwarePathRenderer.h | 23 : fContext(context) { 35 GrContext* fContext;
|
GrTest.h | 35 GrResourceProvider* resourceProvider() { return fContext->resourceProvider(); } 38 SkAutoTUnref<GrContext> fContext;
|
GrDrawingManager.cpp | 113 SkASSERT(fContext); 127 GrDrawTarget* dt = new GrDrawTarget(rt, fContext->getGpu(), fContext->resourceProvider(), 128 fContext->getAuditTrail(), fOptionsForDrawTargets); 148 fPathRendererChain = new GrPathRendererChain(fContext); 154 fSoftwarePathRenderer = new GrSoftwarePathRenderer(fContext); 174 if (useDIF && fContext->caps()->shaderCaps()->pathRenderingSupport() && 176 GrStencilAttachment* sb = fContext->resourceProvider()->attachStencilAttachment(rt); 178 return new GrPathRenderingDrawContext(fContext, this, rt, surfaceProps, 179 fContext->getAuditTrail(), fSingleOwner) [all...] |
GrDrawingManager.h | 40 GrContext* getContext() { return fContext; } 52 : fContext(context) 72 GrContext* fContext;
|
GrSWMaskHelper.h | 45 : fContext(context) 106 GrContext* fContext;
|
GrTextureParamsAdjuster.h | 182 , fContext(context) {} 202 GrContext* context() const { return fContext; } 205 GrContext* fContext;
|
/external/skia/src/gpu/gl/mac/ |
SkCreatePlatformGLContext_mac.cpp | 30 CGLContextObj fContext; 35 : fContext(nullptr) 54 CGLCreateContext(pixFormat, nullptr, &fContext); 57 if (nullptr == fContext) { 62 CGLSetCurrentContext(fContext); 89 if (fContext) { 90 CGLReleaseContext(fContext); 91 fContext = nullptr; 99 CGLSetCurrentContext(fContext); 103 CGLFlushDrawable(fContext); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
NamespaceSupport.java | 69 * @see #fContext
87 protected int[] fContext = new int[8];
114 fContext[fCurrentContext] = fNamespaceSize;
133 if (fCurrentContext + 1 == fContext.length) {
134 int[] contextarray = new int[fContext.length * 2];
135 System.arraycopy(fContext, 0, contextarray, 0, fContext.length);
136 fContext = contextarray;
140 fContext[++fCurrentContext] = fNamespaceSize;
149 fNamespaceSize = fContext[fCurrentContext--]; [all...] |
/external/skia/src/gpu/gl/glx/ |
SkCreatePlatformGLContext_glx.cpp | 59 GLXContext fContext; 66 : fContext(nullptr) 72 GLXContext glxShareContext = shareContext ? shareContext->fContext : nullptr; 176 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); 193 fContext = glXCreateContextAttribsARB(fDisplay, bestFbc, glxShareContext, True, 214 fContext = 221 if (!ctxErrorOccurred && fContext) { 233 if (ctxErrorOccurred || !fContext) { 242 fContext = glXCreateContextAttribsARB(fDisplay, bestFbc, glxShareContext, True, 254 if (ctxErrorOccurred || !fContext) { [all...] |
/external/icu/icu4c/source/i18n/ |
digitlst.cpp | 69 uprv_decContextDefault(&fContext, DEC_INIT_BASE); 70 fContext.traps = 0; 71 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); 72 fContext.digits = fStorage.getCapacity(); 104 uprv_memcpy(&fContext, &other.fContext, sizeof(decContext)); 109 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 110 // because above we copied fContext from other.fContext. 111 fContext.digits = fStorage.getCapacity() [all...] |
/external/skia/bench/ |
GrResourceCacheBench.cpp | 119 fContext.reset(GrContext::CreateMockContext()); 120 if (!fContext) { 124 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30); 126 GrResourceCache* cache = fContext->getResourceCache(); 132 GrGpu* gpu = fContext->getGpu(); 138 if (!fContext) { 141 GrResourceCache* cache = fContext->getResourceCache(); 154 SkAutoTUnref<GrContext> fContext;
|
/external/skia/src/gpu/gl/angle/ |
SkANGLEGLContext.cpp | 68 : fContext(EGL_NO_CONTEXT) 101 fContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); 112 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); 145 EGLCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, 199 if (fContext) { 200 eglDestroyContext(fDisplay, fContext); 201 fContext = EGL_NO_CONTEXT; 215 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
|
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/ |
SkOSWindow_AndroidNative.cpp | 14 fWindow.fContext = EGL_NO_CONTEXT; 129 fWindow.fContext = context; 134 if (fWindow.fDisplay && fWindow.fContext && fWindow.fSurface) { 155 if (fWindow.fContext != EGL_NO_CONTEXT) { 156 eglDestroyContext(fWindow.fDisplay, fWindow.fContext); 164 fWindow.fContext = EGL_NO_CONTEXT; 169 if (fWindow.fDisplay != EGL_NO_DISPLAY && fWindow.fContext != EGL_NO_CONTEXT) {
|
/external/skia/tools/VisualBench/ |
VisualBench.cpp | 128 fContext.reset(GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fInterface.get())); 129 SkASSERT(fContext); 136 if (fContext) { 138 fContext->abandonContext(); 139 fContext.reset(); 147 if (fContext) { 148 fRenderTarget.reset(this->renderTarget(fAttachmentInfo, fInterface, fContext));
|
/external/skia/src/gpu/gl/egl/ |
SkCreatePlatformGLContext_egl.cpp | 55 EGLContext fContext; 61 : fContext(EGL_NO_CONTEXT) 144 fContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, kAPIs[api].fContextAttribs); 145 if (EGL_NO_CONTEXT == fContext) { 163 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 196 if (fContext) { 197 eglDestroyContext(fDisplay, fContext); 198 fContext = EGL_NO_CONTEXT; 219 EGLCreateImage(fDisplay, fContext, GR_EGL_GL_TEXTURE_2D, clientBuffer, attribs)); 264 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { [all...] |
/external/skia/example/ |
HelloWorld.cpp | 43 SkSafeUnref(fContext); 44 fContext = NULL; 76 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fInterface); 77 SkASSERT(NULL != fContext); 85 fRenderTarget = this->renderTarget(fAttachmentInfo, fInterface, fContext); 153 fContext->flush();
|
HelloWorld.h | 64 GrContext* fContext;
|
/external/skia/include/views/ |
SkOSWindow_Android.h | 18 EGLContext fContext;
|
/external/skia/experimental/SkV8Example/ |
Global.h | 43 return v8::Local<v8::Context>::New(fIsolate, fContext); 72 v8::Persistent<v8::Context> fContext;
|
/external/skia/src/gpu/gl/command_buffer/ |
SkCommandBufferGLContext.cpp | 147 : fContext(EGL_NO_CONTEXT) 245 fContext = gfCreateContext(fDisplay, static_cast<EGLConfig>(fConfig), nullptr, contextAttribs); 246 if (EGL_NO_CONTEXT == fContext) { 252 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 286 if (EGL_NO_CONTEXT != fContext) { 287 gfDestroyContext(fDisplay, fContext); 288 fContext = EGL_NO_CONTEXT; 310 if (!gfMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 340 return gfMakeCurrent(fDisplay, fSurface, fSurface, fContext) != EGL_FALSE;
|
/external/skia/experimental/iOSSampleApp/ |
SkSampleUIView.h | 20 EAGLContext* fContext;
|
/external/skia/include/gpu/gl/angle/ |
SkANGLEGLContext.h | 53 void* fContext;
|
/external/skia/include/gpu/gl/command_buffer/ |
SkCommandBufferGLContext.h | 67 void* fContext;
|