Searched defs:glInterface (Results 1 - 4 of 4) sorted by relevance

/external/skia/src/gpu/
H A DGrGpuFactory.cpp18 const GrGLInterface* glInterface = NULL; local
21 glInterface = reinterpret_cast<const GrGLInterface*>(backendContext);
22 if (NULL == glInterface) {
23 glInterface = GrGLDefaultInterface();
27 glInterfaceUnref.reset(glInterface);
29 if (NULL == glInterface) {
35 GrGLContext ctx(glInterface);
/external/skia/src/gpu/gl/
H A DGrGLPathRendering.cpp20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
21 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(fGpu->glInterface(), RET, X)
64 const GrGLInterface* glInterface = gpu->glInterface(); local
66 NULL != glInterface->fFunctions.fStencilThenCoverFillPath &&
67 NULL != glInterface->fFunctions.fStencilThenCoverStrokePath &&
68 NULL != glInterface->fFunctions.fStencilThenCoverFillPathInstanced &&
69 NULL != glInterface->fFunctions.fStencilThenCoverStrokePathInstanced;
71 NULL != glInterface->fFunctions.fProgramPathFragmentInputGen;
73 NULL != glInterface
[all...]
H A DGrGLGpu.h42 const GrGLInterface* glInterface() const { return fGLContext.interface(); } function in class:GrGLGpu
365 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID));
393 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id));
407 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, id));
/external/skia/samplecode/
H A DSampleApp.cpp211 SkAutoTUnref<const GrGLInterface> glInterface; local
218 glInterface.reset(GrGLCreateNativeInterface());
222 glInterface.reset(GrGLCreateANGLEInterface());
232 fCurIntf = GrGLInterfaceRemoveNVPR(glInterface.get());

Completed in 156 milliseconds