Home
last modified time | relevance | path

Searched refs:mDepthStencil (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/src/OpenGL/libGL/
DSurface.cpp42 mDepthStencil = nullptr; in Surface()
56 mDepthStencil = nullptr; in Surface()
72 ASSERT(!frameBuffer && !backBuffer && !mDepthStencil); in initialize()
79 if(mDepthStencil) in release()
81 mDepthStencil->release(); in release()
82 mDepthStencil = nullptr; in release()
143 mDepthStencil = new Image(0, backBufferWidth, backBufferHeight, sw::FORMAT_D24S8, 1, false, true); in reset()
145 if(!mDepthStencil) in reset()
181 if(mDepthStencil) in getDepthStencil()
183 mDepthStencil->addRef(); in getDepthStencil()
[all …]
DRenderbuffer.cpp387 DepthStencilbuffer::DepthStencilbuffer(Image *depthStencil) : mDepthStencil(depthStencil) in DepthStencilbuffer()
401 DepthStencilbuffer::DepthStencilbuffer(int width, int height, GLsizei samples) : mDepthStencil(null… in DepthStencilbuffer()
409mDepthStencil = device->createDepthStencilSurface(width, height, sw::FORMAT_D24S8, supportedSample… in DepthStencilbuffer()
411 if(!mDepthStencil) in DepthStencilbuffer()
427 if(mDepthStencil) in ~DepthStencilbuffer()
429 mDepthStencil->release(); in ~DepthStencilbuffer()
437 if(mDepthStencil) in getRenderTarget()
439 mDepthStencil->addRef(); in getRenderTarget()
442 return mDepthStencil; in getRenderTarget()
457 if(mDepthStencil) in Depthbuffer()
[all …]
DSurface.h69 Image *mDepthStencil; variable
DRenderbuffer.h198 Image *mDepthStencil;
/external/swiftshader/src/OpenGL/libGLES_CM/
DRenderbuffer.cpp351 DepthStencilbuffer::DepthStencilbuffer(egl::Image *depthStencil) : mDepthStencil(depthStencil) in DepthStencilbuffer()
364 …encilbuffer(int width, int height, GLenum internalformat, GLsizei samples) : mDepthStencil(nullptr) in DepthStencilbuffer()
376 mDepthStencil = egl::Image::create(width, height, internalformat, supportedSamples, false); in DepthStencilbuffer()
378 if(!mDepthStencil) in DepthStencilbuffer()
393 if(mDepthStencil) in ~DepthStencilbuffer()
395 mDepthStencil->release(); in ~DepthStencilbuffer()
403 if(mDepthStencil) in getRenderTarget()
405 mDepthStencil->addRef(); in getRenderTarget()
408 return mDepthStencil; in getRenderTarget()
415 if(mDepthStencil) in createSharedImage()
[all …]
DRenderbuffer.h178 egl::Image *mDepthStencil;
/external/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp562 DepthStencilbuffer::DepthStencilbuffer(egl::Image *depthStencil) : mDepthStencil(depthStencil) in DepthStencilbuffer()
575 …encilbuffer(int width, int height, GLenum internalformat, GLsizei samples) : mDepthStencil(nullptr) in DepthStencilbuffer()
587 mDepthStencil = egl::Image::create(width, height, internalformat, supportedSamples, false); in DepthStencilbuffer()
589 if(!mDepthStencil) in DepthStencilbuffer()
604 if(mDepthStencil) in ~DepthStencilbuffer()
606 mDepthStencil->release(); in ~DepthStencilbuffer()
614 if(mDepthStencil) in getRenderTarget()
616 mDepthStencil->addRef(); in getRenderTarget()
619 return mDepthStencil; in getRenderTarget()
626 if(mDepthStencil) in createSharedImage()
[all …]
DRenderbuffer.h272 egl::Image *mDepthStencil;