Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp74 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit)); in setSampler()
77 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit)); in setSampler()
87 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0)); in set1f()
90 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0)); in set1f()
106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v)); in set1fv()
109 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); in set1fv()
119 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1)); in set2f()
122 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fVSLocation, v0, v1)); in set2f()
135 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v)); in set2fv()
138 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fVSLocation, arrayCount, v)); in set2fv()
[all …]
DGrGLVertexArray.cpp48 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); in set()
61 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, in set()
70 GR_GL_CALL(gpu->glInterface(), VertexAttribIPointer(index, in set()
89 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); in disableUnusedArrays()
121 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, ibufferID)); in bindWithIndexBuffer()
DGrGLPath.cpp178 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in init_path_object_for_general_path()
235 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in InitPathObjectPathData()
248 GR_GL_CALL(gpu->glInterface(), in InitPathObjectStroke()
250 GR_GL_CALL(gpu->glInterface(), in InitPathObjectStroke()
253 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_JOIN_STYLE, join)); in InitPathObjectStroke()
255 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap)); in InitPathObjectStroke()
256 GR_GL_CALL(gpu->glInterface(), PathParameterf(pathID, GR_GL_PATH_STROKE_BOUND, 0.02f)); in InitPathObjectStroke()
260 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, nullptr, 0, GR_GL_FLOAT, nullptr)); in InitPathObjectEmptyPath()
DGrGLGpu.cpp27 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
28 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X)
166 SkAutoTUnref<const GrGLInterface> glInterface( in Create()
168 if (!glInterface) { in Create()
169 glInterface.reset(GrGLDefaultInterface()); in Create()
171 glInterface->ref(); in Create()
173 if (!glInterface) { in Create()
176 GrGLContext* glContext = GrGLContext::Create(glInterface, options); in Create()
193 GrGLClearErr(this->glInterface()); in GrGLGpu()
379 GL_ALLOC_CALL(this->glInterface(), in createPLSSetupProgram()
[all …]
DGrGLPathRendering.cpp19 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X)
20 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->gpu()->glInterface(), RET, X)
67 const GrGLInterface* glInterface = gpu->glInterface(); in GrGLPathRendering() local
69 nullptr != glInterface->fFunctions.fBindFragmentInputLocation; in GrGLPathRendering()
DGrGLUniformHandler.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
15 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
DGrGLProgram.cpp23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
24 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X)
DGrGLGpu.h45 const GrGLInterface* glInterface() const { return fGLContext->interface(); } in glInterface() function
453 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID)); in setVertexArrayID()
481 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id)); in setVertexBufferID()
495 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, id)); in setIndexBufferIDOnDefaultVertexArray()
DGrGLRenderTarget.cpp16 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
77 const GrGLInterface* interface = gpu->glInterface(); in completeStencilAttachment()
DGrGLStencilAttachment.cpp24 const GrGLInterface* gl = gpuGL->glInterface(); in onRelease()
DGrGLTexture.cpp13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
DGrGLPathRange.cpp62 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); in onInitPath()
DGrGLBufferImpl.cpp11 #define GL_CALL(GPU, X) GR_GL_CALL(GPU->glInterface(), X)
DGrGLCaps.h120 const GrGLInterface* glInterface);
DGrGLCaps.cpp20 const GrGLInterface* glInterface) : INHERITED(contextOptions) { in GrGLCaps() argument
61 this->init(contextOptions, ctxInfo, glInterface); in GrGLCaps()
/external/skia/src/gpu/
DGrContextFactory.cpp124 SkAutoTUnref<const GrGLInterface> glInterface(SkRef(glCtx->gl())); in getContextInfo() local
126 glInterface.reset(GrGLInterfaceRemoveNVPR(glInterface)); in getContextInfo()
127 if (!glInterface) { in getContextInfo()
133 GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glInterface.get()); in getContextInfo()
/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)
DGrGLProgramBuilder.cpp28 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X)
29 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X)
/external/skia/samplecode/
DSampleApp.cpp227 SkAutoTUnref<const GrGLInterface> glInterface; in setUpBackend() local
232 glInterface.reset(GrGLCreateNativeInterface()); in setUpBackend()
236 glInterface.reset(GrGLCreateANGLEInterface()); in setUpBackend()
241 glInterface.reset(GrGLCreateCommandBufferInterface()); in setUpBackend()
251 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()