Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/angle/src/libGLESv2/
DRenderbuffer.cpp30 void RenderbufferInterface::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
34 void RenderbufferInterface::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
82 void RenderbufferTexture2D::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
87 void RenderbufferTexture2D::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
151 void RenderbufferTextureCubeMap::addProxyRef(const Renderbuffer *proxy) in addProxyRef()
156 void RenderbufferTextureCubeMap::releaseProxy(const Renderbuffer *proxy) in releaseProxy()
208 Renderbuffer::Renderbuffer(rx::Renderer *renderer, GLuint id, RenderbufferInterface *instance) : Re… in Renderbuffer() function in gl::Renderbuffer
214 Renderbuffer::~Renderbuffer() in ~Renderbuffer()
221 void Renderbuffer::addRef() const in addRef()
228 void Renderbuffer::release() const in release()
[all …]
DFramebuffer.h24 class Renderbuffer; variable
48 Renderbuffer *getColorbuffer(unsigned int colorAttachment) const;
49 Renderbuffer *getDepthbuffer() const;
50 Renderbuffer *getStencilbuffer() const;
51 Renderbuffer *getDepthOrStencilbuffer() const;
52 Renderbuffer *getReadColorbuffer() const;
54 Renderbuffer *getFirstColorbuffer() const;
77 BindingPointer<Renderbuffer> mColorbufferPointers[IMPLEMENTATION_MAX_DRAW_BUFFERS];
82 BindingPointer<Renderbuffer> mDepthbufferPointer;
85 BindingPointer<Renderbuffer> mStencilbufferPointer;
[all …]
DFramebuffer.cpp48 Renderbuffer *Framebuffer::lookupRenderbuffer(GLenum type, GLuint handle) const in lookupRenderbuffer()
51 Renderbuffer *buffer = NULL; in lookupRenderbuffer()
144 Renderbuffer *colorbuffer = mColorbufferPointers[colorAttachment].get(); in getRenderTargetSerial()
156 Renderbuffer *depthbuffer = mDepthbufferPointer.get(); in getDepthbufferSerial()
168 Renderbuffer *stencilbuffer = mStencilbufferPointer.get(); in getStencilbufferSerial()
178 Renderbuffer *Framebuffer::getColorbuffer(unsigned int colorAttachment) const in getColorbuffer()
184 Renderbuffer *Framebuffer::getDepthbuffer() const in getDepthbuffer()
189 Renderbuffer *Framebuffer::getStencilbuffer() const in getStencilbuffer()
194 Renderbuffer *Framebuffer::getDepthOrStencilbuffer() const in getDepthOrStencilbuffer()
196 Renderbuffer *depthstencilbuffer = mDepthbufferPointer.get(); in getDepthOrStencilbuffer()
[all …]
DRenderbuffer.h32 class Renderbuffer; variable
43 virtual void addProxyRef(const Renderbuffer *proxy);
44 virtual void releaseProxy(const Renderbuffer *proxy);
76 void addProxyRef(const Renderbuffer *proxy);
77 void releaseProxy(const Renderbuffer *proxy);
105 void addProxyRef(const Renderbuffer *proxy);
106 void releaseProxy(const Renderbuffer *proxy);
170 class Renderbuffer : public RefCountObject
173 Renderbuffer(rx::Renderer *renderer, GLuint id, RenderbufferInterface *storage);
175 virtual ~Renderbuffer();
[all …]
DTexture.h41 class Renderbuffer; variable
61 virtual void addProxyRef(const Renderbuffer *proxy) = 0;
62 virtual void releaseProxy(const Renderbuffer *proxy) = 0;
86 virtual Renderbuffer *getRenderbuffer(GLenum target) = 0;
139 void addProxyRef(const Renderbuffer *proxy);
140 void releaseProxy(const Renderbuffer *proxy);
165 virtual Renderbuffer *getRenderbuffer(GLenum target);
196 Renderbuffer *mColorbufferProxy;
207 void addProxyRef(const Renderbuffer *proxy);
208 void releaseProxy(const Renderbuffer *proxy);
[all …]
DResourceManager.h37 class Renderbuffer; variable
64 Renderbuffer *getRenderbuffer(GLuint handle);
66 void setRenderbuffer(GLuint handle, Renderbuffer *renderbuffer);
101 typedef HASH_MAP<GLuint, Renderbuffer*> RenderbufferMap;
/external/chromium_org/gpu/command_buffer/service/
Drenderbuffer_manager.h23 class GPU_EXPORT Renderbuffer
24 : public base::RefCounted<Renderbuffer> {
26 Renderbuffer(RenderbufferManager* manager,
76 friend class base::RefCounted<Renderbuffer>;
78 ~Renderbuffer();
146 Renderbuffer* renderbuffer,
149 void SetCleared(Renderbuffer* renderbuffer, bool cleared);
158 Renderbuffer* GetRenderbuffer(GLuint client_id);
175 friend class Renderbuffer;
177 void StartTracking(Renderbuffer* renderbuffer);
[all …]
Drenderbuffer_manager.cc41 size_t Renderbuffer::EstimatedSize() { in EstimatedSize()
48 void Renderbuffer::AddToSignature( in AddToSignature()
56 Renderbuffer::Renderbuffer(RenderbufferManager* manager, in Renderbuffer() function in gpu::gles2::Renderbuffer
71 Renderbuffer::~Renderbuffer() { in ~Renderbuffer()
88 void RenderbufferManager::StartTracking(Renderbuffer* /* renderbuffer */) { in StartTracking() argument
92 void RenderbufferManager::StopTracking(Renderbuffer* renderbuffer) { in StopTracking()
101 Renderbuffer* renderbuffer, in SetInfo()
115 void RenderbufferManager::SetCleared(Renderbuffer* renderbuffer, in SetCleared()
129 scoped_refptr<Renderbuffer> renderbuffer( in CreateRenderbuffer()
130 new Renderbuffer(this, client_id, service_id)); in CreateRenderbuffer()
[all …]
Drenderbuffer_manager_unittest.cc85 scoped_refptr<Renderbuffer> renderbuffer1 = in TEST_F()
111 Renderbuffer* renderbuffer1 = in TEST_F()
122 TEST_F(RenderbufferManagerTest, Renderbuffer) { in TEST_F() argument
128 Renderbuffer* renderbuffer1 = in TEST_F()
174 Renderbuffer* renderbuffer1 = in TEST_F()
208 scoped_refptr<Renderbuffer> renderbuffer1( in TEST_F()
244 scoped_refptr<Renderbuffer> renderbuffer1( in TEST_F()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dclear.c255 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 …]
Dframebuffer.c215 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 …]
Dfbobject.c316 _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 …]
Drenderbuffer.c108 fb->Attachment[bufferName].Renderbuffer == NULL); in _mesa_add_renderbuffer()
120 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); in _mesa_add_renderbuffer()
133 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_remove_renderbuffer()
/external/mesa3d/src/mesa/main/
Dclear.c255 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 …]
Dframebuffer.c215 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 …]
Dfbobject.c316 _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 …]
Drenderbuffer.c108 fb->Attachment[bufferName].Renderbuffer == NULL); in _mesa_add_renderbuffer()
120 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, rb); in _mesa_add_renderbuffer()
133 _mesa_reference_renderbuffer(&fb->Attachment[bufferName].Renderbuffer, in _mesa_remove_renderbuffer()
/external/mesa3d/src/mesa/swrast/
Ds_renderbuffer.c268 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 …]
Ds_texrender.c38 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()
Ds_copypix.c248 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 …]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_renderbuffer.c268 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 …]
Ds_texrender.c38 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()
Ds_copypix.c248 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 …]
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_cb_blit.c106 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()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_blit.c106 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()

1234567