History log of /external/swiftshader/src/Main/FrameBufferX11.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
241f789c783201a64127b7f28fea89db18c2609c 31-Dec-2015 Nicolas Capens <capn@google.com> Refactor FrameBuffer blit/flip source.

Pass a surface to the blit/flip functions, instead of a raw pointer.
This puts the FrameBuffer in control of locking and unlocking.

Change-Id: I55335b3beef8d7083aae7687bd25392964261bde
Reviewed-on: https://swiftshader-review.googlesource.com/4482
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
e5a9637d5aae60607298b8ccdc9c3951af395c09 11-Aug-2017 Nicolas Capens <capn@google.com> Refactor FrameBuffer state.

This mainly groups the state that is used for generating a new blit
routine into a second BlitState structure 'updateState'. It also
allowed for the FrameBuffer's own parameters to not have a 'dest'
prefix. Also, 'locked' was renamed to 'framebuffer', and 'target' to
'renderbuffer'.

Change-Id: I64e26f0b06f9f4419b8ca67e6fbb0dee8272898a
Reviewed-on: https://swiftshader-review.googlesource.com/11510
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
708c24b3cd03b68aa98b29a9099d6a9ce96eca16 26-Oct-2017 Nicolas Capens <capn@google.com> Use more explicit include paths.

This helps clarify dependencies and simplifies include paths.

Bug swiftshader:86

Change-Id: I564ee420bb9029fa6428e49b63a86d633301bec2
Reviewed-on: https://swiftshader-review.googlesource.com/13288
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
0952c7de6c478179cce02910e7985b91abccff99 27-Sep-2017 Nicolas Capens <capn@google.com> Fix initial framerate and show maximum.

We don't start timing until after the first frame finished rendering
and is presented, so the frame count has to be 0 at that point.

Change-Id: Ic242bb5625c6c50694e7625008565ee421859624
Reviewed-on: https://swiftshader-review.googlesource.com/12488
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
aa2666f9414d96a3aadbadac1023b0222719ea50 25-Sep-2017 Alexis Hetu <sugoi@google.com> Properly initializing image's memory

MSAN detected uninitialized memory which caused many test failures.
This can be easily fixed by zeroing out the memory before calling
XCreateImage.

Change-Id: I913c818ef38446055af7fd6aa885028e5f3f8bfb
Reviewed-on: https://swiftshader-review.googlesource.com/12388
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
bba05f378eff958a73dc88b66728f32aff9e80d6 15-Sep-2017 Nicolas Capens <capn@google.com> Implement X11 onscreen framerate counter.

This FPS counter is disabled by default.

Change-Id: Ida04352dece25a212cb678c9ceca4c31d654f373
Reviewed-on: https://swiftshader-review.googlesource.com/12128
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
506cc5e06043ba0819cc8f7c9190826faf47b1d6 24-Jul-2017 Nicolas Capens <capn@google.com> Suppress UBSan false positives.

Function pointers from exported functions are wrongly flagged as being
of incorrect type. This happens both on libEGL and libGLESv2 entry
functions, as well as functions called between them.

Bug chromium:746914

Change-Id: I2bf5a8f06546c233ede7a4820c0cda3e997f096e
Reviewed-on: https://swiftshader-review.googlesource.com/10868
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
31c07a304f3247c26ba72eff0cb0a74eb05366e8 14-Jun-2017 Nicolas Capens <capn@google.com> Make the EGL surface class abstract.

gl::Surface is now the pure abstract interface for egl::Surface, which
can be used by libGLESv2 without requiring typeinfo.

Bug chromium:732667
Bug swiftshader:31

Change-Id: I7d8a5892c5b6186541f84c3cf39e72ac1d6c613d
Reviewed-on: https://swiftshader-review.googlesource.com/10129
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
0bac285a78df6a6d7a6b68784748b92805420ffb 07-May-2016 Nicolas Capens <capn@google.com> Apply the Apache 2.0 license.

Change-Id: I4a7aeefedcd2d891093520d5a10ebefadcddb5be
Reviewed-on: https://swiftshader-review.googlesource.com/5320
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
e63db96b293bfd21dd099d387171ba61e6b2d388 11-Dec-2015 Nicolas Capens <capn@google.com> Store the native display as an opaque pointer.

