Home
last modified time | relevance | path

Searched refs:glInterface (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp54 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit)); in setSampler()
57 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit)); in setSampler()
67 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0)); in set1f()
70 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0)); in set1f()
86 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v)); in set1fv()
89 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); in set1fv()
99 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1)); in set2f()
102 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fVSLocation, v0, v1)); in set2f()
115 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v)); in set2fv()
118 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fVSLocation, arrayCount, v)); in set2fv()
[all …]
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(); in GrGLPathRendering() local
66 NULL != glInterface->fFunctions.fStencilThenCoverFillPath && in GrGLPathRendering()
67 NULL != glInterface->fFunctions.fStencilThenCoverStrokePath && in GrGLPathRendering()
68 NULL != glInterface->fFunctions.fStencilThenCoverFillPathInstanced && in GrGLPathRendering()
69 NULL != glInterface->fFunctions.fStencilThenCoverStrokePathInstanced; in GrGLPathRendering()
71 NULL != glInterface->fFunctions.fProgramPathFragmentInputGen; in GrGLPathRendering()
73 NULL != glInterface->fFunctions.fPathMemoryGlyphIndexArray; in GrGLPathRendering()
DGrGLVertexArray.cpp23 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); in set()
35 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, in set()
55 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); in disableUnusedArrays()
89 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, bufferID)); in bindWithIndexBuffer()
DGrGLPath.cpp165 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in InitPathObject()
168 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, NULL, 0, GR_GL_FLOAT, NULL)); in InitPathObject()
173 GR_GL_CALL(gpu->glInterface(), in InitPathObject()
175 GR_GL_CALL(gpu->glInterface(), in InitPathObject()
178 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_JOIN_STYLE, join)); in InitPathObject()
180 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap)); in InitPathObject()
DGrGLBufferImpl.cpp11 #define GL_CALL(GPU, X) GR_GL_CALL(GPU->glInterface(), X)
98 GR_GL_CALL_RET(gpu->glInterface(), fMapPtr, in map()
112 GR_GL_CALL_RET(gpu->glInterface(), in map()
126 GR_GL_CALL_RET(gpu->glInterface(), in map()
151 GR_GL_CALL(gpu->glInterface(), UnmapBufferSubData(fMapPtr)); in unmap()
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(), in preferredReadPixelsConfig()
688 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); in uploadTexData()
691 GL_ALLOC_CALL(this->glInterface(), in uploadTexData()
697 GL_ALLOC_CALL(this->glInterface(), in uploadTexData()
706 GrGLenum error = check_alloc_error(desc, this->glInterface()); in uploadTexData()
785 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); in uploadCompressedTexData()
786 GL_ALLOC_CALL(this->glInterface(), in uploadCompressedTexData()
794 GrGLenum error = check_alloc_error(desc, this->glInterface()); in uploadCompressedTexData()
[all …]
DGrGLGpu.h42 const GrGLInterface* glInterface() const { return fGLContext.interface(); } in glInterface() function
365 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID)); in setVertexArrayID()
393 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id)); in setVertexBufferID()
407 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, id)); in setIndexBufferIDOnDefaultVertexArray()
DGrGLStencilAttachment.cpp23 const GrGLInterface* gl = gpuGL->glInterface(); in onRelease()
DGrGLPathRange.cpp41 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); in onInitPath()
DGrGLTexture.cpp12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
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)
DGrGLRenderTarget.cpp13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
DGrGLPathProcessor.cpp96 GR_GL_CALL_RET(gpu->glInterface(), in resolveSeparableVaryings()
DGrGLCaps.h109 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface);
/external/skia/src/gpu/
DGrGpuFactory.cpp18 const GrGLInterface* glInterface = NULL; in gl_gpu_create() local
21 glInterface = reinterpret_cast<const GrGLInterface*>(backendContext); in gl_gpu_create()
22 if (NULL == glInterface) { in gl_gpu_create()
23 glInterface = GrGLDefaultInterface(); in gl_gpu_create()
27 glInterfaceUnref.reset(glInterface); in gl_gpu_create()
29 if (NULL == glInterface) { in gl_gpu_create()
35 GrGLContext ctx(glInterface); in gl_gpu_create()
DGrContextFactory.cpp64 SkAutoTUnref<const GrGLInterface> glInterface(SkRef(glCtx->gl())); in get() local
66 if (!glInterface->hasExtension("GL_NV_path_rendering")) { in get()
70 glInterface.reset(GrGLInterfaceRemoveNVPR(glInterface)); in get()
71 if (!glInterface) { in get()
77 GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glInterface.get()); in get()
/external/skia/src/gpu/gl/builders/
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)
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)
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)
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; in finalize()
/external/skia/samplecode/
DSampleApp.cpp211 SkAutoTUnref<const GrGLInterface> glInterface; in setUpBackend() local
218 glInterface.reset(GrGLCreateNativeInterface()); in setUpBackend()
222 glInterface.reset(GrGLCreateANGLEInterface()); in setUpBackend()
232 fCurIntf = GrGLInterfaceRemoveNVPR(glInterface.get()); in setUpBackend()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceQueryTestCase.cpp1902 const glw::GLenum glInterface = getGLInterfaceEnumValue(interface); in queryAndValidateProps() local
1915 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, targetResourceName); in queryAndValidateProps()
2029 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, simplifiedResourceName.c_str()); in queryAndValidateProps()
2045 …gl.getProgramResourceiv(programID, glInterface, resourceNdx, (int)props.size(), &props[0], (int)pr… in queryAndValidateProps()