Searched refs:glInterface (Results 1 - 22 of 22) 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);
H A DGrContextFactory.cpp64 SkAutoTUnref<const GrGLInterface> glInterface(SkRef(glCtx->gl()));
66 if (!glInterface->hasExtension("GL_NV_path_rendering")) {
70 glInterface.reset(GrGLInterfaceRemoveNVPR(glInterface));
71 if (!glInterface) {
77 GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glInterface.get());
/external/skia/src/gpu/gl/
H A DGrGLProgramDataManager.cpp54 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit));
57 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit));
67 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0));
70 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0));
86 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v));
89 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v));
99 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1));
102 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fVSLocation, v0, v1));
115 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v));
118 GR_GL_CALL(fGpu->glInterface(), Uniform2f
[all...]
H A DGrGLStencilAttachment.cpp23 const GrGLInterface* gl = gpuGL->glInterface();
H A DGrGLVertexArray.cpp23 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index));
35 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index,
55 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i));
89 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, bufferID));
H A DGrGLPath.cpp165 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0],
168 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, NULL, 0, GR_GL_FLOAT, NULL));
173 GR_GL_CALL(gpu->glInterface(),
175 GR_GL_CALL(gpu->glInterface(),
178 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_JOIN_STYLE, join));
180 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap));
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 DGrGLBufferImpl.cpp11 #define GL_CALL(GPU, X) GR_GL_CALL(GPU->glInterface(), X)
98 GR_GL_CALL_RET(gpu->glInterface(), fMapPtr,
112 GR_GL_CALL_RET(gpu->glInterface(),
126 GR_GL_CALL_RET(gpu->glInterface(),
151 GR_GL_CALL(gpu->glInterface(), UnmapBufferSubData(fMapPtr));
H A DGrGLPathRange.cpp41 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index)));
H A DGrGLTexture.cpp12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
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));
H A DGrGLRenderTarget.cpp13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
H A DGrGLGpu.cpp23 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
24 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X)
251 this->glInterface(),
688 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
691 GL_ALLOC_CALL(this->glInterface(),
697 GL_ALLOC_CALL(this->glInterface(),
706 GrGLenum error = check_alloc_error(desc, this->glInterface());
785 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface());
786 GL_ALLOC_CALL(this->glInterface(),
794 GrGLenum error = check_alloc_error(desc, this->glInterface());
[all...]
H A DGrGLProgram.cpp24 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
25 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X)
H A DGrGLPathProcessor.cpp96 GR_GL_CALL_RET(gpu->glInterface(),
H A DGrGLCaps.h109 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface);
/external/skia/src/gpu/gl/builders/
H A DGrGLShaderStringBuilder.cpp14 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X)
15 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(gpu->glInterface(), R, X)
H A DGrGLVertexShaderBuilder.cpp12 #define GL_CALL(X) GR_GL_CALL(fProgramBuilder->gpu()->glInterface(), X)
13 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fProgramBuilder->gpu()->glInterface(), R, X)
H A DGrGLFragmentShaderBuilder.cpp12 #define GL_CALL(X) GR_GL_CALL(fProgramBuilder->gpu()->glInterface(), X)
13 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fProgramBuilder->gpu()->glInterface(), R, X)
H A DGrGLProgramBuilder.cpp24 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X)
25 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X)
425 bool usingBindUniform = fGpu->glInterface()->fFunctions.fBindUniformLocation != NULL;
/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());
/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceQueryTestCase.cpp1902 const glw::GLenum glInterface = getGLInterfaceEnumValue(interface);
1915 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, targetResourceName);
2029 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, simplifiedResourceName.c_str());
2045 gl.getProgramResourceiv(programID, glInterface, resourceNdx, (int)props.size(), &props[0], (int)propValues.size(), &written, &propValues[0]);

Completed in 253 milliseconds