Home
last modified time | relevance | path

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

123

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DFramebuffer11.cpp70 for (size_t drawBuffer : mState.getEnabledDrawBuffers()) in markAttachmentsDirty() local
72 const gl::FramebufferAttachment &colorAttachment = colorAttachments[drawBuffer]; in markAttachmentsDirty()
301 const gl::FramebufferAttachment &drawBuffer = colorAttachments[colorAttachment]; in blitImpl() local
303 if (drawBuffer.isAttached() && drawBufferStates[colorAttachment] != GL_NONE) in blitImpl()
306 ANGLE_TRY(drawBuffer.getRenderTarget( in blitImpl()
307 context, drawBuffer.getRenderToTextureSamples(), &drawRenderTarget)); in blitImpl()
319 const bool invertColorDest = UsePresentPathFast(mRenderer, &drawBuffer); in blitImpl()
358 const gl::FramebufferAttachment *drawBuffer = mState.getDepthOrStencilAttachment(); in blitImpl() local
359 ASSERT(drawBuffer); in blitImpl()
361 ANGLE_TRY(drawBuffer->getRenderTarget(context, drawBuffer->getRenderToTextureSamples(), in blitImpl()
[all …]
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DFramebuffer9.cpp244 const gl::FramebufferAttachment *drawBuffer = mState.getColorAttachment(0); in blitImpl() local
245 ASSERT(drawBuffer); in blitImpl()
249 drawBuffer->getRenderTarget(context, drawBuffer->getSamples(), &drawRenderTarget)); in blitImpl()
362 const gl::FramebufferAttachment *drawBuffer = mState.getDepthOrStencilAttachment(); in blitImpl() local
363 ASSERT(drawBuffer); in blitImpl()
367 drawBuffer->getRenderTarget(context, drawBuffer->getSamples(), &drawDepthStencil)); in blitImpl()
/external/deqp/modules/gles2/functional/
Des2fRasterizationTests.cpp254 std::vector<tcu::Vec4> drawBuffer; in iterate() local
257 generateTriangles(m_iteration, drawBuffer, triangles); in iterate()
260 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
340 std::vector<tcu::Vec4> drawBuffer; in iterate() local
354 generateLines(m_iteration, drawBuffer, lines); in iterate()
357 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
444 std::vector<tcu::Vec4> drawBuffer; in iterate() local
458 generatePoints(m_iteration, drawBuffer, points); in iterate()
461 drawPrimitives(resultImage, drawBuffer, GL_POINTS); in iterate()
1135 std::vector<tcu::Vec4> drawBuffer; in iterate() local
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c1181 xmesa_check_and_update_buffer_size(XMesaContext xmctx, XMesaBuffer drawBuffer) in xmesa_check_and_update_buffer_size() argument
1184 xmesa_get_window_size(drawBuffer->display, drawBuffer, &width, &height); in xmesa_check_and_update_buffer_size()
1185 if (drawBuffer->mesa_buffer.Width != width || in xmesa_check_and_update_buffer_size()
1186 drawBuffer->mesa_buffer.Height != height) { in xmesa_check_and_update_buffer_size()
1188 _mesa_resize_framebuffer(ctx, &(drawBuffer->mesa_buffer), width, height); in xmesa_check_and_update_buffer_size()
1206 GLboolean XMesaMakeCurrent2( XMesaContext c, XMesaBuffer drawBuffer, in XMesaMakeCurrent2() argument
1210 if (!drawBuffer || !readBuffer) in XMesaMakeCurrent2()
1214 && c->mesa.DrawBuffer == &drawBuffer->mesa_buffer in XMesaMakeCurrent2()
1221 c->xm_buffer = drawBuffer; in XMesaMakeCurrent2()
1223 xmesa_check_and_update_buffer_size(c, drawBuffer); in XMesaMakeCurrent2()
[all …]
Dxmesa.h206 XMesaBuffer drawBuffer,
Dfakeglx.c1291 XMesaBuffer drawBuffer, readBuffer; in Fake_glXMakeContextCurrent() local
1297 drawBuffer = MakeCurrent_PrevDrawBuffer; in Fake_glXMakeContextCurrent()
1300 drawBuffer = XMesaFindBuffer( dpy, draw ); in Fake_glXMakeContextCurrent()
1302 if (!drawBuffer) { in Fake_glXMakeContextCurrent()
1304 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in Fake_glXMakeContextCurrent()
1305 if (!drawBuffer) { in Fake_glXMakeContextCurrent()
1331 MakeCurrent_PrevDrawBuffer = drawBuffer; in Fake_glXMakeContextCurrent()
1335 return XMesaMakeCurrent2(xmctx, drawBuffer, readBuffer); in Fake_glXMakeContextCurrent()
/external/deqp/modules/gles3/functional/
Des3fRasterizationTests.cpp457 std::vector<tcu::Vec4> drawBuffer; in iterate() local
460 generateTriangles(m_iteration, drawBuffer, triangles); in iterate()
463 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
578 std::vector<tcu::Vec4> drawBuffer; in iterate() local
585 generateLines(m_iteration, drawBuffer, lines); in iterate()
588 drawPrimitives(resultImage, drawBuffer, m_primitiveDrawType); in iterate()
721 std::vector<tcu::Vec4> drawBuffer; in iterate() local
728 generatePoints(m_iteration, drawBuffer, points); in iterate()
731 drawPrimitives(resultImage, drawBuffer, GL_POINTS); in iterate()
1284 std::vector<tcu::Vec4> drawBuffer; in iterate() local
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DFramebuffer.cpp38 drawBuffer[0] = GL_COLOR_ATTACHMENT0; in Framebuffer()
41 drawBuffer[i] = GL_NONE; in Framebuffer()
116 drawBuffer[index] = buf; in setDrawBuffer()
126 return drawBuffer[index]; in getDrawBuffer()
697 drawBuffer[0] = GL_BACK; in DefaultFramebuffer()
707 drawBuffer[0] = GL_BACK; in DefaultFramebuffer()
DFramebuffer.h95 GLenum drawBuffer[MAX_COLOR_ATTACHMENTS]; variable
/external/jline/src/src/main/java/jline/
DConsoleReader.java368 drawBuffer(num); in clearEcho()
1192 drawBuffer(); in putString()
1221 drawBuffer(); in putChar()
1232 private final void drawBuffer(final int clear) throws IOException { in drawBuffer() method in ConsoleReader
1259 private final void drawBuffer() throws IOException { in drawBuffer() method in ConsoleReader
1260 drawBuffer(0); in drawBuffer()
1425 drawBuffer(count); in backspace()
1453 drawBuffer(1); in deleteCurrentCharacter()
1642 drawBuffer(1); in delete()
1651 drawBuffer(Math.max(0, num - replacement.length())); in replace()
/external/mesa3d/src/gallium/frontends/glx/xlib/
Dxm_api.c1281 GLboolean XMesaMakeCurrent2( XMesaContext c, XMesaBuffer drawBuffer, in XMesaMakeCurrent2() argument
1293 if (!drawBuffer != !readBuffer) { in XMesaMakeCurrent2()
1298 c->xm_buffer == drawBuffer && in XMesaMakeCurrent2()
1302 xmesa_check_buffer_size(drawBuffer); in XMesaMakeCurrent2()
1303 if (readBuffer != drawBuffer) in XMesaMakeCurrent2()
1306 c->xm_buffer = drawBuffer; in XMesaMakeCurrent2()
1310 drawBuffer ? drawBuffer->stfb : NULL, in XMesaMakeCurrent2()
1314 if (drawBuffer) in XMesaMakeCurrent2()
1315 drawBuffer->wasCurrent = GL_TRUE; in XMesaMakeCurrent2()
Dxm_api.h194 XMesaBuffer drawBuffer,
Dglx_api.c1192 XMesaBuffer drawBuffer = NULL, readBuffer = NULL; in glXMakeContextCurrent() local
1201 drawBuffer = XMesaFindBuffer( dpy, draw ); in glXMakeContextCurrent()
1202 if (!drawBuffer) { in glXMakeContextCurrent()
1204 drawBuffer = XMesaCreateWindowBuffer( xmctx->xm_visual, draw ); in glXMakeContextCurrent()
1205 if (!drawBuffer) { in glXMakeContextCurrent()
1229 if (XMesaMakeCurrent2(xmctx, drawBuffer, readBuffer)) { in glXMakeContextCurrent()
/external/mesa3d/src/mesa/main/
Dcontext.c1689 struct gl_framebuffer *drawBuffer, in _mesa_make_current() argument
1699 if (newCtx && drawBuffer && newCtx->WinSysDrawBuffer != drawBuffer) { in _mesa_make_current()
1700 if (!check_compatible(newCtx, drawBuffer)) { in _mesa_make_current()
1746 if (drawBuffer && readBuffer) { in _mesa_make_current()
1747 assert(_mesa_is_winsys_fbo(drawBuffer)); in _mesa_make_current()
1749 _mesa_reference_framebuffer(&newCtx->WinSysDrawBuffer, drawBuffer); in _mesa_make_current()
1757 _mesa_reference_framebuffer(&newCtx->DrawBuffer, drawBuffer); in _mesa_make_current()
1784 check_init_viewport(newCtx, drawBuffer->Width, drawBuffer->Height); in _mesa_make_current()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp970 std::vector<tcu::Vec4>& drawBuffer);
992 std::vector<tcu::Vec4> drawBuffer; in iterate() local
995 generateTriangles(m_iteration, drawBuffer, triangles); in iterate()
998 drawPrimitives(resultImage, drawBuffer, m_primitiveTopology); in iterate()
1002 const bool compareOk = compareAndVerify(triangles, resultImage, drawBuffer); in iterate()
1070 std::vector<tcu::Vec4>& drawBuffer);
1357 std::vector<tcu::Vec4> drawBuffer; in iterate() local
1364 generateLines(m_iteration, drawBuffer, lines); in iterate()
1367 drawPrimitives(resultImage, drawBuffer, m_primitiveTopology); in iterate()
1371 const bool compareOk = compareAndVerify(lines, resultImage, drawBuffer); in iterate()
[all …]
/external/deqp/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp414 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers() local
415 const TextureFormat& format = drawBuffer.getFormat(); in genRenderbuffers()
416 const IVec2& size = drawBuffer.getSize(); in genRenderbuffers()
420 refRenderbuffers[renderbufferNdx] = TextureLevel(drawBuffer.getFormat(), size.x(), size.y()); in genRenderbuffers()
432 const DrawBufferInfo& drawBuffer = drawBuffers[renderbufferNdx]; in genRenderbuffers() local
433 const TextureFormat& format = drawBuffer.getFormat(); in genRenderbuffers()
905 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in genFragmentSource() local
906 const TextureFormat& format = drawBuffer.getFormat(); in genFragmentSource()
938 const DrawBufferInfo& drawBuffer = drawBuffers[drawBufferNdx]; in genFragmentSource() local
939 const TextureFormat& format = drawBuffer.getFormat(); in genFragmentSource()
[all …]
/external/angle/samples/multiview/
DMultiview.cpp102 GLenum drawBuffer = GL_COLOR_ATTACHMENT0; in initialize() local
103 glDrawBuffers(1, &drawBuffer); in initialize()
/external/deqp/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp445 glw::GLenum drawBuffer = GL_COLOR_ATTACHMENT0; in setupRenderTarget() local
446 gl.drawBuffers(1, &drawBuffer); in setupRenderTarget()
/external/angle/src/libANGLE/
DFramebuffer.h266 GLenum getDrawBufferState(size_t drawBuffer) const;
269 const FramebufferAttachment *getDrawBuffer(size_t drawBuffer) const;
270 ComponentType getDrawbufferWriteType(size_t drawBuffer) const;
DFramebuffer.cpp1035 GLenum Framebuffer::getDrawBufferState(size_t drawBuffer) const in getDrawBufferState()
1037 ASSERT(drawBuffer < mState.mDrawBufferStates.size()); in getDrawBufferState()
1038 return mState.mDrawBufferStates[drawBuffer]; in getDrawBufferState()
1069 const FramebufferAttachment *Framebuffer::getDrawBuffer(size_t drawBuffer) const in getDrawBuffer()
1071 return mState.getDrawBuffer(drawBuffer); in getDrawBuffer()
1074 ComponentType Framebuffer::getDrawbufferWriteType(size_t drawBuffer) const in getDrawbufferWriteType()
1076 const FramebufferAttachment *attachment = mState.getDrawBuffer(drawBuffer); in getDrawbufferWriteType()
/external/angle/src/tests/gl_tests/
DMultisampledRenderToTextureTest.cpp3555 for (GLint drawBuffer = 0; drawBuffer < maxDrawBuffers; ++drawBuffer) in drawCopyThenBlendAllAttachmentsMixed() local
3557 fsStr[index] << kDecl[drawBuffer] << "\n"; in drawCopyThenBlendAllAttachmentsMixed()
3565 for (GLint drawBuffer = 0; drawBuffer < maxDrawBuffers; ++drawBuffer) in drawCopyThenBlendAllAttachmentsMixed() local
3567 fsStr[index] << assign[drawBuffer] << "\n"; in drawCopyThenBlendAllAttachmentsMixed()
3583 for (GLint drawBuffer = 0; drawBuffer < maxDrawBuffers; ++drawBuffer) in drawCopyThenBlendAllAttachmentsMixed() local
3585 createAndAttachColorAttachment(useRenderbuffer, kSize, GL_COLOR_ATTACHMENT0 + drawBuffer, in drawCopyThenBlendAllAttachmentsMixed()
3586 &kGLType[drawBuffer], sampleCount, &textureMS[drawBuffer], in drawCopyThenBlendAllAttachmentsMixed()
3587 &renderbufferMS[drawBuffer]); in drawCopyThenBlendAllAttachmentsMixed()
/external/angle/src/libANGLE/renderer/gl/egl/gbm/
DDisplayGbm.h142 void drawBuffer(const gl::Context *context, Buffer *buffer);
/external/angle/src/libANGLE/renderer/gl/
DFramebufferGL.h97 void syncClearBufferState(const gl::Context *context, GLenum buffer, GLint drawBuffer);
/external/deqp/external/openglcts/modules/common/
DglcGLSLVectorConstructorTests.cpp546 glw::GLenum drawBuffer = GL_COLOR_ATTACHMENT0; in setupRenderTarget() local
547 gl.drawBuffers(1, &drawBuffer); in setupRenderTarget()
/external/deqp/framework/opengl/
DgluStateReset.cpp397 const deUint32 drawBuffer = defaultFbo != 0 ? GL_COLOR_ATTACHMENT0 : GL_BACK; in resetStateES() local
404 gl.drawBuffers (1, &drawBuffer); in resetStateES()
1017 gl.drawBuffer(GL_BACK); in resetStateGLCore()
1026 gl.drawBuffer(GL_FRONT); in resetStateGLCore()
1032 gl.drawBuffer(GL_COLOR_ATTACHMENT0); in resetStateGLCore()

123