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()
44 fCurContext.reset(GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf.get())); in initializeGL()
91 GR_GL_GetIntegerv(fCurIntf, GR_GL_SAMPLES, &desc.fSampleCnt); in getDesc()
92 GR_GL_GetIntegerv(fCurIntf, GR_GL_STENCIL_BITS, &desc.fStencilBits); in getDesc()
94 GR_GL_GetIntegerv(fCurIntf, GR_GL_FRAMEBUFFER_BINDING, &buffer); in getDesc()
DSkGLWidget.h49 SkAutoTUnref<const GrGLInterface> fCurIntf; variable
/external/skia/experimental/SkV8Example/
DSkV8Example.cpp50 , fCurIntf(NULL) in SkV8ExampleWindow()
66 SkSafeUnref(fCurIntf); in ~SkV8ExampleWindow()
83 fCurIntf = GrGLCreateNativeInterface(); in windowSizeChanged()
85 kOpenGL_GrBackend, (GrBackendContext) fCurIntf); in windowSizeChanged()
86 if (NULL == fCurIntf || NULL == fCurContext) { in windowSizeChanged()
99 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);
75 SkASSERT(NULL == fCurIntf);
78 fCurIntf = NULL;
81 fCurIntf = GrGLCreateNativeInterface();
91 (GrBackendContext) fCurIntf);
94 if ((NULL == fCurContext || NULL == fCurIntf) &&
98 SkSafeUnref(fCurIntf);
112 SkSafeUnref(fCurIntf);
113 fCurIntf = NULL;
[all …]
/external/skia/samplecode/
DSampleApp.cpp175 fCurIntf = nullptr; in DefaultDeviceManager()
185 SkSafeUnref(fCurIntf); in ~DefaultDeviceManager()
226 SkASSERT(nullptr == fCurIntf); in setUpBackend()
251 fCurIntf = GrGLInterfaceRemoveNVPR(glInterface.get()); in setUpBackend()
254 fCurContext = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf); in setUpBackend()
256 if (nullptr == fCurContext || nullptr == fCurIntf) { in setUpBackend()
259 SkSafeUnref(fCurIntf); in setUpBackend()
261 fCurIntf = nullptr; in setUpBackend()
280 SkSafeUnref(fCurIntf); in tearDownBackend()
281 fCurIntf = nullptr; in tearDownBackend()
[all …]