/system/tools/hidl/c2hal/test/ |
simple.h | 40 /* resolution of the framebuffer's display panel in pixel per inch*/ 44 /* framebuffer's display panel refresh rate in frames per second */
|
/external/autotest/client/deps/glbench/src/ |
fillratetest.cc | 202 // Setup Framebuffer. 203 // TODO(fjhenigman): In WAFFLE_PLATFORM_NULL the default framebuffer 208 GLuint framebuffer = 0; local 209 glGenFramebuffers(1, &framebuffer); 210 glBindFramebuffer(GL_FRAMEBUFFER, framebuffer); 232 glDeleteFramebuffers(1, &framebuffer);
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
esextcGeometryShaderBlitting.hpp | 64 * framebuffer to a non-layered draw framebuffer. 113 * framebuffer to a layered draw framebuffer. 145 * 3. Only layer zero should be used when blitting from layered read framebuffer 146 * to a layered draw framebuffer.
|
esextcGeometryShaderBlitting.cpp | 89 /* Generate framebuffer objects */ 93 GLU_EXPECT_NO_ERROR(gl.getError(), "Error setting up framebuffer objects"); 158 TCU_FAIL("Draw framebuffer is reported as incomplete, though expected it to be complete"); 163 TCU_FAIL("Read framebuffer is reported as incomplete, though expected it to be complete"); 288 /* Blitting from a layered read framebuffer to a non-layered draw framebuffer*/ 322 /* Blitting from a non-layered read framebuffer to a layered draw framebuffer */ 356 /* Blitting from a layered read framebuffer to a layered draw framebuffer */ [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_framebuffer.c | 29 * Framebuffer utility functions. 81 * Copy framebuffer state from src to dst, updating refcounts. 140 /* Where multiple sizes are allowed for framebuffer surfaces, find the 179 * Return the number of layers set in the framebuffer state. 189 * the framebuffer state. 221 * the framebuffer state.
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/ |
GLStateType.java | 171 FRAMEBUFFER_STATE("Framebuffer State"), 172 FRAMEBUFFER_BINDING("Framebuffer Binding"), 173 FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE("Framebuffer object type"), 174 FRAMEBUFFER_ATTACHMENT_OBJECT_NAME("Framebuffer object name"), 175 FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL("Framebuffer texture level"), 176 FRAMEBUFFER_ATTACHEMENT_TEXTURE_CUBE_MAP_FACE("Framebuffer texture cubemap face");
|
/external/deqp/modules/gles3/functional/ |
es3fNegativeVertexArrayApiTests.cpp | 278 m_log << tcu::TestLog::Section("", "GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 305 m_log << tcu::TestLog::Section("", "GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 331 m_log << tcu::TestLog::Section("", "GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 369 m_log << tcu::TestLog::Section("", "GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete."); 436 m_log << tcu::TestLog::Section("", "GL_INVALID_FRAMEBUFFER_OPERATION is generated if the currently bound framebuffer is not framebuffer complete.") [all...] |
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
esextcTextureCubeMapArrayFBOIncompleteness.cpp | 64 * @return true if framebuffer state is equal to @param expectedState; 151 /* Create a framebuffer object we will use for the test */ 170 /* Modify the draw framebuffer binding */ 172 GLU_EXPECT_NO_ERROR(gl.getError(), "Error binding framebuffer object!"); 185 * array texture is attached to any of the framebuffer's non-layered 212 /* In order to check that a framebuffer is considered incomplete if the layer count 213 * of a cube-map array texture that has been bound to a layered framebuffer is 252 checkState(GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, "Attachment of too many layers to a layered framebuffer "); 256 * that a layered framebuffer is considered incomplete and its status is 259 * different color attachments of the same framebuffer object [all...] |
esextcTextureCubeMapArrayFBOIncompleteness.hpp | 44 * Make sure that a framebuffer is considered incomplete, if a non-existing 46 * array texture is attached to any of the framebuffer's non-layered 50 * Make sure that a framebuffer is considered incomplete if the layer count 51 * of a cube-map array texture that has been bound to a layered framebuffer 55 * Make sure that a layered framebuffer is considered incomplete and its
|
esextcTextureCubeMapArrayStencilAttachments.cpp | 143 * @param fbo_layered if set to true, a layered draw framebuffer will be used; 204 /* Create textures, framebuffer... before for every test iteration */ 224 GLU_EXPECT_NO_ERROR(gl.getError(), "Could not bind read framebuffer"); 234 "Could not attach texture layer to color attachment of read framebuffer"); 250 "Could not attach texture layer to color attachment of read framebuffer"); 398 /** Check Framebuffer Status. Throws a TestError exception, should the framebuffer status 412 TCU_FAIL("Framebuffer incomplete, status: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"); 417 TCU_FAIL("Framebuffer incomplete, status: GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"); 422 TCU_FAIL("Framebuffer incomplete, status: GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT") [all...] |
/external/mesa3d/src/gallium/tests/trivial/ |
quad-tex.c | 75 struct pipe_framebuffer_state framebuffer; member in struct:program 219 memset(&p->framebuffer, 0, sizeof(p->framebuffer)); 220 p->framebuffer.width = WIDTH; 221 p->framebuffer.height = HEIGHT; 222 p->framebuffer.nr_cbufs = 1; 223 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl); 286 pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); 304 cso_set_framebuffer(p->cso, &p->framebuffer); 336 debug_dump_surface_bmp(p->pipe, "result.bmp", p->framebuffer.cbufs[0]) [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Context.cpp | 25 #include "Framebuffer.h" 312 Framebuffer *framebufferZero = new DefaultFramebuffer(colorbufferZero, depthStencilbufferZero); 868 return mState.framebuffer; 947 // Returns an unused framebuffer name 974 void Context::deleteFramebuffer(GLuint framebuffer) 976 detachFramebuffer(framebuffer); 978 Framebuffer *framebufferObject = mFramebufferNameSpace.remove(framebuffer); 1001 Framebuffer *Context::getFramebuffer() 1003 return getFramebuffer(mState.framebuffer); 1245 Framebuffer *framebuffer = getFramebuffer(); local 1275 Framebuffer *framebuffer = getFramebuffer(); local 1288 Framebuffer *framebuffer = getFramebuffer(); local 1333 Framebuffer *framebuffer = getFramebuffer(); local 1354 Framebuffer *framebuffer = getFramebuffer(); local 1369 Framebuffer *framebuffer = getFramebuffer(); local 1731 Framebuffer *framebuffer = getFramebuffer(); local 1783 Framebuffer *framebuffer = getFramebuffer(); local 2406 Framebuffer *framebuffer = getFramebuffer(); local 2675 Framebuffer *framebuffer = getFramebuffer(); local 2803 es1::Framebuffer *framebuffer = getFramebuffer(); local 3040 Framebuffer *framebuffer = getFramebuffer(); local 3076 Framebuffer *framebuffer = getFramebuffer(); local [all...] |
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 43 #include "framebuffer.h" 51 * Compute/set the _DepthMax field for the given framebuffer. 82 * framebuffer objects ala GL_EXT_framebuffer_object. 270 * Resize the given framebuffer's renderbuffers to the new width and height. 288 /* Can only resize win-sys framebuffer objects */ 302 _mesa_error(ctx, GL_OUT_OF_MEMORY, "Resizing framebuffer"); 323 * Examine all the framebuffer's renderbuffers to update the Width/Height 324 * fields of the framebuffer. If we have renderbuffers with different 325 * sizes, set the framebuffer's width and height to the min size. 399 * \param buffer Framebuffer to be checked agains [all...] |
clear.c | 177 "glClear(incomplete framebuffer)"); 401 * assumption that the framebuffer is bound that, for now, we will just fake 405 _mesa_ClearNamedFramebufferiv(GLuint framebuffer, GLenum buffer, 411 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); 472 * assumption that the framebuffer is bound that, for now, we will just fake 476 _mesa_ClearNamedFramebufferuiv(GLuint framebuffer, GLenum buffer, 482 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); 570 * assumption that the framebuffer is bound that, for now, we will just fake 574 _mesa_ClearNamedFramebufferfv(GLuint framebuffer, GLenum buffer, 580 _mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, framebuffer); [all...] |
/external/swiftshader/src/Main/ |
FrameBufferDD.cpp | 41 framebuffer = nullptr; 407 if(framebuffer) 409 return framebuffer; 428 framebuffer = DDSD.lpSurface; 430 return framebuffer; 438 if(!framebuffer || !backBuffer) return; 442 framebuffer = nullptr;
|
FrameBufferX11.cpp | 44 FrameBufferX11::FrameBufferX11(Display *display, Window window, int width, int height) : FrameBuffer(width, height, false, false), ownX11(!display), x_display(display), x_window(window) 123 framebuffer = buffer; 125 return framebuffer; 130 framebuffer = nullptr; 180 NO_SANITIZE_FUNCTION sw::FrameBuffer *createFrameBuffer(void *display, Window window, int width, int height)
|
/device/linaro/hikey/gralloc/ |
alloc_device.cpp | 271 // allocate the framebuffer 272 if (m->framebuffer == NULL) 274 // initialize the framebuffer, the framebuffer is mapped once and forever. 303 void *vaddr = m->framebuffer->base; 317 int fbdev_fd = m->framebuffer->shallow_fbdev_fd; 318 // The entire framebuffer memory is already mapped, now create a buffer object for parts of this memory 320 0, fbdev_fd, (uintptr_t)vaddr - (uintptr_t) m->framebuffer->base); 322 hnd->ump_id = m->framebuffer->ump_id; 324 /* create a backing ump memory handle if the framebuffer is exposed as a secure ID * [all...] |
framebuffer_device.cpp | 88 const size_t offset = (uintptr_t)hnd->base - (uintptr_t)m->framebuffer->base; 97 int fbdev_fd = m->framebuffer->shallow_fbdev_fd; 173 m->base.lock(&m->base, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, 182 m->base.unlock(&m->base, m->framebuffer); 190 if (module->framebuffer) 373 * map the framebuffer 380 AERR("Error mapping the framebuffer (%s)", strerror(errno)); 387 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, 0, fbSize, vaddr, 395 ioctl(fd, IOCTL_GET_FB_UMP_SECURE_ID, &module->framebuffer->ump_id); 398 if ((int)UMP_INVALID_SECURE_ID != module->framebuffer->ump_id [all...] |
/device/generic/goldfish/gralloc/ |
framebuffer.cpp | 100 const size_t offset = hnd->base - m->framebuffer->base; 103 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 117 m->base.lock(&m->base, m->framebuffer, 130 m->base.unlock(&m->base, m->framebuffer); 141 if (module->framebuffer) { 279 * map the framebuffer 284 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0); 291 ALOGE("Error mapping the framebuffer (%s)", strerror(errno)); 294 module->framebuffer->base = intptr_t(vaddr);
|
/external/mesa3d/src/gallium/include/state_tracker/ |
st_api.h | 118 * Available attachments of framebuffer. 173 * the framebuffer in glViewport itself. 211 * Represent the visual of a framebuffer. 284 * The framebuffer is implemented by the state tracker manager and 289 * context, it calls into the framebuffer to get the textures. 295 * atomic flag used for notification of framebuffer dirty status. 297 * The thread synchronization is put inside the framebuffer 298 * and only called once the framebuffer has become dirty. 313 * The visual of a framebuffer.
|
/hardware/libhardware/modules/gralloc/ |
framebuffer.cpp | 82 const size_t offset = hnd->base - m->framebuffer->base; 85 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 99 m->base.lock(&m->base, m->framebuffer, 112 m->base.unlock(&m->base, m->framebuffer); 123 if (module->framebuffer) { 261 * map the framebuffer 265 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0); 272 ALOGE("Error mapping the framebuffer (%s)", strerror(errno)); 275 module->framebuffer->base = intptr_t(vaddr);
|
/bootable/recovery/minui/ |
graphics_fbdev.cpp | 71 // throughout we assume that the framebuffer device uses an RGBX 92 perror("failed to mmap framebuffer"); 121 // memcpy from the buffer we allocated to the framebuffer. 136 printf("framebuffer: %d (%d x %d)\n", fb_fd, gr_draw->width, gr_draw->height); 152 // Copy from the in-memory surface to the framebuffer.
|
/device/linaro/hikey/gralloc960/ |
gralloc_priv.h | 40 * If your framebuffer device driver is integrated with dma_buf, you will have to 41 * change this IOCTL definition to reflect your integration with the framebuffer 44 * backing your framebuffer device memory. 90 struct private_handle_t* framebuffer; member in struct:private_module_t 198 // Following members is for framebuffer only
|
/external/mesa3d/src/glx/ |
dri_glx.c | 339 __DRIframebuffer framebuffer; local 357 framebuffer.base = MAP_FAILED; 358 framebuffer.dev_priv = NULL; 359 framebuffer.size = 0; 418 &framebuffer.size, &framebuffer.stride, 419 &framebuffer.dev_priv_size, 420 &framebuffer.dev_priv)) { 425 framebuffer.width = DisplayWidth(dpy, scrn); 426 framebuffer.height = DisplayHeight(dpy, scrn) [all...] |
/external/deqp/external/openglcts/modules/gl/ |
gl4cDirectStateAccessTests.hpp | 532 * Create framebuffer with renderbuffer with color attachment and 1x1 pixel 533 * size. Clean framebuffer content with black color. 555 * Fetch framebuffer content with ReadPixels function. Check that, 556 * framebuffer is filled with red color. 726 * Create framebuffer with renderbuffer with color attachment and 1x1 pixel 727 * size. Clean framebuffer content with black color. 744 * Fetch framebuffer content with ReadPixels function. Check that, 745 * framebuffer is filled with red color. 970 * Create framebuffer with renderbuffer with color attachment and 1x1 pixel 971 * size. Clean framebuffer content with black color [all...] |