Ttfarina@chromium.orggpu: Fix more clang warnings about missing virtual and OVERRIDE annotations.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Revert "Revert 130384 - Broke a few Mac bots" This reverts commit 7bfa1cab6da66e6923316515eaf465afb65e5481. BUG=120297 TEST=run browser_tests on linux TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/9959107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130681 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Add GL_CHROMIUM_get_error_query Makes it possible to asynchronously query GL errors. TEST=unit tests BUG=133630 Review URL: https://chromiumcodereview.appspot.com/10577037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145739 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add AsyncFlush when transferbuffer is > a certain size TEST=unit tests BUG=113241 R=jbauman@chromium.org Review URL: http://codereview.chromium.org/9387014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121849 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Add AsyncFlush when transferbuffer is > a certain size TEST=unit tests BUG=113241 R=jbauman@chromium.org Review URL: http://codereview.chromium.org/9387014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121849 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make glGetQueryObjectuivEXT return true for GL_QUERY_RESULT_AVAILABLE_EXT This is so a client waiting for the result to be available does not wait forever if the context is lost. BUG=144731 Review URL: https://chromiumcodereview.appspot.com/10883036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153376 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make glGetQueryObjectuivEXT return true for GL_QUERY_RESULT_AVAILABLE_EXT This is so a client waiting for the result to be available does not wait forever if the context is lost. BUG=144731 Review URL: https://chromiumcodereview.appspot.com/10883036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153376 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make glGetQueryObjectuivEXT return true for GL_QUERY_RESULT_AVAILABLE_EXT This is so a client waiting for the result to be available does not wait forever if the context is lost. BUG=144731 Review URL: https://chromiumcodereview.appspot.com/10883036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153376 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add GLES2Implemention::FreeUnusedSharedMemory This is to help get the compositor free memory when appropritate BUG=none TEST=unit tests R=vangelis@chromium.org Review URL: http://codereview.chromium.org/8369010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106987 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
GPU: Build most of the gpu as a single DLL. BUG=114261 TEST=none Review URL: https://chromiumcodereview.appspot.com/9581018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124983 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make context groups share a TextureBufferManager TEST=unit tests, and ran WebGL Conformance tests BUG=129803 Review URL: https://chromiumcodereview.appspot.com/10441140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139981 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Revert r118525 / Re-land r118240 - the build failure was a flake. This change re-enables building gles2_c_lib as a component. TBR=gman@chromium.org BUG=107735 TEST=waterfall stays green Review URL: https://chromiumcodereview.appspot.com/9150022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118263 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Implement GL_EXT_debug_marker BUG=141700 Review URL: https://chromiumcodereview.appspot.com/10836185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151194 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move constructor and destructor of GLES2CmdHelper out of line This makes the cc file a bit less pointless and also removes a (harmless) "no symbols defined in static library" build warning in mac. gles2_conform_support/egl/display.h uses GLES2CmdHelper, so add a dependency from egl_native to gles2_cmd_helper to fix a dependency issue exposed by this change. BUG=none TEST=temporary ocd relief Review URL: http://codereview.chromium.org/9662026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126304 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move constructor and destructor of GLES2CmdHelper out of line This makes the cc file a bit less pointless and also removes a (harmless) "no symbols defined in static library" build warning in mac. gles2_conform_support/egl/display.h uses GLES2CmdHelper, so add a dependency from egl_native to gles2_cmd_helper to fix a dependency issue exposed by this change. BUG=none TEST=temporary ocd relief Review URL: http://codereview.chromium.org/9662026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126304 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Implement GL_EXT_debug_marker BUG=141700 Review URL: https://chromiumcodereview.appspot.com/10836185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151194 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ENUM value to synthesized GL_INVALID_ENUM errors BUG=none Review URL: https://chromiumcodereview.appspot.com/10893034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154332 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add ENUM value to synthesized GL_INVALID_ENUM errors BUG=none Review URL: https://chromiumcodereview.appspot.com/10893034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154332 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove overly agressive ASSERTs on output GL parameters. BUG=144022 Review URL: https://chromiumcodereview.appspot.com/10860082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152900 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Free the command buffer on destruction. It used to be this happened automagically when the corresponding GPU service code deleted all shared memory for a context but now shared memory is shared by all contexts in a sharegroup so this needs to be freed explicitly. BUG=143799 Review URL: https://chromiumcodereview.appspot.com/10876025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152905 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement GL_EXT_debug_marker BUG=141700 Review URL: https://chromiumcodereview.appspot.com/10836185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151194 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Work around bug in gcc's name mangling causing linker to crash on Mac OS X. BUG=40845 TEST=none TBR=gman Review URL: http://codereview.chromium.org/2079003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47225 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Revert r118525 / Re-land r118240 - the build failure was a flake. This change re-enables building gles2_c_lib as a component. TBR=gman@chromium.org BUG=107735 TEST=waterfall stays green Review URL: https://chromiumcodereview.appspot.com/9150022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118263 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Move gpu hash_tables and atomicops stuff TEST=none BUG=none Review URL: http://codereview.chromium.org/9836098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129341 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make GLES2Implementation use a larger chunk size for mapping functions. This will make it allocate less shared memory blocks resulting in less file descriptors. BUG=none TEST=unit tests Review URL: http://codereview.chromium.org/8340003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107544 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
GPU: Build most of the gpu as a single DLL. BUG=114261 TEST=none Review URL: https://chromiumcodereview.appspot.com/9581018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124983 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make context groups share a TextureBufferManager TEST=unit tests, and ran WebGL Conformance tests BUG=129803 Review URL: https://chromiumcodereview.appspot.com/10441140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139981 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Fix Uniform Name Parsing BUG=144007 Review URL: https://chromiumcodereview.appspot.com/10855274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152707 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make GL_CHROMIUM_consistent_uniform_locations slighty more robust Added a program argument so that at least in debug we can verify locations are correct. It also means we could fallback to actually calling GetUniformLocation if need be. TEST=unit tests BUG=132844 Review URL: https://chromiumcodereview.appspot.com/10581029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143126 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Cache OpenGL program info on the client side of the command buffer. For contexts not sharing resources this means the 3 to 30 calls to get link status and attrib/uniform locations will go from 3-30 sync calls to 1 sync call. TEST=unit tests and ran OpenGL ES 2.0 conformance tests BUG=85966 Review URL: http://codereview.chromium.org/7358006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95836 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make glGetQueryObjectuivEXT return true for GL_QUERY_RESULT_AVAILABLE_EXT This is so a client waiting for the result to be available does not wait forever if the context is lost. BUG=144731 Review URL: https://chromiumcodereview.appspot.com/10883036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153376 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Clean-up inline members of nested classes (gpu/) Due to a bug, the Clang-plugin style checker failed to warn about inline constructors, destructors, non-empty virtual methods, etc. for nested classes. The plugin has been fixed, and this patch is part of a clean-up of all the code that now causes the plugin to issue errors. BUG=139346 Review URL: https://chromiumcodereview.appspot.com/10834248 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150920 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Adjust Query code to handle context lost BUG=140116 Review URL: https://chromiumcodereview.appspot.com/10837105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149978 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add gpu targets to untrusted build, and add Graphics3D code to untrusted build. BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds all code needed for 3d and OpenGL ES. Review URL: https://chromiumcodereview.appspot.com/10837145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150432 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow gpu ringbuffer to wrap around. The ringbuffer was unwilling to wrap around unless the last block filled it up completely - otherwise it would have to wait until it was completely empty. Fix this in the most straightforward way by filling the ringbuffer up with a padding block if necessary. BUG=80946 TEST= Review URL: http://codereview.chromium.org/6901138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83924 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
GPU: Build most of the gpu as a single DLL. BUG=114261 TEST=none Review URL: https://chromiumcodereview.appspot.com/9581018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124983 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make context groups share a TextureBufferManager TEST=unit tests, and ran WebGL Conformance tests BUG=129803 Review URL: https://chromiumcodereview.appspot.com/10441140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139981 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
gpu: Fix more clang warnings about missing virtual and OVERRIDE annotations. BUG=115047 TBR=apatrick@chromium.org Review URL: https://chromiumcodereview.appspot.com/10905166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155581 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make GL_CHROMIUM_consistent_uniform_locations slighty more robust Added a program argument so that at least in debug we can verify locations are correct. It also means we could fallback to actually calling GetUniformLocation if need be. TEST=unit tests BUG=132844 Review URL: https://chromiumcodereview.appspot.com/10581029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143126 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make transfer buffer reallocate at default size. TEST=unit tests BUG=none R=vangelis@chromium.org Review URL: http://codereview.chromium.org/10197002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133781 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Make transfer buffer reallocate at default size. TEST=unit tests BUG=none R=vangelis@chromium.org Review URL: http://codereview.chromium.org/10197002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133781 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Free the command buffer on destruction. It used to be this happened automagically when the corresponding GPU service code deleted all shared memory for a context but now shared memory is shared by all contexts in a sharegroup so this needs to be freed explicitly. BUG=143799 Review URL: https://chromiumcodereview.appspot.com/10876025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152905 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |