/external/chromium_org/third_party/skia/tools/timer/ |
GpuTimer.cpp | 12 GpuTimer::GpuTimer(const SkGLContextHelper* glctx) : fContext(glctx) { 13 if (fContext) { 14 fContext->ref(); 15 fContext->makeCurrent(); 17 fSupported = GrGLGetVersion(fContext->gl()) > GR_GL_VER(3,3) || 18 fContext->hasExtension("GL_ARB_timer_query") || 19 fContext->hasExtension("GL_EXT_timer_query"); 22 SK_GL(*fContext, GenQueries(1, &fQuery)); 28 if (fContext) { 30 fContext->makeCurrent() [all...] |
GpuTimer.h | 21 const SkGLContextHelper* fContext;
|
/external/skia/tools/timer/ |
GpuTimer.cpp | 12 GpuTimer::GpuTimer(const SkGLContextHelper* glctx) : fContext(glctx) { 13 if (fContext) { 14 fContext->ref(); 15 fContext->makeCurrent(); 17 fSupported = GrGLGetVersion(fContext->gl()) > GR_GL_VER(3,3) || 18 fContext->hasExtension("GL_ARB_timer_query") || 19 fContext->hasExtension("GL_EXT_timer_query"); 22 SK_GL(*fContext, GenQueries(1, &fQuery)); 28 if (fContext) { 30 fContext->makeCurrent() [all...] |
GpuTimer.h | 21 const SkGLContextHelper* fContext;
|
/external/skia/src/gpu/gl/mac/ |
SkNativeGLContext_mac.cpp | 22 : fContext(NULL) { 30 if (NULL != fContext) { 31 CGLReleaseContext(fContext); 36 SkASSERT(NULL == fContext); 55 CGLCreateContext(pixFormat, NULL, &fContext); 58 if (NULL == fContext) { 63 CGLSetCurrentContext(fContext); 76 CGLSetCurrentContext(fContext); 80 CGLFlushDrawable(fContext);
|
/external/chromium_org/third_party/skia/src/gpu/gl/mesa/ |
SkMesaGLContext.cpp | 33 : fContext(static_cast<Context>(NULL)) 48 if (fContext) { 49 OSMesaDestroyContext((OSMesaContext)fContext); 50 fContext = static_cast<Context>(NULL); 64 fContext = (Context)OSMesaCreateContextExt(OSMESA_BGRA, 0, 0, 0, NULL); 66 fContext = (Context)OSMesaCreateContext(OSMESA_BGRA, NULL); 68 if (!fContext) { 83 if (!OSMesaMakeCurrent((OSMesaContext)fContext, 104 if (fContext) { 105 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage [all...] |
/external/skia/src/gpu/gl/mesa/ |
SkMesaGLContext.cpp | 33 : fContext(static_cast<Context>(NULL)) 48 if (fContext) { 49 OSMesaDestroyContext((OSMesaContext)fContext); 50 fContext = static_cast<Context>(NULL); 60 fContext = (Context)OSMesaCreateContextExt(OSMESA_BGRA, 0, 0, 0, NULL); 62 fContext = (Context)OSMesaCreateContext(OSMESA_BGRA, NULL); 64 if (!fContext) { 79 if (!OSMesaMakeCurrent((OSMesaContext)fContext, 100 if (fContext) { 101 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/mac/ |
SkNativeGLContext_mac.cpp | 22 : fContext(NULL) { 30 if (fContext) { 31 CGLReleaseContext(fContext); 36 SkASSERT(NULL == fContext); 58 CGLCreateContext(pixFormat, NULL, &fContext); 61 if (NULL == fContext) { 66 CGLSetCurrentContext(fContext); 79 CGLSetCurrentContext(fContext); 83 CGLFlushDrawable(fContext);
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrClipMaskCache.cpp | 12 : fContext(NULL)
|
GrSoftwarePathRenderer.h | 24 : fContext(context) { 42 GrContext* fContext;
|
GrTest.cpp | 15 SkASSERT(!fContext); 17 fContext.reset(SkRef(ctx));
|
/external/skia/src/gpu/ |
GrClipMaskCache.cpp | 12 : fContext(NULL)
|
GrSoftwarePathRenderer.h | 24 : fContext(context) { 42 GrContext* fContext;
|
GrTest.cpp | 15 SkASSERT(!fContext); 17 fContext.reset(SkRef(ctx));
|
/external/chromium_org/third_party/skia/src/gpu/gl/unix/ |
SkNativeGLContext_unix.cpp | 35 : fContext(NULL) 49 if (fContext) { 50 glXDestroyContext(fDisplay, fContext); 51 fContext = NULL; 174 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); 191 fContext = glXCreateContextAttribsARB(fDisplay, bestFbc, 0, True, 212 fContext = 218 if (!ctxErrorOccurred && fContext) { 230 if (ctxErrorOccurred || !fContext) { 239 fContext = glXCreateContextAttribsARB(fDisplay, bestFbc, 0, True [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/angle/ |
SkANGLEGLContext.cpp | 27 : fContext(EGL_NO_CONTEXT) 40 if (fContext) { 41 eglDestroyContext(fDisplay, fContext); 42 fContext = EGL_NO_CONTEXT; 84 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs); 94 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); 107 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
|
/external/skia/src/gpu/gl/angle/ |
SkANGLEGLContext.cpp | 27 : fContext(EGL_NO_CONTEXT) 40 if (fContext) { 41 eglDestroyContext(fDisplay, fContext); 42 fContext = EGL_NO_CONTEXT; 81 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs); 91 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); 104 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
|
/external/skia/src/gpu/gl/unix/ |
SkNativeGLContext_unix.cpp | 35 : fContext(NULL) 49 if (fContext) { 50 glXDestroyContext(fDisplay, fContext); 51 fContext = NULL; 199 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True); 201 fContext = glXCreateContext(fDisplay, vi, 0, True); 217 fContext = glXCreateContextAttribsARB( 223 if (!ctxErrorOccurred && fContext) { 241 fContext = glXCreateContextAttribsARB( 254 if (ctxErrorOccurred || !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/chromium_org/third_party/skia/src/gpu/gl/android/ |
SkNativeGLContext_android.cpp | 26 : fContext(EGL_NO_CONTEXT) 39 if (fContext) { 40 eglDestroyContext(fDisplay, fContext); 41 fContext = EGL_NO_CONTEXT; 130 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, kAPIs[api].fContextAttribs); 131 if (EGL_NO_CONTEXT == fContext) { 149 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 173 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
|
/external/skia/src/gpu/gl/android/ |
SkNativeGLContext_android.cpp | 26 : fContext(EGL_NO_CONTEXT) 39 if (fContext) { 40 eglDestroyContext(fDisplay, fContext); 41 fContext = EGL_NO_CONTEXT; 121 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, kAPIs[api].fContextAttribs); 122 if (EGL_NO_CONTEXT == fContext) { 140 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) { 164 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrContext.h | 740 fContext = context; 745 fContext = context; 748 if (fContext) { 749 fContext->setRenderTarget(fPrevTarget); 754 GrContext* fContext; 774 AutoMatrix() : fContext(NULL) {} 786 fContext = context; [all...] |
/external/skia/include/gpu/ |
GrContext.h | 730 fContext = context; 735 fContext = context; 738 if (NULL != fContext) { 739 fContext->setRenderTarget(fPrevTarget); 744 GrContext* fContext; 764 AutoMatrix() : fContext(NULL) {} 776 fContext = context; 796 fContext = context; [all...] |
/external/chromium_org/third_party/skia/experimental/SkiaExamples/ |
SkExample.cpp | 55 SkSafeUnref(fContext); 56 fContext = NULL; 86 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fInterface); 87 SkASSERT(NULL != fContext); 107 fRenderTarget = fContext->wrapBackendRenderTarget(desc); 109 fContext->setRenderTarget(fRenderTarget); 114 if (NULL != fContext && NULL != fRenderTarget) { 115 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); 130 SkASSERT(NULL != fContext); 131 fContext->flush() [all...] |
/external/skia/experimental/SkiaExamples/ |
SkExample.cpp | 55 SkSafeUnref(fContext); 56 fContext = NULL; 86 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fInterface); 87 SkASSERT(NULL != fContext); 107 fRenderTarget = fContext->wrapBackendRenderTarget(desc); 109 fContext->setRenderTarget(fRenderTarget); 114 if (NULL != fContext && NULL != fRenderTarget) { 115 SkAutoTUnref<SkBaseDevice> device(new SkGpuDevice(fContext, fRenderTarget)); 130 SkASSERT(NULL != fContext); 131 fContext->flush() [all...] |