/third_party/skia/src/gpu/gl/ |
H A D | GrGLProgramDataManager.cpp | 39 GR_GL_CALL(fGpu->glInterface(), Uniform1i(sampler.fLocation, i + startUnit)); in setSamplerUniforms() 50 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fLocation, i)); in set1i() 62 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); in set1iv() 71 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fLocation, v0)); in set1f() 87 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); in set1fv() 96 GR_GL_CALL(fGpu->glInterface(), Uniform2i(uni.fLocation, i0, i1)); in set2i() 108 GR_GL_CALL(fGpu->glInterface(), Uniform2iv(uni.fLocation, arrayCount, v)); in set2iv() 117 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fLocation, v0, v1)); in set2f() 129 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fLocation, arrayCount, v)); in set2fv() 138 GR_GL_CALL(fGpu->glInterface(), Uniform3 in set3i() [all...] |
H A D | GrGLVertexArray.cpp | 117 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, in set() 126 GR_GL_CALL(gpu->glInterface(), VertexAttribIPointer(index, in set() 139 GR_GL_CALL(gpu->glInterface(), VertexAttribDivisor(index, divisor)); in set() 151 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(i)); in enableVertexArrays() 156 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); in enableVertexArrays() 168 GR_GL_CALL(gpu->glInterface(), Enable(GR_GL_PRIMITIVE_RESTART_FIXED_INDEX)); in enableVertexArrays() 170 GR_GL_CALL(gpu->glInterface(), Disable(GR_GL_PRIMITIVE_RESTART_FIXED_INDEX)); in enableVertexArrays() 201 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, 0)); in bindWithIndexBuffer() 205 GR_GL_CALL(gpu->glInterface(), in bindWithIndexBuffer()
|
H A D | GrGLAttachment.cpp | 13 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) 18 GR_GL_CALL(gpu->glInterface(), call); \ 22 GR_GL_CALL_NOERRCHECK(gpu->glInterface(), call); \ 122 const GrGLInterface* gl = gpuGL->glInterface(); in onRelease()
|
H A D | GrGLBuffer.cpp | 16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 17 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X) 22 GR_GL_CALL(this->glGpu()->glInterface(), call); \ 26 GR_GL_CALL_NOERRCHECK(this->glGpu()->glInterface(), call); \
|
H A D | GrGLUniformHandler.cpp | 16 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 17 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
|
H A D | GrGLGpu.cpp | 46 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) 47 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X) 52 GR_GL_CALL(this->glInterface(), call); \ 56 GR_GL_CALL_NOERRCHECK(this->glInterface(), call); \ 240 GR_GL_CALL(fGpu->glInterface(), DeleteSamplers(1, &sampler)); in ~SamplerObjectCache() 249 GR_GL_CALL(fGpu->glInterface(), GenSamplers(1, &s)); in bindSampler() 258 GR_GL_CALL(fGpu->glInterface(), in bindSampler() 260 GR_GL_CALL(fGpu->glInterface(), in bindSampler() 262 GR_GL_CALL(fGpu->glInterface(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_S, wrapX)); in bindSampler() 263 GR_GL_CALL(fGpu->glInterface(), SamplerParameter in bindSampler() [all...] |
H A D | GrGLProgram.cpp | 22 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X) 23 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X)
|
H A D | GrGLContext.h | 91 const GrGLInterface* glInterface() const { return fInterface.get(); } in glInterface() function in GrGLContext
|
H A D | GrGLRenderTarget.cpp | 20 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 21 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(GPUGL->glInterface(), RET, X)
|
H A D | GrGLGpu.h | 45 const GrGLInterface* glInterface() const { return fGLContext->glInterface(); } in glInterface() function in final 648 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID)); in setVertexArrayID()
|
H A D | GrGLTexture.cpp | 18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
H A D | GrGLOpsRenderPass.cpp | 18 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
|
H A D | GrGLCaps.h | 119 const GrGLInterface* glInterface);
|
H A D | GrGLCaps.cpp | 32 const GrGLInterface* glInterface) : INHERITED(contextOptions) { in GrGLCaps() 85 this->init(contextOptions, ctxInfo.makeNonAngle(), glInterface); in GrGLCaps() 89 this->init(contextOptions, ctxInfo, glInterface); in GrGLCaps() 3585 const GrGLInterface* glInterface, in applyDriverCorrectnessWorkarounds() 4242 if (fTiledRenderingSupport && (!glInterface->fFunctions.fStartTiling || in applyDriverCorrectnessWorkarounds() 4243 !glInterface->fFunctions.fEndTiling)) { in applyDriverCorrectnessWorkarounds() 30 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface) GrGLCaps() argument 3583 applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo, const GrContextOptions& contextOptions, const GrGLInterface* glInterface, GrShaderCaps* shaderCaps, FormatWorkarounds* formatWorkarounds) applyDriverCorrectnessWorkarounds() argument
|
/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 34 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) 35 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) 39 GR_GL_CALL(gpu->glInterface(), DeleteShader(shaderIDs[i])); in cleanup_shaders() 45 GR_GL_CALL(gpu->glInterface(), DeleteProgram(programID)); in cleanup_program() 304 GR_GL_CALL_NOERRCHECK(this->gpu()->glInterface(), in finalize() 562 const GrGLInterface* gl = glGpu->glInterface(); in PrecompileProgram() 612 GR_GL_CALL(glGpu->glInterface(), BindAttribLocation(programID, i, in PrecompileProgram() 618 GR_GL_CALL(glGpu->glInterface(), in PrecompileProgram() 623 GR_GL_CALL(glGpu->glInterface(), in PrecompileProgram() 628 GR_GL_CALL(glGpu->glInterface(), LinkProgra in PrecompileProgram() [all...] |
H A D | GrGLShaderStringBuilder.cpp | 62 const GrGLInterface* gli = glCtx.glInterface(); in GrGLCompileAndAttachShader()
|
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/ |
H A D | native-lib.cpp | 75 sk_sp<const GrGLInterface> glInterface = GrGLMakeNativeInterface(); in Java_org_skia_skottie_SkottieRunner_nCreateProxy() local 76 if (!glInterface.get()) { in Java_org_skia_skottie_SkottieRunner_nCreateProxy() 82 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeGL(std::move(glInterface), options); in Java_org_skia_skottie_SkottieRunner_nCreateProxy()
|
/third_party/skia/src/gpu/ |
H A D | GrDirectContext.cpp | 1201 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface) { in MakeGL() argument 1203 return MakeGL(std::move(glInterface), defaultOptions); in MakeGL() 1244 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface, 1249 auto copy = sk_make_sp<GrGLInterface>(*glInterface); 1251 make_get_error_with_random_oom(glInterface->fFunctions.fGetError); 1256 glInterface = std::move(copy); 1259 direct->fGpu = GrGLGpu::Make(std::move(glInterface), options, direct.get());
|
/third_party/skia/tests/ |
H A D | SurfaceSemaphoreTest.cpp | 258 const GrGLInterface* interface = gpu->glInterface(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramInterfaceQueryTestCase.cpp | 1905 const glw::GLenum glInterface = getGLInterfaceEnumValue(interface); 1918 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, targetResourceName); 2032 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, simplifiedResourceName.c_str()); 2048 gl.getProgramResourceiv(programID, glInterface, resourceNdx, (int)props.size(), &props[0], (int)propValues.size(), &written, &propValues[0]);
|
/third_party/skia/fuzz/ |
H A D | FuzzCanvas.cpp | 1627 ->glInterface();
|