/external/skia/src/gpu/ |
H A D | GrGpuFactory.cpp | 18 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 D | GrContextFactory.cpp | 64 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 D | GrGLProgramDataManager.cpp | 54 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 D | GrGLStencilAttachment.cpp | 23 const GrGLInterface* gl = gpuGL->glInterface();
|
H A D | GrGLVertexArray.cpp | 23 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 D | GrGLPath.cpp | 165 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 D | GrGLPathRendering.cpp | 20 #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 D | GrGLBufferImpl.cpp | 11 #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 D | GrGLPathRange.cpp | 41 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index)));
|
H A D | GrGLTexture.cpp | 12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
H A D | GrGLGpu.h | 42 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 D | GrGLRenderTarget.cpp | 13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
H A D | GrGLGpu.cpp | 23 #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 D | GrGLProgram.cpp | 24 #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 D | GrGLPathProcessor.cpp | 96 GR_GL_CALL_RET(gpu->glInterface(),
|
H A D | GrGLCaps.h | 109 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface);
|
/external/skia/src/gpu/gl/builders/ |
H A D | GrGLShaderStringBuilder.cpp | 14 #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 D | GrGLVertexShaderBuilder.cpp | 12 #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 D | GrGLFragmentShaderBuilder.cpp | 12 #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 D | GrGLProgramBuilder.cpp | 24 #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 D | SampleApp.cpp | 211 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 D | es31fProgramInterfaceQueryTestCase.cpp | 1902 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]);
|