Searched refs:rbo (Results 1 - 25 of 29) sorted by relevance

12

/external/libdrm/tests/radeon/
H A Drbo.h31 struct rbo { struct
42 struct rbo *rbo(int fd, unsigned handle, unsigned size,
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 *b
[all...]
H A Dradeon_ttm.c29 #include "rbo.h"
38 struct rbo *bo, *tmp;
44 bo = rbo(fd, 0, 4096, 0, NULL);
H A Drbo.c34 #include "rbo.h"
36 struct rbo *rbo(int fd, unsigned handle, unsigned size, function
39 struct rbo *bo;
94 int rbo_map(struct rbo *bo)
124 void rbo_unmap(struct rbo *bo)
133 struct rbo *rbo_incref(struct rbo *bo)
139 struct rbo *rbo_decref(struct rbo *b
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_hw_context_priv.h38 static INLINE unsigned r600_context_bo_reloc(struct r600_context *ctx, struct si_resource *rbo, argument
42 return ctx->ws->cs_add_reloc(ctx->cs, rbo->cs_buf, usage, rbo->domains) * 4;
/external/drm_gralloc/
H A Dgralloc_drm_radeon.c77 struct radeon_bo *rbo; member in struct:radeon_buffer
188 struct radeon_bo *rbo; local
224 rbo = radeon_bo_open(info->bufmgr, 0, size, base_align, domain, 0);
225 if (!rbo) {
226 ALOGE("failed to allocate rbo %dx%dx%d",
232 radeon_bo_set_tiling(rbo, tiling, pitch);
234 if (radeon_gem_get_kernel_name(rbo,
236 ALOGE("failed to flink rbo");
237 radeon_bo_unref(rbo);
243 return rbo;
246 radeon_zero(struct radeon_info *info, struct radeon_bo *rbo) argument
[all...]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/
H A Dp2.cpp52 register int rbo; local
/external/deqp/modules/gles2/functional/
H A Des2fFboApiTest.cpp259 deUint32 rbo = 3; local
260 context.bindRenderbuffer(GL_RENDERBUFFER, rbo);
263 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo);
279 deUint32 rbo = 1; local
280 context.bindRenderbuffer(GL_RENDERBUFFER, rbo);
281 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo);
323 deUint32 rbo = 3; local
324 context.bindRenderbuffer(GL_RENDERBUFFER, rbo);
325 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER, rbo);
329 context.deleteRenderbuffers(1, &rbo);
475 deUint32 rbo = 1; local
533 deUint32 rbo = 1; local
[all...]
H A Des2fNegativeBufferApiTests.cpp279 GLuint rbo;
282 glGenRenderbuffers(1, &rbo);
295 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
296 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo);
312 glDeleteRenderbuffers(1, &rbo);
380 GLuint rbo;
381 glGenRenderbuffers(1, &rbo);
382 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
424 glDeleteRenderbuffers(1, &rbo);
H A Des2fFboCompletenessTests.cpp288 const bool rbo = (flags & RENDERBUFFER_VALID) != 0; local
290 DE_ASSERT(rbo != ((flags & TEXTURE_VALID) != 0));
292 return rbo ? GL_RENDERBUFFER : GL_TEXTURE;
H A Des2fNegativeStateApiTests.cpp548 GLuint rbo;
549 glGenRenderbuffers(1, &rbo);
550 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
570 glDeleteRenderbuffers(1, &rbo);
673 GLuint rbo = 0;
677 isRbo = glIsRenderbuffer(rbo);
680 glGenRenderbuffers (1, &rbo);
681 isRbo = glIsRenderbuffer(rbo);
684 glBindRenderbuffer (GL_RENDERBUFFER, rbo);
685 isRbo = glIsRenderbuffer(rbo);
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFboApiTests.cpp235 deUint32 rbo = 3; local
236 context.bindRenderbuffer(GL_RENDERBUFFER, rbo);
239 context.framebufferRenderbuffer(GL_FRAMEBUFFER, attachmentPoints[pointNdx], GL_RENDERBUFFER, rbo);
255 deUint32 rbo = 1; local
256 context.bindRenderbuffer(GL_RENDERBUFFER, rbo);
257 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo);
299 deUint32 rbo = 3; local
300 context.bindRenderbuffer(GL_RENDERBUFFER, rbo);
301 context.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_FRAMEBUFFER, rbo);
305 context.deleteRenderbuffers(1, &rbo);
451 deUint32 rbo = 1; local
509 deUint32 rbo = 1; local
[all...]
H A Des3fNegativeBufferApiTests.cpp274 deUint32 rbo;
276 glGenRenderbuffers(1, &rbo);
277 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
279 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo);
307 glDeleteRenderbuffers (1, &rbo);
954 GLuint rbo;
957 glGenRenderbuffers(1, &rbo);
965 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
966 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo);
982 glDeleteRenderbuffers(1, &rbo);
[all...]
H A Des3fNegativeStateApiTests.cpp861 GLuint rbo[2];
864 glGenRenderbuffers (2, rbo);
867 glBindRenderbuffer (GL_RENDERBUFFER, rbo[0]);
869 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo[0]);
870 glBindRenderbuffer (GL_RENDERBUFFER, rbo[1]);
872 glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]);
915 GLuint rbo;
916 glGenRenderbuffers(1, &rbo);
917 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
929 glDeleteRenderbuffers(1, &rbo);
[all...]
H A Des3fShaderFragDataTests.cpp286 const deUint32 rbo = ndx == 0 ? *colorBuf0 : *colorBuf1; local
288 gl.bindRenderbuffer(GL_RENDERBUFFER, rbo);
290 gl.framebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0+ndx, GL_RENDERBUFFER, rbo);
H A Des3fFboColorbufferTests.cpp124 deUint32 rbo = 0; local
127 glGenRenderbuffers(1, &rbo);
129 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
134 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo);
752 deUint32 rbo = 0; local
759 glGenRenderbuffers(1, &rbo);
761 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
766 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo);
1181 // .rbo
1183 tcu::TestCaseGroup* const rboGroup = new tcu::TestCaseGroup(m_testCtx, "rbo", "Renderbuffe
[all...]
H A Des3fFboCompletenessTests.cpp345 os << "rbo" << *ns;
421 const GLuint rbo = builder.glCreateRbo(rboCfg); local
427 att.imageName = rbo;
H A Des3fFramebufferBlitTests.cpp91 deUint32& rbo = ndx ? dstRbo : srcRbo; local
95 glGenRenderbuffers(1, &rbo);
97 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
101 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo);
380 deUint32& rbo = ndx ? dstRbo : srcRbo; local
384 glGenRenderbuffers(1, &rbo);
386 glBindRenderbuffer(GL_RENDERBUFFER, rbo);
390 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo);
/external/deqp/modules/egl/
H A DteglImageUtil.cpp345 void initializeStencilRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) argument
365 GL_RENDERBUFFER, rbo));
393 void initializeDepthRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) argument
398 GL_RENDERBUFFER, rbo));
428 void initializeColorRbo(const glw::Functions& gl, GLuint rbo, Texture2D& ref) argument
441 GL_RENDERBUFFER, rbo));
471 const GLuint rbo = buffer->getName(); local
473 GLU_CHECK_CALL_ERROR(gl.bindRenderbuffer(GL_RENDERBUFFER, rbo), gl.getError());
490 initializeStencilRbo(gl, rbo, *ref);
493 initializeDepthRbo(gl, rbo, *re
[all...]
H A DteglImageFormatTests.cpp232 virtual void initializeRbo (GLES2ImageApi& api, GLuint rbo, tcu::Texture2D& ref) const = 0;
241 void initializeRbo (GLES2ImageApi& api, GLuint rbo, tcu::Texture2D& ref) const;
252 void initializeRbo (GLES2ImageApi& api, GLuint rbo, tcu::Texture2D& ref) const;
263 void initializeRbo (GLES2ImageApi& api, GLuint rbo, tcu::Texture2D& ref) const;
357 static void framebufferRenderbuffer (const glw::Functions& gl, GLenum attachment, GLuint rbo) argument
359 GLU_CHECK_GLW_CALL(gl, framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, rbo));
/external/deqp/modules/gles31/functional/
H A Des31fNegativeBufferApiTests.cpp330 deUint32 rbo = 0x1234; local
332 ctx.glGenRenderbuffers(1, &rbo);
333 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo);
335 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo);
362 ctx.glDeleteRenderbuffers (1, &rbo);
1106 GLuint rbo = 0x1234; local
1109 ctx.glGenRenderbuffers(1, &rbo);
1122 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo);
1123 ctx.glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo);
1139 ctx.glDeleteRenderbuffers(1, &rbo);
1293 deUint32 rbo = 0x1234; local
1349 deUint32 rbo[2]; local
1497 deUint32 rbo[2]; local
1786 deUint32 rbo = 0x1234; local
1867 deUint32 rbo = 0x1234; local
[all...]
H A Des31fNegativeStateApiTests.cpp1181 GLuint rbo[2]; local
1184 ctx.glGenRenderbuffers (2, rbo);
1187 ctx.glBindRenderbuffer (GL_RENDERBUFFER, rbo[0]);
1189 ctx.glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rbo[0]);
1190 ctx.glBindRenderbuffer (GL_RENDERBUFFER, rbo[1]);
1192 ctx.glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, rbo[1]);
1236 GLuint rbo; local
1237 ctx.glGenRenderbuffers(1, &rbo);
1238 ctx.glBindRenderbuffer(GL_RENDERBUFFER, rbo);
1257 ctx.glDeleteRenderbuffers(1, &rbo);
[all...]
/external/deqp/modules/glshared/
H A DglsFboUtil.cpp307 if (const Renderbuffer* rbo = dynamic_cast<const Renderbuffer*>(&img))
308 return rbo->numSamples;
391 if (const Renderbuffer* const rbo = dynamic_cast<const Renderbuffer*>(&cfg))
396 if (rbo->numSamples == 0)
397 gl.renderbufferStorage(GL_RENDERBUFFER, rbo->internalFormat.format,
398 rbo->width, rbo->height);
401 GL_RENDERBUFFER, rbo->numSamples, rbo->internalFormat.format,
402 rbo
693 logRenderbuffer(const Renderbuffer& rbo, TestLog& log) argument
[all...]
H A DglsLifetimeTests.cpp538 void RboFboAttacher::attach (GLuint rbo, GLuint fbo) argument
544 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo),
551 void RboFboAttacher::detach (GLuint rbo, GLuint fbo) argument
553 DE_UNREF(rbo);
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state_validate.c122 struct nouveau_bo *rbo, *zbo; local
126 rbo = nv30_miptree(rsf->base.texture)->base.bo;
138 PUSH_MTHDl(push, NV30_3D(COLOR0_OFFSET), BUFCTX_FB, rbo, rsf->offset & ~63,
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp811 Renderbuffer* rbo = DE_NULL; local
817 rbo = m_renderbuffers.find(name);
818 if (!rbo)
820 rbo = new Renderbuffer(name);
821 m_renderbuffers.insert(rbo);
830 if (rbo)
831 m_renderbuffers.acquireReference(rbo);
833 m_renderbufferBinding = rbo;
1931 Renderbuffer* rbo = m_renderbuffers.find(attachment.name);
1932 TCU_CHECK(rbo);
[all...]

Completed in 365 milliseconds

12