summaryrefslogtreecommitdiffstats
path: root/gpu
Commit message (Collapse)AuthorAgeFilesLines
...
* Flag INV_OP during BeginQuery if id is not obtained from GenQueriesEXT.puttaraju.r@samsung.com2014-04-225-26/+44
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/226483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265360 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add UMA statistic for fence support.reveman@chromium.org2014-04-221-0/+2
| | | | | | | | BUG=273274 Review URL: https://codereview.chromium.org/245903002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265266 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Use CHROMIUM_sync_query for CopyResource.reveman@chromium.org2014-04-223-0/+3
| | | | | | | | | | | | Use COMMANDS_COMPLETED queries instead of making the assumption that it's safe to access the source resource once the command has been processed on the service side. BUG=269808 Review URL: https://codereview.chromium.org/245753003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265220 0039d316-1c4b-4281-b951-d872f2087c98
* Fix machine_model behaviors in gpu blacklist.zmo@chromium.org2014-04-2115-274/+170
| | | | | | | | | | | | | | | | | | | | | | | We made the assumption that GPUInfo.machine_model is (name, version). This is true for mac, where this machine_model was originally designed for. Now we also use it on Android. However, the whole machine_model should just be retreated as one name string. Now on Android Nexus, we have "Nexus 5", "Nexus 7", so they are processed like on Mac, which is incorrect. I believe a few android entries in the software_rendering_list_json.cc are not active right now due to the (name, version). BUG=364743 TEST=gpu_unittests R=kbr@chromium.org, tsepez@chromium.org, vrk@chromium.org TBR=pfeldman@chromium.org Review URL: https://codereview.chromium.org/241793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265062 0039d316-1c4b-4281-b951-d872f2087c98
* Use VAO for default_vertex_attrib_manager if available.vmiura@chromium.org2014-04-195-20/+48
| | | | | | | | | | | | By using VAO's we can make virtual context switches faster by a single glBindVertexArrayOES instead of restoring all attributes one-by-one. BUG=244701, 363785 Review URL: https://codereview.chromium.org/229883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264914 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Use ARB_sync extension for GLFence implementation when GL version is ↵reveman@chromium.org2014-04-194-10/+16
| | | | | | | | | | | | | OpenGL ES 3. This increases the number of configurations for which fences are supported. BUG=269808,356871 Review URL: https://codereview.chromium.org/242113011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264900 0039d316-1c4b-4281-b951-d872f2087c98
* Enable GPU rasterization by default on Androidajuma@chromium.org2014-04-181-1/+99
| | | | | | | | | | This enables hybrid GPU rasterization on Android. BUG=362779 Review URL: https://codereview.chromium.org/241223004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264735 0039d316-1c4b-4281-b951-d872f2087c98
* Restore bound VAO in ContextState::RestoreState().vmiura@chromium.org2014-04-188-59/+279
| | | | | | | | BUG=363407, 281565 Review URL: https://codereview.chromium.org/237893004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264705 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land: gpu: Add CHROMIUM_sync_query extension.reveman@chromium.org2014-04-1710-3/+217
| | | | | | | | | | | | | This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide a finer granularity of synchronizing GL command completion than offered by glFinish(). BUG=269808,356871,273274 TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM Review URL: https://codereview.chromium.org/238933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264675 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused input_shlib_pathcjhopman@chromium.org2014-04-172-2/+0
| | | | | | | | | | This path is now only inferred from test_suite_name. TBR=darin NOTRY=true Review URL: https://codereview.chromium.org/226353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264666 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all uses of toolkit_use_gtk in the gyp files.erg@chromium.org2014-04-172-13/+0
| | | | | | | | | BUG=297026 R=ben@chromium.org, brettw@chromium.org Review URL: https://codereview.chromium.org/238633004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264609 0039d316-1c4b-4281-b951-d872f2087c98
* Blacklist D3D11 on older nVidia drivers.jmadill@chromium.org2014-04-172-1/+68
| | | | | | | | | | | | Older nVidia drivers (269.73 and prior) seem to show up in crash reports associated with turning on D3D11 by default in ANGLE. Forcing D3D9 should clear up the crashes. BUG=349929 Review URL: https://codereview.chromium.org/240503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264608 0039d316-1c4b-4281-b951-d872f2087c98
* Change ACCELERATED_COMPOSITING blacklist to GPU_COMPOSITING.danakj@chromium.org2014-04-173-6/+6
| | | | | | | | | | | | | | | | Remove any checks for ACCELERATED_COMPOSITING to determine if compositing is available, since it always is. Instead rename the blacklist entry to GPU_COMPOSITING and use it to prevent GL-based compositing. Depends on: https://codereview.chromium.org/238933009/ R=jbauman@chromium.org, piman@chromium.org, zmo@chromium.org BUG=363772 Review URL: https://codereview.chromium.org/239083006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264566 0039d316-1c4b-4281-b951-d872f2087c98
* Add GPU_RASTERIZATION as one of the gpu blacklist features.zmo@chromium.org2014-04-173-0/+7
| | | | | | | | | | BUG=362782 TEST=gpu_unittests R=ajuma@chromium.org, kbr@chromium.org Review URL: https://codereview.chromium.org/240243005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264564 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Remove left-over empty class declarationjadahl@opera.com2014-04-171-2/+0
| | | | | | | | | | | ScopedSafeSharedMemory was removed in "GPU: Remove memory duplication in async uploads." so lets remove this empty declaration as well. BUG= Review URL: https://codereview.chromium.org/237673016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264469 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of gpu: Add CHROMIUM_sync_query extension. ↵hayato@chromium.org2014-04-1711-233/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/238933003/) Reason for revert: [gardening] Seems that QueryTest.SyncQueryBasic started to fail on Android Tests (dbug). http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29 http://build.chromium.org/p/chromium.webkit/builders/Android%20Tests%20%28dbg%29/builds/18673/steps/gl_tests/logs/stdio [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from QueryTest [ RUN ] QueryTest.SyncQueryBasic ../../gpu/command_buffer/tests/gl_query_unittest.cc:154: Failure Value of: GLTestHelper::HasExtension("GL_CHROMIUM_sync_query") Actual: false Expected: true [0417/014324:ERROR:gles2_cmd_decoder.cc(9542)] [GroupMarkerNotSet(crbug.com/242999)!:04B0A600]GL ERROR :GL_INVALID_OPERATION : glBeginQueryEXT: not enabled for commands completed queries [0417/014324:ERROR:gles2_cmd_decoder.cc(9617)] [GroupMarkerNotSet(crbug.com/242999)!:04B0A600]GL ERROR :GL_INVALID_OPERATION : glEndQueryEXT: No active query ../../gpu/command_buffer/tests/gl_query_unittest.cc:166: Failure Value of: available Actual: false Expected: true ../../gpu/command_buffer/tests/gl_manager.cc:241: Failure Value of: glGetError() == GL_NONE Actual: false Expected: true [ FAILED ] QueryTest.SyncQueryBasic (70 ms) [----------] 1 test from QueryTest (71 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (71 ms total) [ PASSED ] 0 tests. [ FAILED ] 1 test, listed below: [ FAILED ] QueryTest.SyncQueryBasic In range 264168:264191, this patch might be the culprit. Let me revert this patch and watch whether Android Tests will cycle to green or not. Original issue's description: > gpu: Add CHROMIUM_sync_query extension. > > This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide > a finer granularity of synchronizing GL command completion than offered > by glFinish(). > > BUG=269808,356871,273274 > TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264173 TBR=piman@chromium.org,epenner@chromium.org,sievers@chromium.org,reveman@chromium.org NOTREECHECKS=true NOTRY=true BUG=269808,356871,273274 Review URL: https://codereview.chromium.org/240273006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264407 0039d316-1c4b-4281-b951-d872f2087c98
* Wire GL_CHROMIUM_map_sub functions up to Skia.bsalomon@google.com2014-04-171-0/+4
| | | | | | | | BUG=skia:2402 Review URL: https://codereview.chromium.org/231993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264358 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ForceCompositingMode from the GPU blacklist.danakj@chromium.org2014-04-163-7/+0
| | | | | | | | | | | | This mode is always on for everything we ship, so we never need to blacklist it. R=jbauman@chromium.org BUG=363772 Review URL: https://codereview.chromium.org/239253005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264263 0039d316-1c4b-4281-b951-d872f2087c98
* Move vertex and fragment shader uniform vector workarounds to gpu driver bug ↵puttaraju.r@samsung.com2014-04-165-13/+52
| | | | | | | | | | list. BUG=none Review URL: https://codereview.chromium.org/224233003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264215 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 264104 "Restore bound VAO in ContextState::RestoreState()."phoglund@chromium.org2014-04-162-43/+9
| | | | | | | | | | | | | | | | | | | | | > Restore bound VAO in ContextState::RestoreState(). > > BUG=363407 > > Review URL: https://codereview.chromium.org/237893004 This patch seems to have broken the WebRTC Nexus 5 bots: http://chromegw.corp.google.com/i/chromium.webrtc/builders/Android%20Tests%20%28dbg%29%20%28KK%20Nexus5%29 The logcat was full of these warnings: ERROR:gpu_video_decode_accelerator_host.cc(204)] BUG=364005 TBR=vmiura@chromium.org Review URL: https://codereview.chromium.org/240113003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264179 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add CHROMIUM_sync_query extension.reveman@chromium.org2014-04-1611-3/+233
| | | | | | | | | | | | | This adds a GL_COMMANDS_COMPLETED_CHROMIUM query target that provide a finer granularity of synchronizing GL command completion than offered by glFinish(). BUG=269808,356871,273274 TEST=gpu_unittests --gtest_filter=GLES2DecoderManualInitTest.BeginEndQueryEXTCommandsCompletedCHROMIUM Review URL: https://codereview.chromium.org/238933003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264173 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid GetState IPC call during AllocateRingbuffer.puttaraju.r@samsung.com2014-04-161-13/+4
| | | | | | | | | | | | | | SetGetBuffer(id) resets get and put offsets to 0. So no need to ask CommandBuffer::State through GetState() IPC call. CreateTransferBuffer() allocates new cmd buffer of size 1MB. No need to check for num_entries after new allocation of ring_buffer, as always state.num_entries==num_ring_buffer_entries after this new allocation. BUG=none Review URL: https://codereview.chromium.org/220243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264166 0039d316-1c4b-4281-b951-d872f2087c98
* Restore bound VAO in ContextState::RestoreState().vmiura@chromium.org2014-04-162-9/+43
| | | | | | | | BUG=363407 Review URL: https://codereview.chromium.org/237893004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264104 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for EXT_shader_texture_lod to the command buffer.nicolascapens@chromium.org2014-04-165-2/+44
| | | | | | | | BUG=angle:551 Review URL: https://codereview.chromium.org/239223004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264080 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the number of flushes while using glQueries.puttaraju.r@samsung.com2014-04-164-10/+27
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/228653004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264057 0039d316-1c4b-4281-b951-d872f2087c98
* PCI scan to find GPU: not limited to just VGA.zmo@chromium.org2014-04-151-2/+12
| | | | | | | | | | | | | | | On Thinkpad T430s with NVIDIA Optimus, the NVIDIA GPU is listed as a 3D controller, not a VGA compatible controller. BUG=363418 TEST= R=kbr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=263998 Review URL: https://codereview.chromium.org/237673004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264028 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 263998 "PCI scan to find GPU: not limited to just VGA."zmo@chromium.org2014-04-154-19/+3
| | | | | | | | | | | | | | | | | | | | | Accidentally commited something unrelated to this CL. > PCI scan to find GPU: not limited to just VGA. > > On Thinkpad T430s with NVIDIA Optimus, the NVIDIA GPU is listed as a > 3D controller, not a VGA compatible controller. > > BUG=363418 > TEST= > R=kbr@chromium.org > > Review URL: https://codereview.chromium.org/237673004 TBR=zmo@chromium.org Review URL: https://codereview.chromium.org/239453004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264023 0039d316-1c4b-4281-b951-d872f2087c98
* glDeleteVertexArraysOES on bound VAO restores default VAO 0.vmiura@chromium.org2014-04-154-1/+31
| | | | | | | | | | | | | | The default VAO attributes were not being restored when using emulated VAO, for example on ARM GPUs (e.g. Nexus 10) Chrome forces VAO emulation, and the following WebGL conformance test fails: http://www.khronos.org/registry/webgl/sdk/tests/conformance/extensions/oes-vertex-array-object.html BUG=263398 Review URL: https://codereview.chromium.org/237603003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264005 0039d316-1c4b-4281-b951-d872f2087c98
* PCI scan to find GPU: not limited to just VGA.zmo@chromium.org2014-04-154-3/+19
| | | | | | | | | | | | | On Thinkpad T430s with NVIDIA Optimus, the NVIDIA GPU is listed as a 3D controller, not a VGA compatible controller. BUG=363418 TEST= R=kbr@chromium.org Review URL: https://codereview.chromium.org/237673004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263998 0039d316-1c4b-4281-b951-d872f2087c98
* Blacklist AMD driver version 13.101 on linuxpiman@chromium.org2014-04-151-1/+21
| | | | | | | | BUG=363378 Review URL: https://codereview.chromium.org/237923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263818 0039d316-1c4b-4281-b951-d872f2087c98
* x11: Remove X11 message-pump.sadrul@chromium.org2014-04-151-1/+2
| | | | | | | | | | | | | | | | The remaining use of the X11 mesage-pump was opening the connection to the X11 server. This patch moves that out of the message-pump, into gfx. This allows us to remove the X11 message-pump, and just use the base Glib-based message-pump on Linux and ChromeOS. BUG=354062 R=darin@chromium.org, sky@chromium.org Previously landed in r263726, but reverted in r263733 to allow reverting another CL. Review URL: https://codereview.chromium.org/235043005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263777 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 263726 "x11: Remove X11 message-pump."fischman@chromium.org2014-04-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reason for revert: along with 263718 blamed for http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29/builds/45298 http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%281%29/builds/29956 > x11: Remove X11 message-pump. > > The remaining use of the X11 mesage-pump was opening the connection to the > X11 server. This patch moves that out of the message-pump, into gfx. This > allows us to remove the X11 message-pump, and just use the base Glib-based > message-pump on Linux and ChromeOS. > > BUG=354062 > R=darin@chromium.org, sky@chromium.org > > Review URL: https://codereview.chromium.org/235043005 TBR=sadrul@chromium.org Review URL: https://codereview.chromium.org/238093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263733 0039d316-1c4b-4281-b951-d872f2087c98
* x11: Remove X11 message-pump.sadrul@chromium.org2014-04-141-1/+2
| | | | | | | | | | | | | | The remaining use of the X11 mesage-pump was opening the connection to the X11 server. This patch moves that out of the message-pump, into gfx. This allows us to remove the X11 message-pump, and just use the base Glib-based message-pump on Linux and ChromeOS. BUG=354062 R=darin@chromium.org, sky@chromium.org Review URL: https://codereview.chromium.org/235043005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263726 0039d316-1c4b-4281-b951-d872f2087c98
* Support ANGLE_instanced_arrays on GLES3oetuaho@nvidia.com2014-04-141-1/+2
| | | | | | | | | | | | glDrawArraysInstanced, glDrawElementsInstanced, and glVertexAttribDivisor are parts of ES3 core. Expose them through ANGLE_instanced_arrays on ES3. BUG=362530 TEST=WebGL conformance tests, gpu_unittests Review URL: https://codereview.chromium.org/234873003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263609 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add trace event to GLES2DecoderImpl::DoCopyTextureCHROMIUM.reveman@chromium.org2014-04-141-0/+2
| | | | | | | | | BUG=269808 TBR=piman Review URL: https://codereview.chromium.org/225993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263580 0039d316-1c4b-4281-b951-d872f2087c98
* Implement CollectDriverInfoGL for Ozone.kalyan.kondapally@intel.com2014-04-121-4/+47
| | | | | | Review URL: https://codereview.chromium.org/231863009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263513 0039d316-1c4b-4281-b951-d872f2087c98
* Remove stale GPU code on Windows/Macpiman@chromium.org2014-04-121-1/+0
| | | | | | | | | | | | | | | - on Windows: with Aura + removal of the accelerated surface support, the only "transport"-type surfaces are TextureImageTransportSurfaces and IOSurfaceImageTransportSurface. The GpuHostMsg_AcceleratedSurface* messages can go directly to the UI thread without the need for filtering on the IO thread. - on both Mac and Windows, we use the compositor thread always, so we don't need the ViewMsg_SwapBuffers_ACK and associated logic any more. BUG=None Review URL: https://codereview.chromium.org/137663006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263475 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: InProcessCommandBuffer::DestroyTransferBuffer thread safeboliu@chromium.org2014-04-112-3/+10
| | | | | | | | | | | Accessing InProcessCommandBuffer::command_buffer_ must hold the command_buffer_lock_ lock and DestroyTransferBuffer did not. BUG=362346 Review URL: https://codereview.chromium.org/235503004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263355 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch of TOOLKIT_GTK in content/ and gpu/, as well as NPAPI plugins ↵piman@chromium.org2014-04-112-15/+0
| | | | | | | | | | on linux BUG=297026 Review URL: https://codereview.chromium.org/234533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263288 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to prevent NULL-pointer error accessing command-buffer entries.jbauman@chromium.org2014-04-112-5/+6
| | | | | | | | | | It looks like MSVC is mostly optimizing out the NULL pointer check. We can attempt to placate its alias analysis by returning a void* from the function (instead of a different pointer type) and switching to static_cast from reinterpret_cast (which apparently is illegal with a void*). BUG=361936 Review URL: https://codereview.chromium.org/233873002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263171 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the GTK+ port of Chrome.erg@chromium.org2014-04-102-69/+0
| | | | | | | | | BUG=297026 R=ben@chromium.org Review URL: https://codereview.chromium.org/231733005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263101 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb ScheduleOverlayPlane into the GPU process.alexst@chromium.org2014-04-0920-2/+493
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/222333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262715 0039d316-1c4b-4281-b951-d872f2087c98
* Filter redundant state changes in gles2::ContextState::RestoreGlobalState().vmiura@chromium.org2014-04-095-91/+269
| | | | | | | | | | | Reduce GL calls in Virtual GL context restore, by checking for differences from previous state. BUG=244701, 353822 Review URL: https://codereview.chromium.org/228263007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262664 0039d316-1c4b-4281-b951-d872f2087c98
* Remove default textures in (!bind_generates_resource) context groups.vmiura@chromium.org2014-04-0811-159/+658
| | | | | | | | | | | | | | | | | | | Previously texture ids for default textures in Renderer compositor and Browser compositor contexts are different, so during a context switch we'd be restoring default textures for all units which can be slow. This change makes all default textures 'null' for context groups with bind_generates_resource == false. Since Renderer and Browser compositors will both have 'null' default textures, state switching will be avoided. BUG=333063, 353822 Review URL: https://codereview.chromium.org/224763002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262288 0039d316-1c4b-4281-b951-d872f2087c98
* Fix -Wunused-local-typedefs errors with GCC 4.7+fdegans@chromium.org2014-04-074-13/+0
| | | | | | | | BUG=321833 Review URL: https://codereview.chromium.org/213693007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262172 0039d316-1c4b-4281-b951-d872f2087c98
* Pass GL context bind_generates_resources flag to GPU Service.vmiura@chromium.org2014-04-039-27/+92
| | | | | | | | | | | | | | | | | GPU Client has been respecting the bind_generates_resources attrib, however the GPU Service has been forcing it to always 'true'. This means glBind semantic validation has been incorrect when bind_generates_resources is 'false' on the Client. This patch passes the bind_generates_resources attrib for WebGraphicsContext3DCommandBufferImpl, and checks that all contexts in the same ContextGroup use the same setting. BUG=333063, 244968 Review URL: https://codereview.chromium.org/213743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261563 0039d316-1c4b-4281-b951-d872f2087c98
* Make ShaderTranslatorCache per thread refcountedboliu@chromium.org2014-04-0312-48/+81
| | | | | | | | | | | | | | | | | | After crbug.com/332146 is fixed, in Android WebView, GLES2Decoder can be used on two threads. Make sure a ShaderTranslatorCache instance is only used on a single thread by refcounting an instance between all decoders. Also protect ShInitialize by using the thread safety guarantees of LazyInstance. For tests, a new instance of ShaderTranslatorCache is passed for each ContextGroup. BUG= Review URL: https://codereview.chromium.org/217813004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261427 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r258965 aka reland r258122sievers@chromium.org2014-04-033-13/+10
| | | | | | | | | | | | | | | gpu: Allow fences to check whether a flush has occurred This skips waiting on a fence that was created but never committed. BUG=352419,355275 TBR=piman@chromium.org > Original Review URL: https://codereview.chromium.org/197563003 Review URL: https://codereview.chromium.org/222103008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261383 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize overlay validator in GpuBrowserCompositorOutputSurface.alexst@chromium.org2014-04-033-7/+9
| | | | | | | | | | Plus refactor overlay transform into separate file to use the same type in cc, ozone and context_support. BUG= Review URL: https://codereview.chromium.org/220723006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261301 0039d316-1c4b-4281-b951-d872f2087c98
* gpu: Add explicit dependency on X11/Xext when building with X11.sadrul@chromium.org2014-04-031-0/+2
| | | | | | | | | BUG=none R=piman@chromium.org Review URL: https://codereview.chromium.org/214133012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261288 0039d316-1c4b-4281-b951-d872f2087c98