/external/skia/src/gpu/gl/ |
GrGLProgramDataManager.cpp | 59 GR_GL_CALL(fGpu->glInterface(), Uniform1i(sampler.fLocation, i + startUnit)); 69 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fLocation, i)); 81 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); 90 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fLocation, v0)); 106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); 115 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fLocation, v0, v1)); 127 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fLocation, arrayCount, v)); 136 GR_GL_CALL(fGpu->glInterface(), Uniform3f(uni.fLocation, v0, v1, v2)); 148 GR_GL_CALL(fGpu->glInterface(), Uniform3fv(uni.fLocation, arrayCount, v)); 161 GR_GL_CALL(fGpu->glInterface(), Uniform4f(uni.fLocation, v0, v1, v2, v3)) [all...] |
GrGLStencilAttachment.cpp | 24 const GrGLInterface* gl = gpuGL->glInterface();
|
GrGLVertexArray.cpp | 125 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, 134 GR_GL_CALL(gpu->glInterface(), VertexAttribIPointer(index, 147 GR_GL_CALL(gpu->glInterface(), VertexAttribDivisor(index, divisor)); 159 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(i)); 164 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); 176 GR_GL_CALL(gpu->glInterface(), Enable(GR_GL_PRIMITIVE_RESTART_FIXED_INDEX)); 178 GR_GL_CALL(gpu->glInterface(), Disable(GR_GL_PRIMITIVE_RESTART_FIXED_INDEX)); 207 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, 0)); 210 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER,
|
GrGLPath.cpp | 187 GR_GL_CALL(gpu->glInterface(), 246 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], 257 GR_GL_CALL(gpu->glInterface(), 259 GR_GL_CALL(gpu->glInterface(), 262 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_JOIN_STYLE, join)); 264 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap)); 265 GR_GL_CALL(gpu->glInterface(), PathParameterf(pathID, GR_GL_PATH_STROKE_BOUND, 0.02f)); 269 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, nullptr, 0, GR_GL_FLOAT, nullptr));
|
GrGLBuffer.cpp | 13 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 14 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X) 105 CLEAR_ERROR_BEFORE_ALLOC(gpu->glInterface()); 107 GL_ALLOC_CALL(gpu->glInterface(), BufferData(target, 111 if (CHECK_ALLOC_ERROR(gpu->glInterface()) != GR_GL_NO_ERROR) {
|
GrGLPathRendering.cpp | 19 #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) 83 const GrGLInterface* glInterface = gpu->glInterface(); 84 fCaps.bindFragmentInputSupport = (bool)glInterface->fFunctions.fBindFragmentInputLocation;
|
GrGLPathRange.cpp | 61 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index)));
|
GrGLProgram.cpp | 23 #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)
|
GrGLRenderTarget.cpp | 18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 101 const GrGLInterface* interface = gpu->glInterface();
|
GrGLUniformHandler.cpp | 15 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 16 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
|
/external/skqp/src/gpu/gl/ |
GrGLProgramDataManager.cpp | 59 GR_GL_CALL(fGpu->glInterface(), Uniform1i(sampler.fLocation, i + startUnit)); 69 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fLocation, i)); 81 GR_GL_CALL(fGpu->glInterface(), Uniform1iv(uni.fLocation, arrayCount, v)); 90 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fLocation, v0)); 106 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fLocation, arrayCount, v)); 115 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fLocation, v0, v1)); 127 GR_GL_CALL(fGpu->glInterface(), Uniform2fv(uni.fLocation, arrayCount, v)); 136 GR_GL_CALL(fGpu->glInterface(), Uniform3f(uni.fLocation, v0, v1, v2)); 148 GR_GL_CALL(fGpu->glInterface(), Uniform3fv(uni.fLocation, arrayCount, v)); 161 GR_GL_CALL(fGpu->glInterface(), Uniform4f(uni.fLocation, v0, v1, v2, v3)) [all...] |
GrGLStencilAttachment.cpp | 24 const GrGLInterface* gl = gpuGL->glInterface();
|
GrGLVertexArray.cpp | 125 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, 134 GR_GL_CALL(gpu->glInterface(), VertexAttribIPointer(index, 147 GR_GL_CALL(gpu->glInterface(), VertexAttribDivisor(index, divisor)); 159 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(i)); 164 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); 176 GR_GL_CALL(gpu->glInterface(), Enable(GR_GL_PRIMITIVE_RESTART_FIXED_INDEX)); 178 GR_GL_CALL(gpu->glInterface(), Disable(GR_GL_PRIMITIVE_RESTART_FIXED_INDEX)); 207 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, 0)); 210 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER,
|
GrGLPath.cpp | 187 GR_GL_CALL(gpu->glInterface(), 246 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], 257 GR_GL_CALL(gpu->glInterface(), 259 GR_GL_CALL(gpu->glInterface(), 262 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_JOIN_STYLE, join)); 264 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap)); 265 GR_GL_CALL(gpu->glInterface(), PathParameterf(pathID, GR_GL_PATH_STROKE_BOUND, 0.02f)); 269 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, nullptr, 0, GR_GL_FLOAT, nullptr));
|
GrGLBuffer.cpp | 13 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 14 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X) 105 CLEAR_ERROR_BEFORE_ALLOC(gpu->glInterface()); 107 GL_ALLOC_CALL(gpu->glInterface(), BufferData(target, 111 if (CHECK_ALLOC_ERROR(gpu->glInterface()) != GR_GL_NO_ERROR) {
|
GrGLPathRendering.cpp | 19 #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) 83 const GrGLInterface* glInterface = gpu->glInterface(); 84 fCaps.bindFragmentInputSupport = (bool)glInterface->fFunctions.fBindFragmentInputLocation;
|
GrGLPathRange.cpp | 61 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index)));
|
GrGLProgram.cpp | 23 #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)
|
GrGLRenderTarget.cpp | 18 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) 101 const GrGLInterface* interface = gpu->glInterface();
|
GrGLUniformHandler.cpp | 15 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X) 16 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
|
/frameworks/base/libs/hwui/pipeline/skia/ |
SkiaOpenGLReadback.cpp | 46 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); 47 LOG_ALWAYS_FATAL_IF(!glInterface.get()); 48 grContext = GrContext::MakeGL(std::move(glInterface));
|
/external/skia/src/gpu/gl/builders/ |
GrGLProgramBuilder.cpp | 29 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) 30 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) 171 GrGLClearErr(this->gpu()->glInterface()); 172 GR_GL_CALL_NOERRCHECK(this->gpu()->glInterface(), 175 if (GR_GL_GET_ERROR(this->gpu()->glInterface()) == GR_GL_NO_ERROR) {
|
GrGLShaderStringBuilder.cpp | 17 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) 18 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(gpu->glInterface(), R, X)
|
/frameworks/base/libs/hwui/renderthread/ |
EglManager.cpp | 136 sk_sp<const GrGLInterface> glInterface(driver->getSkiaInterface()); 138 sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface()); 140 LOG_ALWAYS_FATAL_IF(!glInterface.get()); 145 sk_sp<GrContext> grContext(GrContext::MakeGL(std::move(glInterface), options));
|
/external/skqp/src/gpu/gl/builders/ |
GrGLShaderStringBuilder.cpp | 17 #define GL_CALL(X) GR_GL_CALL(gpu->glInterface(), X) 18 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(gpu->glInterface(), R, X)
|