Home
last modified time | relevance | path

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

1234567

/external/chromium_org/third_party/angle/src/libGLESv2/
DRenderbuffer.cpp24 Renderbuffer::Renderbuffer(GLuint id, RenderbufferStorage *newStorage) in Renderbuffer() function in gl::Renderbuffer
31 Renderbuffer::~Renderbuffer() in ~Renderbuffer()
36 void Renderbuffer::setStorage(RenderbufferStorage *newStorage) in setStorage()
44 RenderbufferStorage *Renderbuffer::getStorage() in getStorage()
50 GLsizei Renderbuffer::getWidth() const in getWidth()
56 GLsizei Renderbuffer::getHeight() const in getHeight()
62 GLenum Renderbuffer::getInternalFormat() const in getInternalFormat()
68 GLenum Renderbuffer::getActualFormat() const in getActualFormat()
74 GLsizei Renderbuffer::getSamples() const in getSamples()
80 GLuint Renderbuffer::getRedSize() const in getRedSize()
[all …]
DFramebufferAttachment.h28 class Renderbuffer; variable
72 virtual Renderbuffer *getRenderbuffer() = 0;
100 virtual Renderbuffer *getRenderbuffer();
112 RenderbufferAttachment(GLenum binding, Renderbuffer *renderbuffer);
129 virtual Renderbuffer *getRenderbuffer();
134 BindingPointer<Renderbuffer> mRenderbuffer;
DResourceManager.h32 class Renderbuffer; variable
65 Renderbuffer *getRenderbuffer(GLuint handle);
69 void setRenderbuffer(GLuint handle, Renderbuffer *renderbuffer);
99 typedef std::unordered_map<GLuint, Renderbuffer*> RenderbufferMap;
DRenderbuffer.h38 class Renderbuffer : public RefCountObject
41 Renderbuffer(GLuint id, RenderbufferStorage *newStorage);
42 virtual ~Renderbuffer();
DFramebufferAttachment.cpp148 Renderbuffer *TextureAttachment::getRenderbuffer() in getRenderbuffer()
156 RenderbufferAttachment::RenderbufferAttachment(GLenum binding, Renderbuffer *renderbuffer) in RenderbufferAttachment()
225 Renderbuffer *RenderbufferAttachment::getRenderbuffer() in getRenderbuffer()
/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.cc82 scoped_refptr<Renderbuffer> renderbuffer1 = in TEST_F()
108 Renderbuffer* renderbuffer1 = in TEST_F()
119 TEST_F(RenderbufferManagerTest, Renderbuffer) { in TEST_F() argument
125 Renderbuffer* renderbuffer1 = in TEST_F()
171 Renderbuffer* renderbuffer1 = in TEST_F()
205 scoped_refptr<Renderbuffer> renderbuffer1( in TEST_F()
241 scoped_refptr<Renderbuffer> renderbuffer1( in TEST_F()
Dframebuffer_manager.h21 class Renderbuffer; variable
45 Renderbuffer* renderbuffer) const = 0;
78 GLenum attachment, Renderbuffer* renderbuffer);
87 GLenum target, Renderbuffer* renderbuffer);
/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/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/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/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