Home
last modified time | relevance | path

Searched refs:depthbuffer (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/src/OpenGL/libGLES_CM/
DFramebuffer.cpp70 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer) in setDepthbuffer() argument
72 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE_OES; in setDepthbuffer()
73 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer); in setDepthbuffer()
142 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer() local
144 if(depthbuffer) in getDepthBuffer()
146 return depthbuffer->getRenderTarget(); in getDepthBuffer()
287 Renderbuffer *depthbuffer = nullptr; in completeness() local
292 depthbuffer = getDepthbuffer(); in completeness()
294 if(!depthbuffer) in completeness()
299 if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0) in completeness()
[all …]
DFramebuffer.h42 void setDepthbuffer(GLenum type, GLuint depthbuffer);
DContext.cpp1319 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in getIntegerv() local
1321 if(depthbuffer) in getIntegerv()
1323 *params = depthbuffer->getDepthSize(); in getIntegerv()
1849 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in applyState() local
1850 if(depthbuffer) in applyState()
1853 float depthBias = ldexp(mState.polygonOffsetUnits, -(int)(depthbuffer->getDepthSize())); in applyState()
/external/swiftshader/src/OpenGL/libGL/
DFramebuffer.cpp70 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer) in setDepthbuffer() argument
72 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE; in setDepthbuffer()
73 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer); in setDepthbuffer()
281 Renderbuffer *depthbuffer = nullptr; in completeness() local
286 depthbuffer = getDepthbuffer(); in completeness()
288 if(!depthbuffer) in completeness()
293 if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0) in completeness()
300 if(!gl::IsDepthRenderable(depthbuffer->getFormat())) in completeness()
307 if(!gl::IsDepthTexture(depthbuffer->getFormat())) in completeness()
320 width = depthbuffer->getWidth(); in completeness()
[all …]
DFramebuffer.h45 void setDepthbuffer(GLenum type, GLuint depthbuffer);
DContext.cpp1424 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in getIntegerv() local
1426 if(depthbuffer) in getIntegerv()
1428 *params = depthbuffer->getDepthSize(); in getIntegerv()
1860 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in applyState() local
1861 if(depthbuffer) in applyState()
1864 float depthBias = ldexp(mState.polygonOffsetUnits, -(int)(depthbuffer->getDepthSize())); in applyState()
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp88 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer, GLint level, GLint layer) in setDepthbuffer() argument
90 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE; in setDepthbuffer()
91 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer, level, layer); in setDepthbuffer()
192 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer() local
194 if(depthbuffer) in getDepthBuffer()
196 return depthbuffer->getRenderTarget(); in getDepthBuffer()
370 Renderbuffer *depthbuffer = nullptr; in completeness() local
375 depthbuffer = getDepthbuffer(); in completeness()
377 if(!depthbuffer) in completeness()
382 if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0) in completeness()
[all …]
DFramebuffer.h43 void setDepthbuffer(GLenum type, GLuint depthbuffer, GLint level = 0, GLint layer = 0);
DContext.cpp1996 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in getIntegerv() local
1998 if(depthbuffer) in getIntegerv()
2000 *params = depthbuffer->getDepthSize(); in getIntegerv()
2868 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in applyState() local
2869 if(depthbuffer) in applyState()
2872 float depthBias = ldexp(mState.polygonOffsetUnits, -(int)(depthbuffer->getDepthSize())); in applyState()
3388 egl::Image *depthbuffer = framebuffer->getDepthBuffer(); in clearDepthBuffer() local
3390 if(depthbuffer) in clearDepthBuffer()
3393 sw::SliceRect clearRect = depthbuffer->getRect(); in clearDepthBuffer()
3400depthbuffer->clearDepth(depth, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepthBuffer()
[all …]
/external/deqp/modules/gles3/performance/
Des3pDepthTests.cpp550 const glu::Renderbuffer depthbuffer (gl); in iterate() local
564 gl.bindRenderbuffer(GL_RENDERBUFFER, *depthbuffer); in iterate()
569 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, *depthbuffer); in iterate()
/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp356 …idth, int height, deUint32 fbo = 0, deUint32 colorbuffer = 0, deUint32 depthbuffer = 0, deUint32 s…
409 …g, int width, int height, deUint32 fbo, deUint32 colorbuffer, deUint32 depthbuffer, deUint32 stenc… in Framebuffer() argument
414 , m_depthbuffer (depthbuffer) in Framebuffer()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.hpp606 …ixelBufferAccess& colorbuffer, const rr::MultisamplePixelBufferAccess& depthbuffer, const rr::Mult…
DsglrReferenceContext.cpp312 …ixelBufferAccess& colorbuffer, const rr::MultisamplePixelBufferAccess& depthbuffer, const rr::Mult… in ReferenceContext() argument
316 , m_defaultDepthbuffer (depthbuffer) in ReferenceContext()