Home
last modified time | relevance | path

Searched refs:rbo (Results 1 – 25 of 81) sorted by relevance

1234

/external/libdrm/tests/radeon/
Drbo.h31 struct rbo { struct
42 struct rbo *rbo(int fd, unsigned handle, unsigned size, argument
44 int rbo_map(struct rbo *bo);
45 void rbo_unmap(struct rbo *bo);
46 struct rbo *rbo_incref(struct rbo *bo);
47 struct rbo *rbo_decref(struct rbo *bo);
48 int rbo_wait(struct rbo *bo);
Drbo.c36 struct rbo *rbo(int fd, unsigned handle, unsigned size, in rbo() function
39 struct rbo *bo; in rbo()
94 int rbo_map(struct rbo *bo) in rbo_map()
124 void rbo_unmap(struct rbo *bo) in rbo_unmap()
133 struct rbo *rbo_incref(struct rbo *bo) in rbo_incref()
139 struct rbo *rbo_decref(struct rbo *bo) in rbo_decref()
153 memset(bo, 0, sizeof(struct rbo)); in rbo_decref()
158 int rbo_wait(struct rbo *bo) in rbo_wait()
DMakefile.am12 rbo.c \
13 rbo.h \
Dradeon_ttm.c38 struct rbo *bo, *tmp; in ttm_starve_kernel_private_memory()
44 bo = rbo(fd, 0, 4096, 0, NULL); in ttm_starve_kernel_private_memory()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_cs.h71 struct r600_resource *rbo, in radeon_add_to_buffer_list() argument
77 ring->cs, rbo->buf, in radeon_add_to_buffer_list()
79 rbo->domains, priority) * 4; in radeon_add_to_buffer_list()
102 struct r600_resource *rbo, in radeon_add_to_buffer_list_check_mem() argument
109 rctx->vram + rbo->vram_usage, in radeon_add_to_buffer_list_check_mem()
110 rctx->gtt + rbo->gart_usage)) in radeon_add_to_buffer_list_check_mem()
113 return radeon_add_to_buffer_list(rctx, ring, rbo, usage, priority); in radeon_add_to_buffer_list_check_mem()
117 struct r600_ring *ring, struct r600_resource *rbo, in r600_emit_reloc() argument
123 unsigned reloc = radeon_add_to_buffer_list(rctx, ring, rbo, usage, priority); in r600_emit_reloc()
/external/deqp/modules/gles3/functional/
Des3fFboApiTests.cpp235 deUint32 rbo = 3; in validRboAttachmentsTest() local
236 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
239 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
255 deUint32 rbo = 1; in attachToDefaultFramebufferTest() local
256 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
257 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
299 deUint32 rbo = 3; in invalidRboAttachmentTest() local
300 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
301 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER, rbo); in invalidRboAttachmentTest()
305 context.deleteRenderbuffers(1, &rbo); in invalidRboAttachmentTest()
[all …]
Des3fNegativeBufferApiTests.cpp274 deUint32 rbo; in init()
276 glGenRenderbuffers(1, &rbo); in init()
277 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
279 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in init()
307 glDeleteRenderbuffers (1, &rbo); in init()
954 GLuint rbo; in init()
957 glGenRenderbuffers(1, &rbo); in init()
965 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
966 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo); in init()
982 glDeleteRenderbuffers(1, &rbo); in init()
[all …]
Des3fNegativeStateApiTests.cpp861 GLuint rbo[2]; in init()
864 glGenRenderbuffers (2, rbo); in init()
867 glBindRenderbuffer (GL_RENDERBUFFER, rbo[0]); in init()
869 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo[0]); in init()
870 glBindRenderbuffer (GL_RENDERBUFFER, rbo[1]); in init()
872 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]); in init()
915 GLuint rbo; in init()
916 glGenRenderbuffers(1, &rbo); in init()
917 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
929 glDeleteRenderbuffers(1, &rbo); in init()
[all …]
Des3fShaderFragDataTests.cpp309 const deUint32 rbo = ndx == 0 ? *colorBuf0 : *colorBuf1; in iterate() local
311 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
313 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0+ndx, GL_RENDERBUFFER, rbo); in iterate()
/external/deqp/modules/gles2/functional/
Des2fFboApiTest.cpp260 deUint32 rbo = 3; in validRboAttachmentsTest() local
261 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
264 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo); in validRboAttachmentsTest()
280 deUint32 rbo = 1; in attachToDefaultFramebufferTest() local
281 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
282 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo); in attachToDefaultFramebufferTest()
324 deUint32 rbo = 3; in invalidRboAttachmentTest() local
325 context.bindRenderbuffer(GL_RENDERBUFFER, rbo); in invalidRboAttachmentTest()
326 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER, rbo); in invalidRboAttachmentTest()
330 context.deleteRenderbuffers(1, &rbo); in invalidRboAttachmentTest()
[all …]
Des2fNegativeBufferApiTests.cpp279 GLuint rbo; in init()
282 glGenRenderbuffers(1, &rbo); in init()
295 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
296 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo); in init()
312 glDeleteRenderbuffers(1, &rbo); in init()
388 GLuint rbo; in init()
389 glGenRenderbuffers(1, &rbo); in init()
390 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
434 glDeleteRenderbuffers(1, &rbo); in init()
Des2fNegativeStateApiTests.cpp572 GLuint rbo; in init()
573 glGenRenderbuffers(1, &rbo); in init()
574 glBindRenderbuffer(GL_RENDERBUFFER, rbo); in init()
594 glDeleteRenderbuffers(1, &rbo); in init()
697 GLuint rbo = 0; in init()
701 isRbo = glIsRenderbuffer(rbo); in init()
704 glGenRenderbuffers (1, &rbo); in init()
705 isRbo = glIsRenderbuffer(rbo); in init()
708 glBindRenderbuffer (GL_RENDERBUFFER, rbo); in init()
709 isRbo = glIsRenderbuffer(rbo); in init()
[all …]
Des2fFboCompletenessTests.cpp324 const bool rbo = (flags & RENDERBUFFER_VALID) != 0; in formatKind() local
326 DE_ASSERT(rbo != ((flags & TEXTURE_VALID) != 0)); in formatKind()
328 return rbo ? GL_RENDERBUFFER : GL_TEXTURE; in formatKind()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_cs.h69 struct r600_resource *rbo, in radeon_add_to_buffer_list() argument
75 ring->cs, rbo->buf, in radeon_add_to_buffer_list()
77 rbo->domains, priority) * 4; in radeon_add_to_buffer_list()
100 struct r600_resource *rbo, in radeon_add_to_buffer_list_check_mem() argument
107 rctx->vram + rbo->vram_usage, in radeon_add_to_buffer_list_check_mem()
108 rctx->gtt + rbo->gart_usage)) in radeon_add_to_buffer_list_check_mem()
111 return radeon_add_to_buffer_list(rctx, ring, rbo, usage, priority); in radeon_add_to_buffer_list_check_mem()
/external/deqp/modules/egl/
DteglImageUtil.cpp345 void initializeStencilRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) in initializeStencilRbo() argument
365 GL_RENDERBUFFER, rbo)); in initializeStencilRbo()
393 void initializeDepthRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) in initializeDepthRbo() argument
398 GL_RENDERBUFFER, rbo)); in initializeDepthRbo()
428 void initializeColorRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) in initializeColorRbo() argument
441 GL_RENDERBUFFER, rbo)); in initializeColorRbo()
471 const GLuint rbo = buffer->getName(); in createBuffer() local
473 GLU_CHECK_CALL_ERROR(gl.bindRenderbuffer(GL_RENDERBUFFER, rbo), gl.getError()); in createBuffer()
490 initializeStencilRbo(gl, rbo, *ref); in createBuffer()
493 initializeDepthRbo(gl, rbo, *ref); in createBuffer()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeBufferApiTests.cpp330 deUint32 rbo = 0x1234; in read_pixels_fbo_format_mismatch() local
332 ctx.glGenRenderbuffers(1, &rbo); in read_pixels_fbo_format_mismatch()
333 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo); in read_pixels_fbo_format_mismatch()
335 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in read_pixels_fbo_format_mismatch()
362 ctx.glDeleteRenderbuffers (1, &rbo); in read_pixels_fbo_format_mismatch()
1103 GLuint rbo = 0x1234; in framebuffer_renderbuffer() local
1106 ctx.glGenRenderbuffers(1, &rbo); in framebuffer_renderbuffer()
1119 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo); in framebuffer_renderbuffer()
1120 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo); in framebuffer_renderbuffer()
1136 ctx.glDeleteRenderbuffers(1, &rbo); in framebuffer_renderbuffer()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcPackedDepthStencilTests.cpp1822 GLuint rbo[2]; // color, D/S in iterate() local
1823 gl.genRenderbuffers(2, rbo); in iterate()
1824 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo[0]); in iterate()
1826 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo[1]); in iterate()
1829 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo[0]); in iterate()
1835 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo[1]); in iterate()
1839 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]); in iterate()
1917 gl.deleteRenderbuffers(2, rbo); in iterate()
1979 GLuint rbo[3]; // color, DEPTH_STENCIL, DEPTH/STENCIL in iterate() local
1980 gl.genRenderbuffers(3, rbo); in iterate()
[all …]
DglcSampleVariablesTests.cpp385 GLuint rbo; in iterate() local
386 gl.genRenderbuffers(1, &rbo); in iterate()
387 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
393 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in iterate()
532 gl.deleteRenderbuffers(1, &rbo); in iterate()
690 GLuint rbo; in iterate() local
691 gl.genRenderbuffers(1, &rbo); in iterate()
692 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
698 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in iterate()
837 gl.deleteRenderbuffers(1, &rbo); in iterate()
DglcShaderMultisampleInterpolationTests.cpp415 GLuint rbo; in iterate() local
416 gl.genRenderbuffers(1, &rbo); in iterate()
417 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
423 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in iterate()
541 gl.deleteRenderbuffers(1, &rbo); in iterate()
/external/skia/src/compute/skc/platforms/cl_12/interop/
Dinterop_glfw.c79 GLuint rbo; member
326 glCreateRenderbuffers(1,&interop->rbo); in skc_interop_acquire()
329 glNamedRenderbufferStorage(interop->rbo, in skc_interop_acquire()
338 interop->rbo); in skc_interop_acquire()
564 glNamedRenderbufferStorage(interop->rbo, in skc_interop_resize()
573 interop->rbo); in skc_interop_resize()
581 interop->rbo, in skc_interop_resize()
/external/skqp/src/compute/skc/platforms/cl_12/interop/
Dinterop_glfw.c79 GLuint rbo; member
326 glCreateRenderbuffers(1,&interop->rbo); in skc_interop_acquire()
329 glNamedRenderbufferStorage(interop->rbo, in skc_interop_acquire()
338 interop->rbo); in skc_interop_acquire()
564 glNamedRenderbufferStorage(interop->rbo, in skc_interop_resize()
573 interop->rbo); in skc_interop_resize()
581 interop->rbo, in skc_interop_resize()
/external/deqp/external/openglcts/modules/gles32/
Des32cCopyImageTests.cpp229 GLuint rbo; in verify() local
230 gl.genRenderbuffers(1, &rbo); in verify()
231 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in verify()
237 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in verify()
258 gl.deleteRenderbuffers(1, &rbo); in verify()
/external/deqp/modules/glshared/
DglsFboUtil.cpp307 if (const Renderbuffer* rbo = dynamic_cast<const Renderbuffer*>(&img)) in imageNumSamples() local
308 return rbo->numSamples; in imageNumSamples()
391 if (const Renderbuffer* const rbo = dynamic_cast<const Renderbuffer*>(&cfg)) in glCreate() local
396 if (rbo->numSamples == 0) in glCreate()
397 gl.renderbufferStorage(GL_RENDERBUFFER, rbo->internalFormat.format, in glCreate()
398 rbo->width, rbo->height); in glCreate()
401 GL_RENDERBUFFER, rbo->numSamples, rbo->internalFormat.format, in glCreate()
402 rbo->width, rbo->height); in glCreate()
693 static void logRenderbuffer (const Renderbuffer& rbo, TestLog& log) in logRenderbuffer() argument
695 logImage(rbo, log, false); in logRenderbuffer()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp383 GLuint rbo; in iterate() local
384 gl.genRenderbuffers(1, &rbo); in iterate()
385 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
391 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in iterate()
530 gl.deleteRenderbuffers(1, &rbo); in iterate()
691 GLuint rbo; in iterate() local
692 gl.genRenderbuffers(1, &rbo); in iterate()
693 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
699 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in iterate()
838 gl.deleteRenderbuffers(1, &rbo); in iterate()
/external/deqp/external/openglcts/modules/gles31/
Des31cSampleShadingTests.cpp336 GLuint rbo; in iterate() local
337 gl.genRenderbuffers(1, &rbo); in iterate()
338 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo); in iterate()
344 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in iterate()
435 gl.deleteRenderbuffers(1, &rbo); in iterate()

1234