Home
last modified time | relevance | path

Searched refs:GL_CALL (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/gl/
DGrGpuGL.cpp18 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
404 GL_CALL(Enable(GR_GL_BLEND)); in onResetContext()
407 GL_CALL(Disable(GR_GL_DEPTH_TEST)); in onResetContext()
408 GL_CALL(DepthMask(GR_GL_FALSE)); in onResetContext()
410 GL_CALL(Disable(GR_GL_CULL_FACE)); in onResetContext()
411 GL_CALL(FrontFace(GR_GL_CCW)); in onResetContext()
414 GL_CALL(Disable(GR_GL_DITHER)); in onResetContext()
416 GL_CALL(Disable(GR_GL_LINE_SMOOTH)); in onResetContext()
417 GL_CALL(Disable(GR_GL_POINT_SMOOTH)); in onResetContext()
418 GL_CALL(Disable(GR_GL_MULTISAMPLE)); in onResetContext()
[all …]
DGrGLVertexBuffer.cpp16 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
31 GL_CALL(DeleteBuffers(1, &fBufferID)); in onRelease()
42 GL_CALL(BindBuffer(GR_GL_ARRAY_BUFFER, fBufferID)); in bind()
56 GL_CALL(BufferData(GR_GL_ARRAY_BUFFER, this->sizeInBytes(), NULL, in lock()
78 GL_CALL(UnmapBuffer(GR_GL_ARRAY_BUFFER)); in unlock()
88 GL_CALL(GetBufferParameteriv(GR_GL_ARRAY_BUFFER, in isLocked()
107 GL_CALL(BufferData(GR_GL_ARRAY_BUFFER, srcSizeInBytes, src, usage)); in updateData()
115 GL_CALL(BufferData(GR_GL_ARRAY_BUFFER, in updateData()
117 GL_CALL(BufferSubData(GR_GL_ARRAY_BUFFER, 0, srcSizeInBytes, src)); in updateData()
136 GL_CALL(BufferData(GR_GL_ARRAY_BUFFER, srcSizeInBytes + 1, in updateData()
[all …]
DGrGLIndexBuffer.cpp16 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
32 GL_CALL(DeleteBuffers(1, &fBufferID)); in onRelease()
43 GL_CALL(BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, fBufferID)); in bind()
57 GL_CALL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, in lock()
82 GL_CALL(UnmapBuffer(GR_GL_ELEMENT_ARRAY_BUFFER)); in unlock()
91 GL_CALL(GetBufferParameteriv(GR_GL_ELEMENT_ARRAY_BUFFER, in isLocked()
110 GL_CALL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, in updateData()
119 GL_CALL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, in updateData()
121 GL_CALL(BufferSubData(GR_GL_ELEMENT_ARRAY_BUFFER, in updateData()
128 GL_CALL(BufferData(GR_GL_ELEMENT_ARRAY_BUFFER, in updateData()
DGrGpuGLShaders.cpp143 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) macro
391 GL_CALL(EnableVertexAttribArray(posAttrIdx)); in onResetContext()
395 GL_CALL(DisableVertexAttribArray(va)); in onResetContext()
432 GL_CALL(VertexAttrib4fv(baseIdx + 0, mt+0)); in flushViewMatrix()
433 GL_CALL(VertexAttrib4fv(baseIdx + 1, mt+3)); in flushViewMatrix()
434 GL_CALL(VertexAttrib4fv(baseIdx + 2, mt+6)); in flushViewMatrix()
438 GL_CALL(UniformMatrix3fv(fProgramData->fUniLocations.fViewMatrixUni, in flushViewMatrix()
476 GL_CALL(Uniform4fv(uni, 1, values)); in flushTextureDomain()
513 GL_CALL(VertexAttrib4fv(baseIdx + 0, mt+0)); in flushTextureMatrix()
514 GL_CALL(VertexAttrib4fv(baseIdx + 1, mt+3)); in flushTextureMatrix()
[all …]
DGrGLRenderTarget.cpp16 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro
70 GL_CALL(DeleteFramebuffers(1, &fTexFBOID)); in onRelease()
73 GL_CALL(DeleteFramebuffers(1, &fRTFBOID)); in onRelease()
76 GL_CALL(DeleteRenderbuffers(1, &fMSColorRenderbufferID)); in onRelease()
DGrGLProgram.cpp1146 #define GL_CALL(X) GR_GL_CALL(gl.interface(), X) macro
1164 GL_CALL(ShaderSource(shader, stringCnt, strings, stringLengths)); in CompileShader()
1165 GL_CALL(CompileShader(shader)); in CompileShader()
1166 GL_CALL(GetShaderiv(shader, GR_GL_COMPILE_STATUS, &compiled)); in CompileShader()
1170 GL_CALL(GetShaderiv(shader, GR_GL_INFO_LOG_LENGTH, &infoLen)); in CompileShader()
1176 GL_CALL(GetShaderInfoLog(shader, infoLen+1, in CompileShader()
1182 GL_CALL(DeleteShader(shader)); in CompileShader()
1200 GL_CALL(AttachShader(progID, programData->fVShaderID)); in bindOutputsAttribsAndLinkProgram()
1202 GL_CALL(AttachShader(progID, programData->fGShaderID)); in bindOutputsAttribsAndLinkProgram()
1204 GL_CALL(AttachShader(progID, programData->fFShaderID)); in bindOutputsAttribsAndLinkProgram()
[all …]
DGrGLTexture.cpp16 #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X) macro