Home
last modified time | relevance | path

Searched refs:Renderbuffer (Results 1 – 25 of 107) sorted by relevance

12345

/external/swiftshader/src/OpenGL/libGLES_CM/
DRenderbuffer.cpp34 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()
137 Renderbuffer::Renderbuffer(GLuint name, RenderbufferInterface *instance) : NamedObject(name) in Renderbuffer() function in es1::Renderbuffer
143 Renderbuffer::~Renderbuffer() in ~Renderbuffer()
150 void Renderbuffer::addRef() in addRef()
157 void Renderbuffer::release() in release()
166 egl::Image *Renderbuffer::getRenderTarget() in getRenderTarget()
173 egl::Image *Renderbuffer::createSharedImage() in createSharedImage()
[all …]
DFramebuffer.cpp42 Renderbuffer *Framebuffer::lookupRenderbuffer(GLenum type, GLuint handle, GLint level) 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 …]
DFramebuffer.h28 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, GLint level) const;
DRenderbuffer.h31 class Renderbuffer; variable
42 virtual void addProxyRef(const Renderbuffer *proxy);
43 virtual void releaseProxy(const Renderbuffer *proxy);
72 void addProxyRef(const Renderbuffer *proxy) override;
73 void releaseProxy(const Renderbuffer *proxy) override;
121 class Renderbuffer : public gl::NamedObject
124 Renderbuffer(GLuint name, RenderbufferInterface *storage);
126 virtual ~Renderbuffer();
DTexture.h53 virtual void addProxyRef(const Renderbuffer *proxy) = 0;
54 virtual void releaseProxy(const Renderbuffer *proxy) = 0;
86 virtual Renderbuffer *getRenderbuffer(GLenum target, GLint level) = 0;
127 void addProxyRef(const Renderbuffer *proxy) override;
128 void releaseProxy(const Renderbuffer *proxy) override;
156 Renderbuffer *getRenderbuffer(GLenum target, GLint level) override;
176 Renderbuffer *mColorbufferProxy;
DResourceManager.cpp102 Renderbuffer *renderbufferObject = mRenderbufferNameSpace.remove(renderbuffer); in deleteRenderbuffer()
120 Renderbuffer *ResourceManager::getRenderbuffer(unsigned int handle) in getRenderbuffer()
166Renderbuffer *renderbufferObject = new Renderbuffer(handle, new Colorbuffer(0, 0, GL_RGBA4_OES, 0)… in checkRenderbufferAllocation()
DResourceManager.h31 class Renderbuffer; variable
61 Renderbuffer *getRenderbuffer(GLuint handle);
72 gl::NameSpace<Renderbuffer> mRenderbufferNameSpace;
/external/swiftshader/src/OpenGL/libGLESv2/
DRenderbuffer.cpp34 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()
149 void RenderbufferTexture2DRect::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
154 void RenderbufferTexture2DRect::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
212 void RenderbufferTexture3D::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
217 void RenderbufferTexture3D::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
280 void RenderbufferTextureCubeMap::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
285 void RenderbufferTextureCubeMap::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
[all …]
DFramebuffer.h29 class Renderbuffer; variable
59 Renderbuffer *getColorbuffer(GLuint index) const;
60 Renderbuffer *getReadColorbuffer() const;
61 Renderbuffer *getDepthbuffer() const;
62 Renderbuffer *getStencilbuffer() const;
98 gl::BindingPointer<Renderbuffer> mColorbufferPointer[MAX_COLOR_ATTACHMENTS];
102 gl::BindingPointer<Renderbuffer> mDepthbufferPointer;
106 gl::BindingPointer<Renderbuffer> mStencilbufferPointer;
110 Renderbuffer *lookupRenderbuffer(GLenum type, GLuint handle, GLint level) const;
DRenderbuffer.h35 class Renderbuffer; variable
46 virtual void addProxyRef(const Renderbuffer *proxy);
47 virtual void releaseProxy(const Renderbuffer *proxy);
77 void addProxyRef(const Renderbuffer *proxy) override;
78 void releaseProxy(const Renderbuffer *proxy) override;
104 void addProxyRef(const Renderbuffer *proxy) override;
105 void releaseProxy(const Renderbuffer *proxy) override;
127 void addProxyRef(const Renderbuffer *proxy) override;
128 void releaseProxy(const Renderbuffer *proxy) override;
155 void addProxyRef(const Renderbuffer *proxy) override;
[all …]
DFramebuffer.cpp66 Renderbuffer *Framebuffer::lookupRenderbuffer(GLenum type, GLuint handle, GLint level) const in lookupRenderbuffer()
69 Renderbuffer *buffer = nullptr; in lookupRenderbuffer()
183 Renderbuffer *colorbuffer = mColorbufferPointer[index]; in getRenderTarget()
203 Renderbuffer *depthbuffer = mDepthbufferPointer; in getDepthBuffer()
217 Renderbuffer *stencilbuffer = mStencilbufferPointer; in getStencilBuffer()
227 Renderbuffer *Framebuffer::getColorbuffer(GLuint index) const in getColorbuffer()
229 return (index < MAX_COLOR_ATTACHMENTS) ? mColorbufferPointer[index] : (Renderbuffer*)nullptr; in getColorbuffer()
232 Renderbuffer *Framebuffer::getReadColorbuffer() const in getReadColorbuffer()
237 Renderbuffer *Framebuffer::getDepthbuffer() const in getDepthbuffer()
242 Renderbuffer *Framebuffer::getStencilbuffer() const in getStencilbuffer()
[all …]
DTexture.h102 virtual void addProxyRef(const Renderbuffer *proxy) = 0;
103 virtual void releaseProxy(const Renderbuffer *proxy) = 0;
155 virtual Renderbuffer *getRenderbuffer(GLenum target, GLint level) = 0;
161 …yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, Renderbuffer *source) = 0;
202 void addProxyRef(const Renderbuffer *proxy) override;
203 void releaseProxy(const Renderbuffer *proxy) override;
218 …vel, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, Renderbuffer *source);
219 …fset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, Renderbuffer *source) overri…
231 Renderbuffer *getRenderbuffer(GLenum target, GLint level) override;
251 Renderbuffer *mColorbufferProxy;
[all …]
DTexture.cpp452 void Texture2D::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
457 void Texture2D::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
606 …evel, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, Renderbuffer *source) in copyImage()
639 …Lint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, Renderbuffer *source) in copySubImage()
805 Renderbuffer *Texture2D::getRenderbuffer(GLenum target, GLint level) in getRenderbuffer()
809 return error(GL_INVALID_OPERATION, (Renderbuffer*)nullptr); in getRenderbuffer()
814 mColorbufferProxy = new Renderbuffer(name, new RenderbufferTexture2D(this, level)); in getRenderbuffer()
869 Renderbuffer *Texture2DRect::getRenderbuffer(GLenum target, GLint level) in getRenderbuffer()
873 return error(GL_INVALID_OPERATION, (Renderbuffer*)nullptr); in getRenderbuffer()
878 mColorbufferProxy = new Renderbuffer(name, new RenderbufferTexture2DRect(this)); in getRenderbuffer()
[all …]
DResourceManager.h34 class Renderbuffer; variable
80 Renderbuffer *getRenderbuffer(GLuint handle);
101 gl::NameSpace<Renderbuffer> mRenderbufferNameSpace;
DResourceManager.cpp211 Renderbuffer *renderbufferObject = mRenderbufferNameSpace.remove(renderbuffer); in deleteRenderbuffer()
259 Renderbuffer *ResourceManager::getRenderbuffer(unsigned int handle) in getRenderbuffer()
331 Renderbuffer *renderbufferObject = new Renderbuffer(handle, new Colorbuffer(0, 0, GL_NONE, 0)); in checkRenderbufferAllocation()
/external/mesa3d/src/mesa/main/
Dframebuffer.c222 if (att->Renderbuffer) { in _mesa_free_framebuffer_data()
223 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); in _mesa_free_framebuffer_data()
228 assert(!att->Renderbuffer); in _mesa_free_framebuffer_data()
294 if (att->Type == GL_RENDERBUFFER_EXT && att->Renderbuffer) { in _mesa_resize_framebuffer()
295 struct gl_renderbuffer *rb = att->Renderbuffer; in _mesa_resize_framebuffer()
437 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual()
438 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual()
465 if (fb->Attachment[i].Renderbuffer) { in _mesa_update_framebuffer_visual()
466 const struct gl_renderbuffer *rb = fb->Attachment[i].Renderbuffer; in _mesa_update_framebuffer_visual()
476 if (fb->Attachment[BUFFER_DEPTH].Renderbuffer) { in _mesa_update_framebuffer_visual()
[all …]
Dclear.c281 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask()
283 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) in make_color_buffer_mask()
293 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask()
295 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask()
297 if (att[BUFFER_BACK_RIGHT].Renderbuffer) in make_color_buffer_mask()
301 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask()
303 if (att[BUFFER_BACK_LEFT].Renderbuffer) in make_color_buffer_mask()
307 if (att[BUFFER_FRONT_RIGHT].Renderbuffer) in make_color_buffer_mask()
309 if (att[BUFFER_BACK_RIGHT].Renderbuffer) in make_color_buffer_mask()
313 if (att[BUFFER_FRONT_LEFT].Renderbuffer) in make_color_buffer_mask()
[all …]
Drenderbuffer.c124 fb->Attachment[bufferName].Renderbuffer == NULL); in validate_and_init_renderbuffer_attachment()
155 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_attach_and_own_rb()
157 fb->Attachment[bufferName].Renderbuffer = rb; in _mesa_attach_and_own_rb()
170 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); in _mesa_attach_and_reference_rb()
183 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_remove_renderbuffer()
Dblit.c55 if (fb->Attachment[i].Renderbuffer == rb) in find_attachment()
260 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
262 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in validate_stencil_buffer()
306 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
308 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in validate_depth_buffer()
481 readFb->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_framebuffer()
483 drawFb->Attachment[BUFFER_STENCIL].Renderbuffer; in blit_framebuffer()
501 readFb->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_framebuffer()
503 drawFb->Attachment[BUFFER_DEPTH].Renderbuffer; in blit_framebuffer()
Dfbobject.c391 struct gl_renderbuffer *rb = att->Renderbuffer; in remove_attachment()
404 _mesa_reference_renderbuffer(&att->Renderbuffer, NULL); /* unbind */ in remove_attachment()
405 assert(!att->Renderbuffer); in remove_attachment()
456 rb = att->Renderbuffer; in _mesa_update_texture_renderbuffer()
463 att->Renderbuffer = rb; in _mesa_update_texture_renderbuffer()
501 struct gl_renderbuffer *rb = att->Renderbuffer; in set_texture_attachment()
545 _mesa_reference_renderbuffer(&att->Renderbuffer, rb); in set_renderbuffer_attachment()
602 const struct gl_renderbuffer *rb = fb->Attachment[buf].Renderbuffer; in _mesa_validate_framebuffer()
643 depth->Renderbuffer == stencil->Renderbuffer) in _mesa_has_depthstencil_combined()
904 const GLenum baseFormat = att->Renderbuffer->_BaseFormat; in test_attachment_completeness()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c266 assert(fb->Attachment[b].Renderbuffer == NULL); in add_color_renderbuffers()
304 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_renderbuffer()
349 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_stencil_renderbuffer()
373 assert(fb->Attachment[BUFFER_DEPTH].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
374 assert(fb->Attachment[BUFFER_STENCIL].Renderbuffer == NULL); in add_depth_stencil_renderbuffer()
413 assert(fb->Attachment[BUFFER_ACCUM].Renderbuffer == NULL); in add_accum_renderbuffer()
457 assert(fb->Attachment[BUFFER_AUX0 + i].Renderbuffer == NULL); in add_aux_renderbuffers()
560 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in map_attachment()
594 struct gl_renderbuffer *rb = fb->Attachment[buffer].Renderbuffer; in unmap_attachment()
649 depthRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in _swrast_map_renderbuffers()
[all …]
Ds_copypix.c237 struct gl_renderbuffer *readRb = fb->Attachment[BUFFER_DEPTH].Renderbuffer; in copy_depth_pixels()
339 struct gl_renderbuffer *rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer; in copy_stencil_pixels()
452 srcRb = srcFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
453 dstRb = dstFb->Attachment[BUFFER_STENCIL].Renderbuffer; in swrast_fast_copy_pixels()
456 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
457 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
462 srcRb = srcFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
463 dstRb = dstFb->Attachment[BUFFER_DEPTH].Renderbuffer; in swrast_fast_copy_pixels()
479 if (srcRb != srcFb->Attachment[BUFFER_STENCIL].Renderbuffer || in swrast_fast_copy_pixels()
480 dstRb != dstFb->Attachment[BUFFER_STENCIL].Renderbuffer) in swrast_fast_copy_pixels()
[all …]
Ds_texrender.c32 struct gl_renderbuffer *rb = att->Renderbuffer; in update_wrapper()
82 struct gl_renderbuffer *rb = att->Renderbuffer; in _swrast_render_texture()
/external/deqp/modules/glshared/
DglsFboUtil.hpp215 struct Renderbuffer : public Image struct
217 Renderbuffer (void) : numSamples(0) {} in Renderbuffer() argument
309 typedef std::map<glw::GLuint, const Renderbuffer*> RboMap;
320 void setRbo (glw::GLuint rbName, const Renderbuffer& rbCfg);
332 glw::GLuint glCreateRbo (const config::Renderbuffer& rbCfg);
/external/skqp/src/gpu/gl/
DGrGLCreateNullInterface.cpp140 class Renderbuffer : public FramebufferAttachment { class
142 Renderbuffer(int id) : INHERITED(id) {} in Renderbuffer() function in __anonbc4282d90111::Renderbuffer
337 Renderbuffer* renderbuffer = fRenderbufferManager.create(); in genRenderbuffers()
355 Renderbuffer* renderbuffer = fRenderbufferManager.lookUp(ids[i]); in deleteRenderbuffers()
374 Renderbuffer* renderbuffer = fRenderbufferManager.lookUp(fCurrRenderbuffer); in renderbufferStorage()
384 Renderbuffer* renderbuffer = fRenderbufferManager.lookUp(fCurrRenderbuffer); in renderbufferStorageMultisample()
411 Renderbuffer* renderbuffer = fRenderbufferManager.lookUp(fCurrRenderbuffer); in framebufferRenderbuffer()
714 TGLObjectManager<Renderbuffer> fRenderbufferManager;

12345