Home
last modified time | relevance | path

Searched refs:drawBuffer (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1178 xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer) in xmesa_check_and_update_buffer_size() argument
1181 xmesa_get_window_size(drawBuffer->display, drawBuffer, &width, &height); in xmesa_check_and_update_buffer_size()
1182 if (drawBuffer->mesa_buffer.Width != width || in xmesa_check_and_update_buffer_size()
1183 drawBuffer->mesa_buffer.Height != height) { in xmesa_check_and_update_buffer_size()
1185 _mesa_resize_framebuffer(ctx, &(drawBuffer->mesa_buffer), width, height); in xmesa_check_and_update_buffer_size()
1187 drawBuffer->mesa_buffer.Initialized = GL_TRUE; /* XXX TEMPORARY? */ in xmesa_check_and_update_buffer_size()
1204 GLboolean XMesaMakeCurrent2( XMesaContext c, XMesaBuffer drawBuffer, in XMesaMakeCurrent2() argument
1208 if (!drawBuffer || !readBuffer) in XMesaMakeCurrent2()
1212 && c->mesa.DrawBuffer == &drawBuffer->mesa_buffer in XMesaMakeCurrent2()
1219 c->xm_buffer = drawBuffer; in XMesaMakeCurrent2()
[all …]
Dfakeglx.c1357 XMesaBuffer drawBuffer, readBuffer; in Fake_glXMakeContextCurrent() local
1363 drawBuffer = MakeCurrent_PrevDrawBuffer; in Fake_glXMakeContextCurrent()
1366 drawBuffer = XMesaFindBuffer( dpy, draw ); in Fake_glXMakeContextCurrent()
1368 if (!drawBuffer) { in Fake_glXMakeContextCurrent()
1370 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in Fake_glXMakeContextCurrent()
1371 if (!drawBuffer) { in Fake_glXMakeContextCurrent()
1397 MakeCurrent_PrevDrawBuffer = drawBuffer; in Fake_glXMakeContextCurrent()
1401 if (XMesaMakeCurrent2(xmctx, drawBuffer, readBuffer)) { in Fake_glXMakeContextCurrent()
Dxmesa.h218 XMesaBuffer drawBuffer,
DxmesaP.h350 xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer);
/external/mesa3d/src/mesa/main/
Dcontext.c1418 struct gl_framebuffer *drawBuffer, in _mesa_make_current() argument
1428 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1429 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1459 if (drawBuffer && readBuffer) { in _mesa_make_current()
1460 ASSERT(_mesa_is_winsys_fbo(drawBuffer)); in _mesa_make_current()
1462 _mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, drawBuffer); in _mesa_make_current()
1470 _mesa_reference_framebuffer(&newCtx->DrawBuffer, drawBuffer); in _mesa_make_current()
1490 if (!drawBuffer->Initialized) { in _mesa_make_current()
1491 initialize_framebuffer_size(newCtx, drawBuffer); in _mesa_make_current()
1493 if (readBuffer != drawBuffer && !readBuffer->Initialized) { in _mesa_make_current()
[all …]
Dcontext.h137 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp251 std::vector<tcu::Vec4> drawBuffer; in iterate() local
254 generateTriangles(m_iteration, drawBuffer, triangles); in iterate()
257 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
337 std::vector<tcu::Vec4> drawBuffer; in iterate() local
351 generateLines(m_iteration, drawBuffer, lines); in iterate()
354 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
439 std::vector<tcu::Vec4> drawBuffer; in iterate() local
453 generatePoints(m_iteration, drawBuffer, points); in iterate()
456 drawPrimitives(resultImage, drawBuffer, GL_POINTS); in iterate()
1001 std::vector<tcu::Vec4> drawBuffer; in iterate() local
[all …]
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp453 std::vector<tcu::Vec4> drawBuffer; in iterate() local
456 generateTriangles(m_iteration, drawBuffer, triangles); in iterate()
459 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
574 std::vector<tcu::Vec4> drawBuffer; in iterate() local
581 generateLines(m_iteration, drawBuffer, lines); in iterate()
584 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
715 std::vector<tcu::Vec4> drawBuffer; in iterate() local
722 generatePoints(m_iteration, drawBuffer, points); in iterate()
725 drawPrimitives(resultImage, drawBuffer, GL_POINTS); in iterate()
1278 std::vector<tcu::Vec4> drawBuffer; in iterate() local
[all …]
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dxm_api.c1162 GLboolean XMesaMakeCurrent2( XMesaContext c, XMesaBuffer drawBuffer, in XMesaMakeCurrent2() argument
1174 if (!drawBuffer || !readBuffer) in XMesaMakeCurrent2()
1178 c->xm_buffer == drawBuffer && in XMesaMakeCurrent2()
1182 xmesa_check_buffer_size(drawBuffer); in XMesaMakeCurrent2()
1183 if (readBuffer != drawBuffer) in XMesaMakeCurrent2()
1186 c->xm_buffer = drawBuffer; in XMesaMakeCurrent2()
1189 stapi->make_current(stapi, c->st, drawBuffer->stfb, readBuffer->stfb); in XMesaMakeCurrent2()
1192 drawBuffer->wasCurrent = GL_TRUE; in XMesaMakeCurrent2()
Dglx_api.c1125 XMesaBuffer drawBuffer, readBuffer; in glXMakeContextCurrent() local
1131 drawBuffer = MakeCurrent_PrevDrawBuffer; in glXMakeContextCurrent()
1134 drawBuffer = XMesaFindBuffer( dpy, draw ); in glXMakeContextCurrent()
1136 if (!drawBuffer) { in glXMakeContextCurrent()
1138 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in glXMakeContextCurrent()
1139 if (!drawBuffer) { in glXMakeContextCurrent()
1166 MakeCurrent_PrevDrawBuffer == drawBuffer && in glXMakeContextCurrent()
1173 MakeCurrent_PrevDrawBuffer = drawBuffer; in glXMakeContextCurrent()
1177 if (XMesaMakeCurrent2(xmctx, drawBuffer, readBuffer)) { in glXMakeContextCurrent()
Dxm_api.h192 XMesaBuffer drawBuffer,
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp407 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers() local
408 const TextureFormat& format = drawBuffer.getFormat(); in genRenderbuffers()
409 const IVec2& size = drawBuffer.getSize(); in genRenderbuffers()
413 refRenderbuffers[renderbufferNdx] = TextureLevel(drawBuffer.getFormat(), size.x(), size.y()); in genRenderbuffers()
425 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers() local
426 const TextureFormat& format = drawBuffer.getFormat(); in genRenderbuffers()
897 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in genFragmentSource() local
898 const TextureFormat& format = drawBuffer.getFormat(); in genFragmentSource()
930 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in genFragmentSource() local
931 const TextureFormat& format = drawBuffer.getFormat(); in genFragmentSource()
[all …]
/external/deqp/framework/opengl/
DgluStateReset.cpp390 const deUint32 drawBuffer = defaultFbo != 0 ? GL_COLOR_ATTACHMENT0 : GL_BACK; in resetStateES() local
397 gl.drawBuffers (1, &drawBuffer); in resetStateES()
987 gl.drawBuffer (drawReadBuffer); in resetStateGLCore()
/external/deqp/framework/opengl/wrapper/
DglwFunctions.inl142 glDrawBufferFunc drawBuffer; variable
DglwInitGL30.inl71 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL31.inl73 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL32.inl75 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL33.inl78 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL40.inl86 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL42.inl96 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL41.inl94 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL44.inl114 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL43.inl105 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
DglwInitGL45.inl141 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
/external/deqp/framework/platform/null/
DtcuNullRenderContextInitFuncs.inl142 gl->drawBuffer = glDrawBuffer;

12