Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/libGLES_CM/
DFramebuffer.cpp70 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer, GLint level) in setDepthbuffer() argument
72 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE_OES; in setDepthbuffer()
73 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer, level); 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, GLint level = 0);
DContext.cpp1355 Renderbuffer *depthbuffer = framebuffer ? framebuffer->getDepthbuffer() : nullptr; in getIntegerv() local
1357 if(depthbuffer) in getIntegerv()
1359 *params = depthbuffer->getDepthSize(); in getIntegerv()
1885 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in applyState() local
1886 if(depthbuffer) in applyState()
1889 float depthBias = ldexp(mState.polygonOffsetUnits, -(int)(depthbuffer->getDepthSize())); in applyState()
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp95 void Framebuffer::setDepthbuffer(GLenum type, GLuint depthbuffer, GLint level, GLint layer) in setDepthbuffer() argument
97 mDepthbufferType = (depthbuffer != 0) ? type : GL_NONE; in setDepthbuffer()
98 mDepthbufferPointer = lookupRenderbuffer(type, depthbuffer, level); in setDepthbuffer()
203 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer() local
205 if(depthbuffer) in getDepthBuffer()
207 return depthbuffer->getRenderTarget(); in getDepthBuffer()
394 Renderbuffer *depthbuffer = nullptr; in completeness() local
399 depthbuffer = getDepthbuffer(); in completeness()
401 if(!depthbuffer) in completeness()
406 …if(depthbuffer->getWidth() == 0 || depthbuffer->getHeight() == 0 || (depthbuffer->getDepth() <= mD… in completeness()
[all …]
DFramebuffer.h43 void setDepthbuffer(GLenum type, GLuint depthbuffer, GLint level = 0, GLint layer = 0);
Dutilities.cpp631 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in ValidateReadPixelsFormatType() local
633 if(!depthbuffer) in ValidateReadPixelsFormatType()
638 GLint internalformat = depthbuffer->getFormat(); in ValidateReadPixelsFormatType()
685 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in ValidateReadPixelsFormatType() local
687 if(!depthbuffer) in ValidateReadPixelsFormatType()
692 GLint internalformat = depthbuffer->getFormat(); in ValidateReadPixelsFormatType()
DContext.cpp2078 Renderbuffer *depthbuffer = framebuffer ? framebuffer->getDepthbuffer() : nullptr; in getIntegerv() local
2080 if(depthbuffer) in getIntegerv()
2082 *params = depthbuffer->getDepthSize(); in getIntegerv()
2924 Renderbuffer *depthbuffer = framebuffer->getDepthbuffer(); in applyState() local
2925 if(depthbuffer) in applyState()
3514 egl::Image *depthbuffer = framebuffer->getDepthBuffer(); in clearDepthBuffer() local
3516 if(depthbuffer) in clearDepthBuffer()
3519 sw::Rect clearRect = depthbuffer->getRect(); in clearDepthBuffer()
3526depthbuffer->clearDepth(depth, clearRect.x0, clearRect.y0, clearRect.width(), clearRect.height()); in clearDepthBuffer()
3528 depthbuffer->release(); in clearDepthBuffer()
/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()