/external/chromium_org/third_party/skia/src/gpu/ |
GrGpuFactory.cpp | 19 const GrGLInterface* glInterface = NULL; 23 glInterface = reinterpret_cast<const GrGLInterface*>(backendContext); 24 if (NULL == glInterface) { 25 glInterface = GrGLDefaultInterface(); 29 glInterfaceUnref.reset(glInterface); 31 if (NULL == glInterface) { 37 GrGLContext ctx(glInterface);
|
/external/skia/src/gpu/ |
GrGpuFactory.cpp | 19 const GrGLInterface* glInterface = NULL; 23 glInterface = reinterpret_cast<const GrGLInterface*>(backendContext); 24 if (NULL == glInterface) { 25 glInterface = GrGLDefaultInterface(); 29 glInterfaceUnref.reset(glInterface); 31 if (NULL == glInterface) { 37 GrGLContext ctx(glInterface);
|
/external/skia/src/gpu/gl/ |
GrGLUniformManager.cpp | 20 fUsingBindUniform = fGpu->glInterface()->fFunctions.fBindUniformLocation != NULL; 43 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit)); 46 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit)); 56 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0)); 59 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0)); 75 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v)); 78 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); 88 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1)); 91 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fVSLocation, v0, v1)); 104 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v)) [all...] |
GrGLStencilBuffer.cpp | 27 const GrGLInterface* gl = gpuGL->glInterface();
|
GrGLVertexArray.cpp | 12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X); 25 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); 37 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, 57 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i));
|
GrGLTexture.cpp | 13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 23 fTexIDObj.reset(SkNEW_ARGS(GrGLTexID, (GPUGL->glInterface(),
|
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));
|
GrGLPath.cpp | 14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 15 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(GPUGL->glInterface(), R, X)
|
GrGpuGL.h | 38 const GrGLInterface* glInterface() const { return fGLContext.interface(); } 358 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID)); 386 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id)); 400 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, id));
|
GrGLRenderTarget.cpp | 14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLProgramDataManager.cpp | 72 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit)); 75 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit)); 85 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0)); 88 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0)); 104 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v)); 107 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v)); 117 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1)); 120 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fVSLocation, v0, v1)); 133 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fFSLocation, arrayCount, v)); 136 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fVSLocation, arrayCount, v)) [all...] |
GrGLPath.cpp | 109 GR_GL_CALL(gpu->glInterface(), 113 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, NULL, 0, GR_GL_FLOAT, NULL)); 118 GR_GL_CALL(gpu->glInterface(), 120 GR_GL_CALL(gpu->glInterface(), 123 GR_GL_CALL(gpu->glInterface(), 126 GR_GL_CALL(gpu->glInterface(), 128 GR_GL_CALL(gpu->glInterface(),
|
GrGLStencilBuffer.cpp | 27 const GrGLInterface* gl = gpuGL->glInterface();
|
GrGLVertexArray.cpp | 12 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X); 25 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); 37 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, 57 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i));
|
GrGLTexture.cpp | 13 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 23 fTexIDObj.reset(SkNEW_ARGS(GrGLTexID, (GPUGL->glInterface(),
|
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));
|
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) 53 const GrGLInterface* glInterface = gpu->glInterface(); 55 NULL != glInterface->fFunctions.fStencilThenCoverFillPath && 56 NULL != glInterface->fFunctions.fStencilThenCoverStrokePath && 57 NULL != glInterface->fFunctions.fStencilThenCoverFillPathInstanced && 58 NULL != glInterface->fFunctions.fStencilThenCoverStrokePathInstanced; 60 kGLES_GrGLStandard == glInterface->fStandard && 61 NULL != glInterface->fFunctions.fProgramPathFragmentInputGen [all...] |
GrGLPathRange.cpp | 45 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index)));
|
GrGpuGL.h | 37 const GrGLInterface* glInterface() const { return fGLContext.interface(); } 338 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID)); 366 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id)); 380 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, id));
|
GrGpuGL.cpp | 17 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) 18 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X) 192 !this->glCaps().readPixelsSupported(this->glInterface(), 653 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); 656 GL_ALLOC_CALL(this->glInterface(), 662 GL_ALLOC_CALL(this->glInterface(), 671 GrGLenum error = check_alloc_error(desc, this->glInterface()); 750 CLEAR_ERROR_BEFORE_ALLOC(this->glInterface()); 751 GL_ALLOC_CALL(this->glInterface(), 759 GrGLenum error = check_alloc_error(desc, this->glInterface()); [all...] |
GrGLRenderTarget.cpp | 14 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
/external/skia/include/gpu/ |
GrContextFactory.h | 149 SkAutoTUnref<const GrGLInterface> glInterface(SkRef(glCtx.get()->gl())); 151 if (!glInterface->hasExtension("GL_NV_path_rendering")) { 155 glInterface.reset(GrGLInterfaceRemoveNVPR(glInterface)); 156 if (!glInterface) { 162 GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glInterface.get());
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrContextFactory.h | 166 SkAutoTUnref<const GrGLInterface> glInterface(SkRef(glCtx.get()->gl())); 168 if (!glInterface->hasExtension("GL_NV_path_rendering")) { 172 glInterface.reset(GrGLInterfaceRemoveNVPR(glInterface)); 173 if (!glInterface) { 179 GrBackendContext p3dctx = reinterpret_cast<GrBackendContext>(glInterface.get());
|
/external/chromium_org/third_party/skia/src/gpu/gl/builders/ |
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)
|
GrGLProgramBuilder.cpp | 21 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) 22 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) 295 bool usingBindUniform = fGpu->glInterface()->fFunctions.fBindUniformLocation != NULL; 306 bool usingBindUniform = fGpu->glInterface()->fFunctions.fBindUniformLocation != NULL;
|