summaryrefslogtreecommitdiffstats
path: root/cc/transferable_resource.h
Commit message (Collapse)AuthorAgeFilesLines
* Send compositor frame IPC with metadata.aelias@chromium.org2012-12-181-5/+5
| | | | | | | | | | | | This makes CompositorFrame contain one of two payloads: DelegatedFrameData for ubercomp and GLFrameData for the Aura model. This also adds CompositorFrameMetadata containing information useful for positioning subwindows relative to the webpage scroll position. The message is sent when a new switch --enable-compositor-frame-message is set. This is enabled by default on Android and also suppresses Android-specific UpdateFrameInfo messages, which will be superceded by CompositorFrameMetadata. BUG=152337,161945 Review URL: https://chromiumcodereview.appspot.com/11316128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173634 0039d316-1c4b-4281-b951-d872f2087c98
* Use nearest neighbor filtering for non-translated quadsskyostil@chromium.org2012-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Draw tiled layer quads that only have a translation transformation component using nearest neighbor filtering instead of bilinear filtering. This has two advantages: 1. On some GPUs this can reduce memory bandwidth usage due to increased texture cache hit rate. 2. Linear filtering is known to give slightly different results on different GPUs because of differences in the texture sampling hardware. Avoiding bilinear filtering in the common case (i.e., when CSS transformation aren't used) makes WebKit layout test pixel dumps better comparable across different devices. TEST=ResourceProviderTest.ScopedSampler, GLRendererTest2.activeTextureState, manual testing with composited websites. BUG= Review URL: https://chromiumcodereview.appspot.com/11358181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170944 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add CompositorFrame class with IPC param traits for itdanakj@chromium.org2012-12-041-4/+2
| | | | | | | | | | | | | | Tests: content_unittests:CCMessagesTest.AllQuads content_unittests:CCMessagesTest.Resources BUG=152337 R=piman NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11308306 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170853 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix header include guards.tfarina@chromium.org2012-11-111-3/+3
| | | | | | | | | | | | | | | Fixed the files found by the following command lines: $ cpplint.py cc/* 2>&1 | grep header_guard $ cpplint.py cc/test/* 2>&1 | grep header_guard BUG=144576,144577 TEST=cc_unittests TBR=enne@chromium.org,jamesr@chromium.org Review URL: https://chromiumcodereview.appspot.com/11365188 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167123 0039d316-1c4b-4281-b951-d872f2087c98
* Uber Comp: never change mailbox name associated with a texture object.apatrick@chromium.org2012-11-091-0/+3
| | | | | | Review URL: https://codereview.chromium.org/11366123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166995 0039d316-1c4b-4281-b951-d872f2087c98
* Separate TransferableResource into own headerpiman@chromium.org2012-11-031-0/+44
This is so that we can write the picklers without having to include webcore/wtf. This also changes the resource transfer functions to avoid copies. BUG=146080 Review URL: https://chromiumcodereview.appspot.com/11358080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165847 0039d316-1c4b-4281-b951-d872f2087c98