/third_party/skia/src/gpu/gl/ |
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(), Uniform3i(uni.fLocation, i0, i1, i2)); in set3i() [all …]
|
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()
|
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()
|
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); \
|
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(), SamplerParameteri(s, GR_GL_TEXTURE_WRAP_T, wrapY)); in bindSampler() [all …]
|
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)
|
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)
|
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)
|
D | GrGLContext.h | 91 const GrGLInterface* glInterface() const { return fInterface.get(); } in glInterface() function
|
D | GrGLGpu.h | 45 const GrGLInterface* glInterface() const { return fGLContext->glInterface(); } in glInterface() function 641 GR_GL_CALL(gpu->glInterface(), BindVertexArray(arrayID)); in setVertexArrayID()
|
D | GrGLTexture.cpp | 18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X)
|
D | GrGLCaps.h | 119 const GrGLInterface* glInterface);
|
D | GrGLOpsRenderPass.cpp | 18 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
|
D | GrGLCaps.cpp | 32 const GrGLInterface* glInterface) : INHERITED(contextOptions) { in GrGLCaps() argument 85 this->init(contextOptions, ctxInfo.makeNonAngle(), glInterface); in GrGLCaps() 89 this->init(contextOptions, ctxInfo, glInterface); in GrGLCaps() 3585 const GrGLInterface* glInterface, in applyDriverCorrectnessWorkarounds() argument 4242 if (fTiledRenderingSupport && (!glInterface->fFunctions.fStartTiling || in applyDriverCorrectnessWorkarounds() 4243 !glInterface->fFunctions.fEndTiling)) { in applyDriverCorrectnessWorkarounds()
|
/third_party/skia/src/gpu/gl/builders/ |
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(), LinkProgram(programID)); in PrecompileProgram() [all …]
|
D | GrGLShaderStringBuilder.cpp | 62 const GrGLInterface* gli = glCtx.glInterface(); in GrGLCompileAndAttachShader()
|
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/ |
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/ |
D | GrDirectContext.cpp | 1060 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface) { in MakeGL() argument 1062 return MakeGL(std::move(glInterface), defaultOptions); in MakeGL() 1103 sk_sp<GrDirectContext> GrDirectContext::MakeGL(sk_sp<const GrGLInterface> glInterface, in MakeGL() argument 1108 auto copy = sk_make_sp<GrGLInterface>(*glInterface); in MakeGL() 1110 make_get_error_with_random_oom(glInterface->fFunctions.fGetError); in MakeGL() 1115 glInterface = std::move(copy); in MakeGL() 1118 direct->fGpu = GrGLGpu::Make(std::move(glInterface), options, direct.get()); in MakeGL()
|
/third_party/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 258 const GrGLInterface* interface = gpu->glInterface(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fProgramInterfaceQueryTestCase.cpp | 1905 const glw::GLenum glInterface = getGLInterfaceEnumValue(interface); in queryAndValidateProps() local 1918 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, targetResourceName); in queryAndValidateProps() 2032 resourceNdx = gl.getProgramResourceIndex(programID, glInterface, simplifiedResourceName.c_str()); in queryAndValidateProps() 2048 …gl.getProgramResourceiv(programID, glInterface, resourceNdx, (int)props.size(), &props[0], (int)pr… in queryAndValidateProps()
|
/third_party/skia/fuzz/ |
D | FuzzCanvas.cpp | 1627 ->glInterface(); in dump_GPU_info()
|