Home
last modified time | relevance | path

Searched refs:fCurIntf (Results 1 – 6 of 6) sorted by relevance

/external/skia/debugger/QT/
DSkGLWidget.cpp29 if (!fCurIntf) { in initializeGL()
30 fCurIntf.reset(GrGLCreateNativeInterface()); in initializeGL()
32 if (!fCurIntf) { in initializeGL()
45 fCurContext.reset(GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf.get())); in initializeGL()
86 GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_SAMPLES, &desc.fSampleCnt); in getDesc()
87 GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_STENCIL_BITS, &desc.fStencilBits); in getDesc()
89 GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_FRAMEBUFFER_BINDING, &buffer); in getDesc()
DSkGLWidget.h47 sk_sp<const GrGLInterface> fCurIntf; variable
/external/skia/experimental/SkV8Example/
DSkV8Example.cpp49 , fCurIntf(NULL) in SkV8ExampleWindow()
64 SkSafeUnref(fCurIntf); in ~SkV8ExampleWindow()
80 fCurIntf = GrGLCreateNativeInterface(); in windowSizeChanged()
82 kOpenGL_GrBackend, (GrBackendContext) fCurIntf); in windowSizeChanged()
83 if (NULL == fCurIntf || NULL == fCurContext) { in windowSizeChanged()
96 GR_GL_GetIntegerv(fCurIntf, GR_GL_FRAMEBUFFER_BINDING, &buffer); in windowSizeChanged()
DSkV8Example.h47 const GrGLInterface* fCurIntf; variable
/external/skia/experimental/iOSSampleApp/
DSkSampleUIView.mm34 fCurIntf = NULL;
45 SkSafeUnref(fCurIntf);
77 SkASSERT(NULL == fCurIntf);
80 fCurIntf = NULL;
83 fCurIntf = GrGLCreateNativeInterface();
93 (GrBackendContext) fCurIntf);
96 if ((NULL == fCurContext || NULL == fCurIntf) &&
100 SkSafeUnref(fCurIntf);
114 SkSafeUnref(fCurIntf);
115 fCurIntf = NULL;
[all …]
/external/skia/samplecode/
DSampleApp.cpp212 fCurIntf = nullptr; in DefaultDeviceManager()
223 SkSafeUnref(fCurIntf); in ~DefaultDeviceManager()
261 SkASSERT(nullptr == fCurIntf); in setUpBackend()
266 fCurIntf = GrGLCreateNativeInterface(); in setUpBackend()
270 fCurIntf = sk_gpu_test::CreateANGLEGLInterface(); in setUpBackend()
279 fCurContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf, in setUpBackend()
282 if (nullptr == fCurContext || nullptr == fCurIntf) { in setUpBackend()
285 SkSafeUnref(fCurIntf); in setUpBackend()
287 fCurIntf = nullptr; in setUpBackend()
306 SkSafeUnref(fCurIntf); in tearDownBackend()
[all …]