/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_api.c | 1178 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 …]
|
D | fakeglx.c | 1357 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()
|
D | xmesa.h | 218 XMesaBuffer drawBuffer,
|
D | xmesaP.h | 350 xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer);
|
/external/mesa3d/src/mesa/main/ |
D | context.c | 1418 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 …]
|
D | context.h | 137 _mesa_make_current( struct gl_context *ctx, struct gl_framebuffer *drawBuffer,
|
/external/deqp/modules/gles2/functional/ |
D | es2fRasterizationTests.cpp | 251 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/ |
D | es3fRasterizationTests.cpp | 453 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/ |
D | xm_api.c | 1162 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()
|
D | glx_api.c | 1125 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()
|
D | xm_api.h | 192 XMesaBuffer drawBuffer,
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 407 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/ |
D | gluStateReset.cpp | 390 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/ |
D | glwFunctions.inl | 142 glDrawBufferFunc drawBuffer; variable
|
D | glwInitGL30.inl | 71 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL31.inl | 73 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL32.inl | 75 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL33.inl | 78 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL40.inl | 86 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL42.inl | 96 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL41.inl | 94 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL44.inl | 114 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL43.inl | 105 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
D | glwInitGL45.inl | 141 gl->drawBuffer = (glDrawBufferFunc) loader->get("glDrawBuffer");
|
/external/deqp/framework/platform/null/ |
D | tcuNullRenderContextInitFuncs.inl | 142 gl->drawBuffer = glDrawBuffer;
|