Bug 18314459

Change-Id: I63e56d626bd1838803d1de71b417b7e40242c5e9
Reviewed-on: https://swiftshader-review.googlesource.com/4390
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
175d634f0c82c1b7647219344cc8244222d75f89 24-Nov-2015 Alexis Hetu <sugoi@google.com> Minor bug fixes and cleanup

- Removed unused variables
- Fixed member initialization order in a few classes
- Fixed Surface::setSwapBehavior()
- Removed unused mPixelPackingStateDirty members
- Fixed initialization of "size" member in LinkedVarying class
- Fixed constness of a string
- Removed unused static functions
- Added parenthesis to fix && / || order ambiguity

Change-Id: Ia9ad8eaca335c60871fdc58037e441aa2010a641
Reviewed-on: https://swiftshader-review.googlesource.com/4301
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
22bc79c2917e933ad1d04c2de5e93a2566773f87 30-Nov-2015 Nicolas Capens <capn@google.com> Use explicit stride for framebuffer blit.

Change-Id: I68685932934caba4d9fab7b45014d24316ce45a8
Reviewed-on: https://swiftshader-review.googlesource.com/4293
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
a230805e1fb8d9da59c706ba13aed2a9f3410c1e 15-Apr-2015 Nicolas Capens <capn@google.com> Access library dependencies through a single object.

Bug 18752589

Change-Id: I93155cead50b30faa876023f9ed00f60b7c9e34e
Reviewed-on: https://swiftshader-review.googlesource.com/2831
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
a36c990ca735dcd8f48a077e867ed44377e897ed 13-Apr-2015 Nicolas Capens <nicolascapens@google.com> Manually load X11 and resolve its symbols when needed.

This removes the static dependency on X11 on Linux, allowing for
headless rendering on systems without it.

Bug 20104157

Change-Id: I463c8b3340c3ad16cd0f0d1d0f8804ee31012dd0
Reviewed-on: https://swiftshader-review.googlesource.com/2832
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
f41412b0a4d1c315125e6ac2ed5a128af3e7229a 06-Dec-2014 Nicolas Capens <capn@google.com> Fall back to the default visual if no X8R8G8B8.

Bug 18510357

Change-Id: I2406106482b8c65408df783ebb78f5abd17a6320
Reviewed-on: https://swiftshader-review.googlesource.com/1593
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
688b0ad48ceb7f8e1628214e1e52ef68490c2dfd 04-Dec-2014 Nicolas Capens <capn@google.com> Treat all X8R8G8B8 and A8R8G8B8 formats as fast EGL configs.

The display format does not have to match the framebuffer image format,
so we only care about the latter.

Bug 18510357

Change-Id: Ie3382b7b006a5007e56ff9e2ae572e8a60f500d8
Reviewed-on: https://swiftshader-review.googlesource.com/1572
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
/external/swiftshader/src/Main/FrameBufferX11.cpp
10219e7243e8397781cb9302cd8f9937cf906dc2 07-May-2014 Nicolas Capens <capn@google.com> Use the full format to specify frame buffer blits.
/external/swiftshader/src/Main/FrameBufferX11.cpp
296e312ada192936667d05fa8fc012e077751542 07-May-2014 Nicolas Capens <capn@google.com> Avoid writing any pixels outside of the frame buffer.

crbug.com/336438
/external/swiftshader/src/Main/FrameBufferX11.cpp
2f24de329f9272496aec2ee30f07de6fd1a9657b 07-May-2014 Nicolas Capens <capn@google.com> Only open an X11 display when not provided by the application through eglGetDisplay().
/external/swiftshader/src/Main/FrameBufferX11.cpp
5a35426e9ed9622a9e8c2e71e4f9c12f4221d735 07-May-2014 Nicolas Capens <capn@google.com> Install a custom error handler to catch BadAccess errors from XShmAttach so we can fall back to not using MIT-SHM.

crbug.com/336438
/external/swiftshader/src/Main/FrameBufferX11.cpp
66b8ab22586debccb1f787d4d52b7f042d4ddeb8 06-May-2014 John Bauman <jbauman@google.com> Add SwiftShader dump from Feb 6 2013
/external/swiftshader/src/Main/FrameBufferX11.cpp