Searched refs:fContext (Results 1 - 25 of 61) sorted by relevance

123

/external/skia/tools/timer/
H A DGpuTimer.cpp12 GpuTimer::GpuTimer(const SkGLContext* glctx) : fContext(glctx) {
13 if (fContext) {
14 fContext->ref();
15 fContext->makeCurrent();
17 fSupported = GrGLGetVersion(fContext->gl()) > GR_GL_VER(3,3) ||
18 fContext->gl()->hasExtension("GL_ARB_timer_query") ||
19 fContext->gl()->hasExtension("GL_EXT_timer_query");
22 SK_GL(*fContext, GenQueries(1, &fQuery));
28 if (fContext) {
30 fContext
[all...]
H A DGpuTimer.h21 const SkGLContext* fContext; member in class:GpuTimer
/external/skia/src/gpu/gl/mac/
H A DSkCreatePlatformGLContext_mac.cpp24 CGLContextObj fContext; member in class:__anon14031::MacGLContext
28 : fContext(NULL) {
46 CGLCreateContext(pixFormat, NULL, &fContext);
49 if (NULL == fContext) {
54 CGLSetCurrentContext(fContext);
75 if (fContext) {
76 CGLReleaseContext(fContext);
77 fContext = NULL;
82 CGLSetCurrentContext(fContext);
86 CGLFlushDrawable(fContext);
[all...]
/external/skia/src/gpu/gl/mesa/
H A DSkMesaGLContext.cpp17 : fContext(static_cast<Context>(NULL))
24 fContext = (Context)OSMesaCreateContextExt(OSMESA_BGRA, 0, 0, 0, NULL);
26 fContext = (Context)OSMesaCreateContext(OSMESA_BGRA, NULL);
28 if (!fContext) {
43 if (!OSMesaMakeCurrent((OSMesaContext)fContext,
78 if (fContext) {
79 OSMesaDestroyContext((OSMesaContext)fContext);
80 fContext = static_cast<Context>(NULL);
87 if (fContext) {
88 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImag
[all...]
H A DSkMesaGLContext.h40 Context fContext; member in class:SkMesaGLContext
/external/skia/src/gpu/
H A DGrClipMaskCache.cpp12 : fContext(NULL)
H A DGrTest.h28 SkAutoTUnref<GrContext> fContext; member in class:GrTestTarget
H A DGrSoftwarePathRenderer.h23 : fContext(context) {
47 GrContext* fContext; member in class:GrSoftwarePathRenderer
H A DGrDrawTarget.h230 GrContext* getContext() { return fContext; }
231 const GrContext* getContext() const { return fContext; }
234 SkASSERT(fContext && fContext->getGpu());
235 return fContext->getGpu();
238 SkASSERT(fContext && fContext->getGpu());
239 return fContext->getGpu();
327 GrContext* fContext; member in class:GrDrawTarget
H A DGrClipMaskCache.h127 back->acquireMask(fContext, clipGenID, desc, bound);
176 fContext = context;
180 return fContext;
234 GrContext* fContext; member in class:GrClipMaskCache
H A DGrTracing.h44 GrGpuTraceMarkerGeneratorContext(GrContext* context) : fContext(context) {}
48 fContext->removeGpuTraceMarker(fTraceMarker.get());
56 fContext->addGpuTraceMarker(traceMarker);
60 GrContext* fContext; member in class:GrGpuTraceMarkerGeneratorContext
H A DGrSWMaskHelper.h45 : fContext(context)
106 GrContext* fContext; member in class:GrSWMaskHelper
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
H A DNamespaceSupport.java69 * @see #fContext
87 protected int[] fContext = new int[8]; field in class:NamespaceSupport
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[fCurrentContex
[all...]
/external/skia/bench/
H A DGrResourceCacheBench.cpp103 fContext.reset(GrContext::CreateMockContext());
104 if (!fContext) {
108 fContext->setResourceCacheLimits(CACHE_SIZE_COUNT, 1 << 30);
110 GrResourceCache* cache = fContext->getResourceCache();
116 GrGpu* gpu = fContext->getGpu();
122 if (!fContext) {
125 GrResourceCache* cache = fContext->getResourceCache();
138 SkAutoTUnref<GrContext> fContext; member in class:GrResourceCacheBenchFind
/external/skia/src/gpu/gl/angle/
H A DSkANGLEGLContext.cpp54 : fContext(EGL_NO_CONTEXT)
86 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs);
97 eglMakeCurrent(fDisplay, fSurface, fSurface, fContext);
121 if (fContext) {
122 eglDestroyContext(fDisplay, fContext);
123 fContext = EGL_NO_CONTEXT;
137 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
/external/icu/icu4c/source/i18n/
H A Ddigitlst.cpp68 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
[all...]
/external/skia/src/gpu/gl/glx/
H A DSkCreatePlatformGLContext_glx.cpp57 GLXContext fContext; member in class:__anon14029::GLXGLContext
64 : fContext(NULL)
173 fContext = glXCreateNewContext(fDisplay, bestFbc, GLX_RGBA_TYPE, 0, True);
190 fContext = glXCreateContextAttribsARB(fDisplay, bestFbc, 0, True,
211 fContext =
217 if (!ctxErrorOccurred && fContext) {
229 if (ctxErrorOccurred || !fContext) {
238 fContext = glXCreateContextAttribsARB(fDisplay, bestFbc, 0, True,
250 if (ctxErrorOccurred || !fContext) {
257 if (!glXIsDirect(fDisplay, fContext)) {
[all...]
/external/skia/src/gpu/gl/egl/
H A DSkCreatePlatformGLContext_egl.cpp25 EGLContext fContext; member in class:__anon14027::EGLGLContext
31 : fContext(EGL_NO_CONTEXT)
112 fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, kAPIs[api].fContextAttribs);
113 if (EGL_NO_CONTEXT == fContext) {
131 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
161 if (fContext) {
162 eglDestroyContext(fDisplay, fContext);
163 fContext = EGL_NO_CONTEXT;
178 if (!eglMakeCurrent(fDisplay, fSurface, fSurface, fContext)) {
/external/skia/include/gpu/gl/angle/
H A DSkANGLEGLContext.h40 void* fContext; member in class:SkANGLEGLContext
/external/skia/example/
H A DHelloWorld.cpp43 SkSafeUnref(fContext);
44 fContext = NULL;
77 fContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)fInterface);
78 SkASSERT(NULL != fContext);
86 fRenderTarget = this->renderTarget(fAttachmentInfo, fInterface, fContext);
154 fContext->flush();
/external/skia/tools/skpdiff/
H A DSkCLImageDiffer.cpp21 fContext = context;
25 fCommandQueue = clCreateCommandQueue(fContext, fDevice, 0, &queueErr);
63 cl_program program = clCreateProgramWithSource(fContext, 1, &source, &sourceLen, NULL);
110 *image = clCreateImage2D(fContext, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR,
H A DSkCLImageDiffer.h41 * Called by init after fDevice, fContext, and fCommandQueue are successfully initialized
86 cl_context fContext; member in class:SkCLImageDiffer
/external/skia/experimental/SkV8Example/
H A DGlobal.h43 return v8::Local<v8::Context>::New(fIsolate, fContext);
72 v8::Persistent<v8::Context> fContext; member in class:Global
/external/skia/experimental/iOSSampleApp/
H A DSkSampleUIView.h20 EAGLContext* fContext; member in struct:__anon13723
/external/skia/src/gpu/effects/
H A DGrTextureStripAtlas.h31 GrContext* fContext; member in struct:GrTextureStripAtlas::Desc
70 GrContext* getContext() const { return fDesc.fContext; }

Completed in 488 milliseconds

123