/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/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/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));
|
GrTest.h | 32 SkAutoTUnref<GrContext> fContext;
|
GrTextContext.cpp | 16 fContext(context), fDeviceProperties(properties), fDrawTarget(NULL) { 20 const GrClipData* clipData = fContext->getClip(); 26 fContext->getRenderTarget()->width(), 27 fContext->getRenderTarget()->height(), 32 fDrawTarget = fContext->getTextTarget();
|
SkGpuDevice.cpp | 129 GrContext* fContext; 148 fContext = SkRef(surface->getContext()); 162 fMainTextContext = fContext->createTextContext(fRenderTarget, this->getLeakyProperties(), useDFFonts); 163 fFallbackTextContext = SkNEW_ARGS(GrBitmapTextContext, (fContext, this->getLeakyProperties())); 212 if (fContext->getRenderTarget() == fRenderTarget) { 213 fContext->setRenderTarget(NULL); 216 if (fContext->getClip() == &fClipData) { 217 fContext->setClip(NULL); 221 fContext->unref(); 240 return fContext->readRenderTargetPixels(fRenderTarget, x, y, dstInfo.width(), dstInfo.height() [all...] |
GrTracing.h | 44 GrGpuTraceMarkerGeneratorContext(GrContext* context) : fContext(context) {} 48 fContext->removeGpuTraceMarker(fTraceMarker.get()); 56 fContext->addGpuTraceMarker(traceMarker); 60 GrContext* fContext;
|
/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/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/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/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/chromium_org/third_party/skia/src/gpu/gl/nacl/ |
SkNativeGLContext_nacl.cpp | 17 : fContext(NULL)
|
/external/chromium_org/third_party/icu/source/i18n/ |
digitlst.cpp | 72 uprv_decContextDefault(&fContext, DEC_INIT_BASE); 73 fContext.traps = 0; 74 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); 75 fContext.digits = fStorage.getCapacity(); 107 uprv_memcpy(&fContext, &other.fContext, sizeof(decContext)); 112 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 113 // because above we copied fContext from other.fContext. 114 fContext.digits = fStorage.getCapacity() [all...] |
/external/icu/icu4c/source/i18n/ |
digitlst.cpp | 68 uprv_decContextDefault(&fContext, DEC_INIT_BASE); 69 fContext.traps = 0; 70 uprv_decContextSetRounding(&fContext, DEC_ROUND_HALF_EVEN); 71 fContext.digits = fStorage.getCapacity(); 103 uprv_memcpy(&fContext, &other.fContext, sizeof(decContext)); 108 // Always reset the fContext.digits, even if fDecNumber was not reallocated, 109 // because above we copied fContext from other.fContext. 110 fContext.digits = fStorage.getCapacity() [all...] |
/external/chromium_org/third_party/skia/include/gpu/gl/ |
SkANGLEGLContext.h | 44 EGLContext fContext;
|
SkMesaGLContext.h | 45 Context fContext;
|
SkNativeGLContext.h | 90 CGLContextObj fContext; 92 EGLContext fContext; 96 GLXContext fContext;
|
/external/chromium_org/third_party/skia/src/xml/ |
SkJS.cpp | 166 if ((fContext = JS_NewContext(fRuntime, 0x1000)) == NULL) { 171 if ((fGlobal = JS_NewObject(fContext, &global_class, NULL, NULL)) == NULL) { 175 if (JS_InitStandardClasses(fContext, fGlobal) == NULL) { 182 InitializeDisplayables(getBitmap(), fContext, fGlobal, NULL); 187 JS_DestroyContext(fContext); 193 return JS_EvaluateScript(fContext, fGlobal, script, strlen(script), 198 JSString* str = JS_ValueToString(fContext, value);
|
/external/chromium_org/third_party/skia/include/xml/ |
SkJS.h | 37 JSContext *fContext;
|