/external/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 54 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 …]
|
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(); 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()
|
D | GrGLVertexArray.cpp | 23 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()
|
D | GrGLPath.cpp | 165 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()
|
D | GrGLBufferImpl.cpp | 11 #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()
|
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(), 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 …]
|
D | GrGLGpu.h | 42 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()
|
D | GrGLStencilAttachment.cpp | 23 const GrGLInterface* gl = gpuGL->glInterface(); in onRelease()
|
D | GrGLPathRange.cpp | 41 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); in onInitPath()
|
D | GrGLTexture.cpp | 12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
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)
|
D | GrGLRenderTarget.cpp | 13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
D | GrGLPathProcessor.cpp | 96 GR_GL_CALL_RET(gpu->glInterface(), in resolveSeparableVaryings()
|
D | GrGLCaps.h | 109 bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface);
|
/external/skia/src/gpu/ |
D | GrGpuFactory.cpp | 18 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()
|
D | GrContextFactory.cpp | 64 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/ |
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)
|
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)
|
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)
|
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; in finalize()
|
/external/skia/samplecode/ |
D | SampleApp.cpp | 211 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/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 1902 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()
|