/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Renderbuffer.cpp | 34 void RenderbufferInterface::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 38 void RenderbufferInterface::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 86 void RenderbufferTexture2D::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 91 void RenderbufferTexture2D::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 158 void RenderbufferTexture3D::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 163 void RenderbufferTexture3D::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 231 void RenderbufferTextureCubeMap::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 236 void RenderbufferTextureCubeMap::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 287 Renderbuffer::Renderbuffer(GLuint name, RenderbufferInterface *instance) : NamedObject(name) in Renderbuffer() function in es2::Renderbuffer 293 Renderbuffer::~Renderbuffer() in ~Renderbuffer() [all …]
|
D | Framebuffer.h | 29 class Renderbuffer; variable 59 Renderbuffer *getColorbuffer(GLuint index); 60 Renderbuffer *getReadColorbuffer(); 61 Renderbuffer *getDepthbuffer(); 62 Renderbuffer *getStencilbuffer(); 92 gl::BindingPointer<Renderbuffer> mColorbufferPointer[MAX_COLOR_ATTACHMENTS]; 97 gl::BindingPointer<Renderbuffer> mDepthbufferPointer; 100 gl::BindingPointer<Renderbuffer> mStencilbufferPointer; 103 Renderbuffer *lookupRenderbuffer(GLenum type, GLuint handle, GLint level, GLint layer) const;
|
D | Framebuffer.cpp | 60 Renderbuffer *Framebuffer::lookupRenderbuffer(GLenum type, GLuint handle, GLint level, GLint layer)… in lookupRenderbuffer() 63 Renderbuffer *buffer = nullptr; in lookupRenderbuffer() 172 Renderbuffer *colorbuffer = mColorbufferPointer[index]; in getRenderTarget() 192 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer() 206 Renderbuffer *stencilbuffer = mStencilbufferPointer; in getStencilBuffer() 216 Renderbuffer *Framebuffer::getColorbuffer(GLuint index) in getColorbuffer() 218 return (index < MAX_COLOR_ATTACHMENTS) ? mColorbufferPointer[index] : (Renderbuffer*)nullptr; in getColorbuffer() 221 Renderbuffer *Framebuffer::getReadColorbuffer() in getReadColorbuffer() 227 Renderbuffer *Framebuffer::getDepthbuffer() in getDepthbuffer() 232 Renderbuffer *Framebuffer::getStencilbuffer() in getStencilbuffer() [all …]
|
D | Renderbuffer.h | 33 class Renderbuffer; variable 44 virtual void addProxyRef(const Renderbuffer *proxy); 45 virtual void releaseProxy(const Renderbuffer *proxy); 78 virtual void addProxyRef(const Renderbuffer *proxy); 79 virtual void releaseProxy(const Renderbuffer *proxy); 106 virtual void addProxyRef(const Renderbuffer *proxy); 107 virtual void releaseProxy(const Renderbuffer *proxy); 138 virtual void addProxyRef(const Renderbuffer *proxy); 139 virtual void releaseProxy(const Renderbuffer *proxy); 191 class Renderbuffer : public gl::NamedObject [all …]
|
D | Texture.h | 57 virtual void addProxyRef(const Renderbuffer *proxy) = 0; 58 virtual void releaseProxy(const Renderbuffer *proxy) = 0; 111 virtual Renderbuffer *getRenderbuffer(GLenum target, GLint level, GLint layer) = 0; 158 void addProxyRef(const Renderbuffer *proxy) override; 159 void releaseProxy(const Renderbuffer *proxy) override; 188 virtual Renderbuffer *getRenderbuffer(GLenum target, GLint level, GLint layer); 208 Renderbuffer *mColorbufferProxy; 217 void addProxyRef(const Renderbuffer *proxy) override; 218 void releaseProxy(const Renderbuffer *proxy) override; 245 virtual Renderbuffer *getRenderbuffer(GLenum target, GLint level, GLint layer); [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Renderbuffer.cpp | 34 void RenderbufferInterface::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 38 void RenderbufferInterface::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 86 void RenderbufferTexture2D::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 91 void RenderbufferTexture2D::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 142 Renderbuffer::Renderbuffer(GLuint name, RenderbufferInterface *instance) : NamedObject(name) in Renderbuffer() function in es1::Renderbuffer 148 Renderbuffer::~Renderbuffer() in ~Renderbuffer() 155 void Renderbuffer::addRef() in addRef() 162 void Renderbuffer::release() in release() 171 egl::Image *Renderbuffer::getRenderTarget() in getRenderTarget() 178 egl::Image *Renderbuffer::createSharedImage() in createSharedImage() [all …]
|
D | Framebuffer.cpp | 42 Renderbuffer *Framebuffer::lookupRenderbuffer(GLenum type, GLuint handle) const in lookupRenderbuffer() 45 Renderbuffer *buffer = nullptr; in lookupRenderbuffer() 128 Renderbuffer *colorbuffer = mColorbufferPointer; in getRenderTarget() 142 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer() 156 Renderbuffer *stencilbuffer = mStencilbufferPointer; in getStencilBuffer() 166 Renderbuffer *Framebuffer::getColorbuffer() in getColorbuffer() 171 Renderbuffer *Framebuffer::getDepthbuffer() in getDepthbuffer() 176 Renderbuffer *Framebuffer::getStencilbuffer() in getStencilbuffer() 215 Renderbuffer *stencilbufferObject = getStencilbuffer(); in hasStencil() 243 Renderbuffer *colorbuffer = getColorbuffer(); in completeness() [all …]
|
D | Framebuffer.h | 28 class Renderbuffer; variable 52 Renderbuffer *getColorbuffer(); 53 Renderbuffer *getDepthbuffer(); 54 Renderbuffer *getStencilbuffer(); 74 gl::BindingPointer<Renderbuffer> mColorbufferPointer; 77 gl::BindingPointer<Renderbuffer> mDepthbufferPointer; 80 gl::BindingPointer<Renderbuffer> mStencilbufferPointer; 83 Renderbuffer *lookupRenderbuffer(GLenum type, GLuint handle) const;
|
D | Renderbuffer.h | 31 class Renderbuffer; variable 42 virtual void addProxyRef(const Renderbuffer *proxy); 43 virtual void releaseProxy(const Renderbuffer *proxy); 70 virtual void addProxyRef(const Renderbuffer *proxy); 71 virtual void releaseProxy(const Renderbuffer *proxy); 118 class Renderbuffer : public gl::NamedObject 121 Renderbuffer(GLuint name, RenderbufferInterface *storage); 123 virtual ~Renderbuffer();
|
D | ResourceManager.cpp | 102 Renderbuffer *renderbufferObject = mRenderbufferNameSpace.remove(renderbuffer); in deleteRenderbuffer() 120 Renderbuffer *ResourceManager::getRenderbuffer(unsigned int handle) in getRenderbuffer() 166 …Renderbuffer *renderbufferObject = new Renderbuffer(handle, new Colorbuffer(0, 0, GL_RGBA4_OES, 0)… in checkRenderbufferAllocation()
|
D | Texture.h | 57 virtual void addProxyRef(const Renderbuffer *proxy) = 0; 58 virtual void releaseProxy(const Renderbuffer *proxy) = 0; 92 virtual Renderbuffer *getRenderbuffer(GLenum target) = 0; 133 void addProxyRef(const Renderbuffer *proxy) override; 134 void releaseProxy(const Renderbuffer *proxy) override; 164 virtual Renderbuffer *getRenderbuffer(GLenum target); 184 Renderbuffer *mColorbufferProxy;
|
D | ResourceManager.h | 31 class Renderbuffer; variable 62 Renderbuffer *getRenderbuffer(GLuint handle); 73 gl::NameSpace<Renderbuffer> mRenderbufferNameSpace;
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Renderbuffer.cpp | 34 void RenderbufferInterface::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 38 void RenderbufferInterface::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 86 void RenderbufferTexture2D::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 91 void RenderbufferTexture2D::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 142 void RenderbufferTextureCubeMap::addProxyRef(const Renderbuffer *proxy) in addProxyRef() 147 void RenderbufferTextureCubeMap::releaseProxy(const Renderbuffer *proxy) in releaseProxy() 186 Renderbuffer::Renderbuffer(GLuint name, RenderbufferInterface *instance) : NamedObject(name) in Renderbuffer() function in gl::Renderbuffer 192 Renderbuffer::~Renderbuffer() in ~Renderbuffer() 199 void Renderbuffer::addRef() in addRef() 206 void Renderbuffer::release() in release() [all …]
|
D | Framebuffer.h | 31 class Renderbuffer; variable 54 Renderbuffer *getColorbuffer(); 55 Renderbuffer *getDepthbuffer(); 56 Renderbuffer *getStencilbuffer(); 73 BindingPointer<Renderbuffer> mColorbufferPointer; 76 BindingPointer<Renderbuffer> mDepthbufferPointer; 79 BindingPointer<Renderbuffer> mStencilbufferPointer; 82 Renderbuffer *lookupRenderbuffer(GLenum type, GLuint handle) const;
|
D | Framebuffer.cpp | 42 Renderbuffer *Framebuffer::lookupRenderbuffer(GLenum type, GLuint handle) const in lookupRenderbuffer() 45 Renderbuffer *buffer = nullptr; in lookupRenderbuffer() 128 Renderbuffer *colorbuffer = mColorbufferPointer; in getRenderTarget() 142 Renderbuffer *depthstencilbuffer = mDepthbufferPointer; in getDepthStencil() 157 Renderbuffer *Framebuffer::getColorbuffer() in getColorbuffer() 162 Renderbuffer *Framebuffer::getDepthbuffer() in getDepthbuffer() 167 Renderbuffer *Framebuffer::getStencilbuffer() in getStencilbuffer() 206 Renderbuffer *stencilbufferObject = getStencilbuffer(); in hasStencil() 234 Renderbuffer *colorbuffer = getColorbuffer(); in completeness() 281 Renderbuffer *depthbuffer = nullptr; in completeness() [all …]
|
D | Renderbuffer.h | 35 class Renderbuffer; variable 46 virtual void addProxyRef(const Renderbuffer *proxy); 47 virtual void releaseProxy(const Renderbuffer *proxy); 72 virtual void addProxyRef(const Renderbuffer *proxy); 73 virtual void releaseProxy(const Renderbuffer *proxy); 94 virtual void addProxyRef(const Renderbuffer *proxy); 95 virtual void releaseProxy(const Renderbuffer *proxy); 139 class Renderbuffer : public NamedObject 142 Renderbuffer(GLuint name, RenderbufferInterface *storage); 144 virtual ~Renderbuffer();
|
D | Texture.h | 57 virtual void addProxyRef(const Renderbuffer *proxy) = 0; 58 virtual void releaseProxy(const Renderbuffer *proxy) = 0; 86 virtual Renderbuffer *getRenderbuffer(GLenum target) = 0; 119 void addProxyRef(const Renderbuffer *proxy); 120 void releaseProxy(const Renderbuffer *proxy); 146 virtual Renderbuffer *getRenderbuffer(GLenum target); 161 Renderbuffer *mColorbufferProxy; 172 void addProxyRef(const Renderbuffer *proxy); 173 void releaseProxy(const Renderbuffer *proxy); 198 virtual Renderbuffer *getRenderbuffer(GLenum target); [all …]
|
D | ResourceManager.h | 36 class Renderbuffer; variable 73 Renderbuffer *getRenderbuffer(GLuint handle); 75 void setRenderbuffer(GLuint handle, Renderbuffer *renderbuffer); 99 typedef std::map<GLint, Renderbuffer*> RenderbufferMap;
|
/external/mesa3d/src/mesa/main/ |
D | clear.c | 255 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask() 257 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) in make_color_buffer_mask() 261 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask() 263 if (att[BUFFER_BACK_RIGHT].Renderbuffer) in make_color_buffer_mask() 267 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask() 269 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask() 273 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) in make_color_buffer_mask() 275 if (att[BUFFER_BACK_RIGHT].Renderbuffer) in make_color_buffer_mask() 279 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask() 281 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask() [all …]
|
D | framebuffer.c | 215 if (att->Renderbuffer) { in _mesa_free_framebuffer_data() 216 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in _mesa_free_framebuffer_data() 221 ASSERT(!att->Renderbuffer); in _mesa_free_framebuffer_data() 289 if (att->Type == GL_RENDERBUFFER_EXT && att->Renderbuffer) { in _mesa_resize_framebuffer() 290 struct gl_renderbuffer *rb = att->Renderbuffer; in _mesa_resize_framebuffer() 415 const struct gl_renderbuffer *rb = att->Renderbuffer; in update_framebuffer_size() 515 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual() 516 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual() 543 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual() 544 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual() [all …]
|
D | fbobject.c | 316 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); /* unbind */ in _mesa_remove_attachment() 317 ASSERT(!att->Renderbuffer); in _mesa_remove_attachment() 379 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); in _mesa_set_renderbuffer_attachment() 429 const struct gl_renderbuffer *rb = fb->Attachment[buf].Renderbuffer; in _mesa_validate_framebuffer() 612 _mesa_get_format_base_format(att->Renderbuffer->Format); in test_attachment_completeness() 614 ASSERT(att->Renderbuffer); in test_attachment_completeness() 615 if (!att->Renderbuffer->InternalFormat || in test_attachment_completeness() 616 att->Renderbuffer->Width < 1 || in test_attachment_completeness() 617 att->Renderbuffer->Height < 1) { in test_attachment_completeness() 760 minWidth = MIN2(minWidth, att->Renderbuffer->Width); in _mesa_test_framebuffer_completeness() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_renderbuffer.c | 268 assert(fb->Attachment[b].Renderbuffer == NULL); in add_color_renderbuffers() 306 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_renderbuffer() 351 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_stencil_renderbuffer() 375 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_stencil_renderbuffer() 376 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_depth_stencil_renderbuffer() 415 assert(fb->Attachment[BUFFER_ACCUM].Renderbuffer == NULL); in add_accum_renderbuffer() 459 assert(fb->Attachment[BUFFER_AUX0 + i].Renderbuffer == NULL); in add_aux_renderbuffers() 562 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in map_attachment() 596 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in unmap_attachment() 651 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers() [all …]
|
D | s_copypix.c | 248 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in copy_depth_pixels() 350 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in copy_stencil_pixels() 463 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels() 464 dstRb = dstFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels() 467 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels() 468 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels() 473 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels() 474 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels() 490 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || in swrast_fast_copy_pixels() 491 dstRb != dstFb->Attachment[BUFFER_STENCIL].Renderbuffer) in swrast_fast_copy_pixels() [all …]
|
D | s_texrender.c | 38 ASSERT(att->Renderbuffer == NULL); in wrap_texture() 53 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); in wrap_texture() 64 struct gl_renderbuffer *rb = att->Renderbuffer; in update_wrapper() 131 if (!att->Renderbuffer) { in _swrast_render_texture()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_blit.c | 106 srcRb = st_renderbuffer(srcDepth->Renderbuffer); in st_BlitFramebuffer_resolve() 107 dstRb = st_renderbuffer(dstDepth->Renderbuffer); in st_BlitFramebuffer_resolve() 126 srcRb = st_renderbuffer(srcStencil->Renderbuffer); in st_BlitFramebuffer_resolve() 127 dstRb = st_renderbuffer(dstStencil->Renderbuffer); in st_BlitFramebuffer_resolve() 278 st_renderbuffer(readFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer() 280 st_renderbuffer(drawFB->Attachment[BUFFER_DEPTH].Renderbuffer); in st_BlitFramebuffer() 285 st_renderbuffer(readFB->Attachment[BUFFER_STENCIL].Renderbuffer); in st_BlitFramebuffer() 287 st_renderbuffer(drawFB->Attachment[BUFFER_STENCIL].Renderbuffer); in st_BlitFramebuffer()
|