/external/deqp/modules/glshared/ |
glsFboUtil.cpp | 21 * \brief Utilities for framebuffer objects. 474 // GLES2 4.4.5 / GLES3 4.4.4, "Framebuffer attachment completeness" 557 * \brief Return acceptable framebuffer status codes. 559 * This function examines the framebuffer configuration descriptor `fboConfig` 561 * allowed to return on a conforming implementation when given a framebuffer 568 * indicate that trying to create a framebuffer configuration like this could 573 ValidStatusCodes FboVerifier::validStatusCodes (const Framebuffer& fboConfig) const 627 // "There is at least one image attached to the framebuffer." 630 cctx->addFBOStatus(GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, "No images attached to the framebuffer"); 646 void Framebuffer::attach (glw::GLenum attPoint, const Attachment* att [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_buffer/ |
esextcTextureBufferOperations.cpp | 198 /* Create framebuffer object */ 200 GLU_EXPECT_NO_ERROR(gl.getError(), "Error genertaing framebuffer object!"); 427 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding framebuffer object!"); 432 /* Attach output texture to framebuffer */ 434 GLU_EXPECT_NO_ERROR(gl.getError(), "Error attaching texture to framebuffer's color attachment"); 436 /* Check framebuffer status */ 502 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding framebuffer object !"); 576 /** Check Framebuffer Status - throw exception if status is different than GL_FRAMEBUFFER_COMPLETE 578 * @param framebuffer - GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER or GL_FRAMEBUFFER 581 void TextureBufferOperations::checkFramebufferStatus(glw::GLenum framebuffer) [all...] |
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
esextcGeometryShaderLayeredFBO.hpp | 58 * Reassure GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT framebuffer 59 * incompleteness status is reported for framebuffer objects, for which some 65 * 1. Create four framebuffer objects (A, B, C, D) and set up: 211 * there is no framebuffer object bound to requested framebuffer target. 218 * GL_READ_FRAMEBUFFER and GL_FRAMEBUFFER framebuffer targets, assuming the 222 * framebuffer target is zero, so after each of these calls 333 * (each of 4x4x4 resolution), and a framebuffer object C. Base mip-map 380 * Consider a framebuffer object A, buffer object B and a buffer texture C
|
esextcGeometryShaderLayeredFBO.cpp | 40 /** Checks if the bound draw framebuffer's completeness status is equal to the value 45 * @param fbo_id ID of the framebuffer to use for the query. 48 * @return true if the draw framebuffer's completeness status matches the expected value, 79 /** Deinitializes framebuffer objects, whose IDs are passed by the caller. 107 /** Initializes all framebuffer objects required to run layered framebufer object conformance test. 129 /* Set up framebuffer object A */ 154 /* Set up framebuffer object B */ 168 /* Set up framebuffer object C */ 181 /* Set up framebuffer object D */ 300 /* Release framebuffer objects * [all...] |
/external/deqp/modules/egl/ |
teglPreservingSwapTests.cpp | 415 return tcu::pixelThresholdCompare(log, "Pre- / Post framebuffer compare", "Compare pre- and post-swap framebuffers", preSwap, postSwap, tcu::RGBA(0, 0, 0, 0), tcu::COMPARE_LOG_RESULT); 489 isOk = isOk && compareToReference(log, "Compare pre-swap framebuffer to reference", "Compare pre-swap framebuffer to reference", preSwapFramebufferReference, preSwapFramebuffer, 0, 0, width, height); 491 isOk = isOk && compareToReference(log, "Compare post-swap framebuffer to reference", "Compare post-swap framebuffer to reference", postSwapFramebufferReference, postSwapFramebuffer, 0, 0, width, height); 511 isOk = isOk && compareToReference(log, "Compare pre-swap framebuffer to reference", "Compare pre-swap framebuffer to reference", preSwapFramebufferReference, preSwapFramebuffer, 0, 0, width, height); 514 isOk = isOk && compareToReference(log, "Compare valid are of post-swap framebuffer to reference", "Compare valid area of post-swap framebuffer to reference", postSwapFramebufferReference, postSwapFramebuffer, x1i, y1i, x2i - x1i, y2i - y1i);
|
/external/deqp/modules/gles3/functional/ |
es3fRasterizerDiscardTests.cpp | 161 // Create framebuffer object 191 throw tcu::NotSupportedError("Framebuffer unsupported", "", __FILE__, __LINE__); 193 throw tcu::TestError("Failed to create framebuffer object", "", __FILE__, __LINE__); 357 // \note If no stencil buffers are present and test is rendering to default framebuffer, test will always pass. 434 tcu::TestCaseGroup* basic = new tcu::TestCaseGroup(m_testCtx, "basic", "Rasterizer discard test for default framebuffer"); 435 tcu::TestCaseGroup* scissor = new tcu::TestCaseGroup(m_testCtx, "scissor", "Rasterizer discard test for default framebuffer with scissor test enabled"); 436 tcu::TestCaseGroup* fbo = new tcu::TestCaseGroup(m_testCtx, "fbo", "Rasterizer discard test for framebuffer object"); 442 // Default framebuffer cases 464 // Default framebuffer cases with scissor test enabled
|
/external/deqp/modules/gles31/functional/ |
es31fNegativeVertexArrayApiTests.cpp | 410 ctx.beginSection("GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 438 ctx.beginSection("GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 470 ctx.beginSection("GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 514 ctx.beginSection("GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 582 ctx.beginSection("GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete.") [all...] |
/external/libvncserver/client_examples/ |
SDLvncviewer.c | 48 free(client->frameBuffer); 51 client->frameBuffer=sdl->pixels; 179 case 1: return ((uint8_t *)cl->frameBuffer)[x + y * cl->width]; 180 case 2: return ((uint16_t *)cl->frameBuffer)[x + y * cl->width]; 181 case 4: return ((uint32_t *)cl->frameBuffer)[x + y * cl->width]; 267 sdlPixels = (char *)client->frameBuffer; 272 client->frameBuffer = malloc(size); 273 if (!client->frameBuffer) { 277 memcpy(client->frameBuffer, sdlPixels, size);
|
/hardware/qcom/display/msm8909/libgralloc/ |
framebuffer.cpp | 87 m->framebuffer->base); 117 if (module->framebuffer) { 323 * map the framebuffer 333 ALOGE("Error mapping the framebuffer (%s)", strerror(errno)); 337 //store the framebuffer fd in the ctx 342 // get the ION fd for the framebuffer, as GPU needs ION fd 356 // Create framebuffer handle using the ION fd 357 module->framebuffer = new private_handle_t(fd, fbSize, 361 module->framebuffer->base = uint64_t(vaddr);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
framebuffer.cpp | 87 m->framebuffer->base); 117 if (module->framebuffer) { 323 * map the framebuffer 333 ALOGE("Error mapping the framebuffer (%s)", strerror(errno)); 337 //store the framebuffer fd in the ctx 342 // get the ION fd for the framebuffer, as GPU needs ION fd 356 // Create framebuffer handle using the ION fd 357 module->framebuffer = new private_handle_t(fd, fbSize, 361 module->framebuffer->base = uint64_t(vaddr);
|
/hardware/qcom/display/msm8994/libgralloc/ |
framebuffer.cpp | 95 m->framebuffer->base); 123 if (module->framebuffer) { 329 * map the framebuffer 339 ALOGE("Error mapping the framebuffer (%s)", strerror(errno)); 343 //store the framebuffer fd in the ctx 348 // get the ION fd for the framebuffer, as GPU needs ION fd 362 // Create framebuffer handle using the ION fd 363 module->framebuffer = new private_handle_t(fd, fbSize, 367 module->framebuffer->base = uint64_t(vaddr);
|
/hardware/qcom/display/msm8996/libgralloc/ |
framebuffer.cpp | 82 m->framebuffer->base); 110 if (module->framebuffer) { 316 * map the framebuffer 326 ALOGE("Error mapping the framebuffer (%s)", strerror(errno)); 330 //store the framebuffer fd in the ctx 335 // get the ION fd for the framebuffer, as GPU needs ION fd 349 // Create framebuffer handle using the ION fd 350 module->framebuffer = new private_handle_t(fd, fbSize, 354 module->framebuffer->base = uint64_t(vaddr);
|
/device/google/cuttlefish_common/guest/hals/camera/ |
EmulatedCameraDevice.cpp | 171 ALOGE("%s: No framebuffer", __FUNCTION__); 175 /* In emulation the framebuffer is never RGB. */ 203 /* Validate pixel format, and calculate framebuffer size at the same time. */ 218 /* Cache framebuffer info. */ 225 /* Allocate framebuffer. */ 228 ALOGE("%s: Unable to allocate framebuffer", __FUNCTION__);
|
/external/mesa3d/src/gallium/drivers/freedreno/ |
freedreno_state.c | 116 const struct pipe_framebuffer_state *framebuffer) 129 batch = fd_batch_from_fb(&ctx->screen->batch_cache, ctx, framebuffer); 147 framebuffer->cbufs[0], framebuffer->zsbuf); 151 cso = &ctx->batch->framebuffer; 153 util_copy_framebuffer_state(cso, framebuffer);
|
/external/mesa3d/src/gallium/state_trackers/glx/xlib/ |
xm_st.c | 57 * Display (present) an attachment to the xlib_drawable of the framebuffer. 113 * This is a helper used during framebuffer validation. 188 * Check that a framebuffer's attachments match the window's size. 192 * \param statts array of framebuffer attachments 193 * \param count number of framebuffer attachments in statts[] 329 * framebuffer attachment.
|
/external/drm_hwcomposer/ |
glworker.cpp | 550 const sp<GraphicBuffer> &framebuffer, 561 GLint frame_width = framebuffer->getWidth(); 562 GLint frame_height = framebuffer->getHeight(); 564 PrepareAndCacheFramebuffer(framebuffer); 566 ALOGE("Composite failed because of failed framebuffer"); 717 const sp<GraphicBuffer> &framebuffer) { 719 if (fb.weak_framebuffer == framebuffer) 726 const sp<GraphicBuffer> &framebuffer) { 727 CachedFramebuffer *cached_framebuffer = FindCachedFramebuffer(framebuffer); 736 if (it->weak_framebuffer == framebuffer) { [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_draw.c | 113 job->draw_width = vc4->framebuffer.width; 114 job->draw_height = vc4->framebuffer.height; 452 if (vc4->zsa && vc4->framebuffer.zsbuf) { 454 vc4_resource(vc4->framebuffer.zsbuf->texture); 509 vc4_resource(vc4->framebuffer.cbufs[0]->texture); 512 if (vc4_rt_format_is_565(vc4->framebuffer.cbufs[0]->format)) { 523 pack_rgba(vc4->framebuffer.cbufs[0]->format, 532 vc4_resource(vc4->framebuffer.zsbuf->texture); 542 util_format_is_depth_and_stencil(vc4->framebuffer.zsbuf->format)) { 547 vc4->framebuffer.width [all...] |
vc4_context.c | 105 pipe_surface_reference(&vc4->framebuffer.cbufs[0], NULL); 106 pipe_surface_reference(&vc4->framebuffer.zsbuf, NULL);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
libGLES_CM.cpp | 22 #include "Framebuffer.h" 122 void BindFramebuffer(GLenum target, GLuint framebuffer) 124 TRACE("(GLenum target = 0x%X, GLuint framebuffer = %d)", target, framebuffer); 135 context->bindFramebuffer(framebuffer); 139 void BindFramebufferOES(GLenum target, GLuint framebuffer) 141 TRACE("(GLenum target = 0x%X, GLuint framebuffer = %d)", target, framebuffer); 152 context->bindFramebuffer(framebuffer); 449 es1::Framebuffer *framebuffer = context->getFramebuffer() local 843 es1::Framebuffer *framebuffer = context->getFramebuffer(); local 972 es1::Framebuffer *framebuffer = context->getFramebuffer(); local 1436 es1::Framebuffer *framebuffer = context->getFramebuffer(); local 1521 es1::Framebuffer *framebuffer = context->getFramebuffer(); local 2076 es1::Framebuffer *framebuffer = context->getFramebuffer(); local [all...] |
/external/deqp/framework/platform/null/ |
tcuNullRenderContextFuncs.inl | 118 GLW_APICALL void GLW_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer) 121 DE_UNREF(framebuffer); 379 GLW_APICALL GLenum GLW_APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target) 381 DE_UNREF(framebuffer); 387 GLW_APICALL GLenum GLW_APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target) 389 DE_UNREF(framebuffer); 528 GLW_APICALL void GLW_APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) 530 DE_UNREF(framebuffer); 538 GLW_APICALL void GLW_APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value) 540 DE_UNREF(framebuffer); [all...] |
/external/deqp/doc/testspecs/GLES31/ |
functional.draw_buffers_indexed.txt | 39 Each test cases begins by creating framebuffer object and required renderbuffer 45 framebuffer object and reading back each renderbuffer, which are then compared
|
/external/deqp/external/openglcts/modules/gl/ |
gl3cGLSLnoperspectiveTests.hpp | 56 * * prepare framebuffer with 2D 64x64 RGBA8 textures attached as color 0; 59 * - it is expected that contents of framebuffer corresponding with
|
/external/deqp/framework/opengl/ |
gluFboRenderContext.hpp | 23 * \brief OpenGL ES context wrapper that uses FBO as default framebuffer. 42 * \brief OpenGL ES context wrapper that uses FBO as default framebuffer.
|
/external/libvncserver/libvncclient/ |
vncviewer.c | 94 if(client->frameBuffer) 95 free(client->frameBuffer); 104 rfbClientErr("CRITICAL: cannot allocate frameBuffer, requested size is too large\n"); 108 client->frameBuffer=malloc( (size_t)allocSize ); 110 if (client->frameBuffer == NULL) 111 rfbClientErr("CRITICAL: frameBuffer allocation failed, requested size too large or not enough memory?\n"); 113 return client->frameBuffer?TRUE:FALSE; 161 client->frameBuffer = NULL;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_clear.c | 73 const struct pipe_framebuffer_state *fb = &svga->curr.framebuffer; 130 struct pipe_framebuffer_state *fb = &svga->curr.framebuffer; 241 if (svga->curr.framebuffer.cbufs[0]) { 242 h = svga_surface(svga->curr.framebuffer.cbufs[0])->handle; 352 &svga->curr.framebuffer); 394 struct pipe_framebuffer_state *curr = &svga->curr.framebuffer; 428 &svga->curr.framebuffer); 501 util_blitter_save_framebuffer(svga->blitter, &svga->curr.framebuffer);
|