summaryrefslogtreecommitdiffstats
path: root/ui/gfx
Commit message (Collapse)AuthorAgeFilesLines
* Use scoped_ptr for RenderTextTest memory management.msw@chromium.org2011-07-271-4/+5
| | | | | | | | | | | Eliminate heapcheck and valgrind suppressions. BUG=90370 TEST=none Review URL: http://codereview.chromium.org/7466043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94257 0039d316-1c4b-4281-b951-d872f2087c98
* Update Texture/Layer SetCanvas, callsites, and comments.msw@chromium.org2011-07-276-16/+18
| | | | | | | | | | | Fix TestTexture and ViewLayerTest compile. BUG=90548 TEST=none Review URL: http://codereview.chromium.org/7470030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94241 0039d316-1c4b-4281-b951-d872f2087c98
* Distinguish menu bullet and menu check when Windows theme is not present.rhashimoto@chromium.org2011-07-261-1/+2
| | | | | | | | | | | | | Radio button menu items were drawn properly with a uxtheme.dll on Windows but show as a check when no theme is present (i.e. on XP). BUG=chromium:90190 TEST=try Context Menus Sample on XP Review URL: http://codereview.chromium.org/7467032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94205 0039d316-1c4b-4281-b951-d872f2087c98
* Remove explicit keyword from multi-argument (w/o default values) constructorsdilmah@chromium.org2011-07-262-4/+3
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7477008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94115 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to 1951bsalomon@google.com2011-07-261-0/+19
| | | | | | Review URL: http://codereview.chromium.org/7504002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94082 0039d316-1c4b-4281-b951-d872f2087c98
* Add gfx::RenderText and support code.msw@chromium.org2011-07-257-0/+1000
| | | | | | | | | | | | RenderText is NativeTextFieldViews' interface to platform-specific text rendering engines. This change doesn't hook in any new Pango or Uniscribe functionality, it will just setup the necessary API. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93840 Review URL: http://codereview.chromium.org/7265011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93855 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93840 - Add gfx::RenderText and support code.msw@chromium.org2011-07-257-1000/+0
| | | | | | | | | | | | | RenderText is NativeTextFieldViews' interface to platform-specific text rendering engines. This change doesn't hook in any new Pango or Uniscribe functionality, it will just setup the necessary API. Review URL: http://codereview.chromium.org/7265011 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/7492041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93842 0039d316-1c4b-4281-b951-d872f2087c98
* Add gfx::RenderText and support code.msw@chromium.org2011-07-257-0/+1000
| | | | | | | | | | RenderText is NativeTextFieldViews' interface to platform-specific text rendering engines. This change doesn't hook in any new Pango or Uniscribe functionality, it will just setup the necessary API. Review URL: http://codereview.chromium.org/7265011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93840 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd try. added UI_API to Screen class.oshima@google.com2011-07-233-0/+210
| | | | | | | | | | | | | | | Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93724 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93744 Review URL: http://codereview.chromium.org/7483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93790 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93744 - 2nd try. added UI_API to Screen class.csilv@chromium.org2011-07-233-210/+0
| | | | | | | | | | | | | | | | Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93724 Review URL: http://codereview.chromium.org/7483014 TBR=oshima@google.com Review URL: http://codereview.chromium.org/7488035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93749 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd try. added UI_API to Screen class.oshima@google.com2011-07-233-0/+210
| | | | | | | | | | | | | Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93724 Review URL: http://codereview.chromium.org/7483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93744 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93724oshima@google.com2011-07-223-210/+0
| | | | | | | | | | | | | | "Move screen.h to ui/gfx because Screen doesn't depend on views, and they're useful outside views." This reverts commit 4b6b4b0a2a3d46f25ffe37d612742aba14c39462. TBR=jcivelli@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/7495019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93733 0039d316-1c4b-4281-b951-d872f2087c98
* Move screen.h to ui/gfx because Screen doesn't depend on views, and they're ↵oshima@google.com2011-07-223-0/+210
| | | | | | | | | | | useful outside views. BUG=none TEST=none Review URL: http://codereview.chromium.org/7483014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93724 0039d316-1c4b-4281-b951-d872f2087c98
* Reapplies r91761.erg@google.com2011-07-221-1/+1
| | | | | | | | | | | | | | | | | | Now that the ARM bot is upgraded to have the same libgtk as all the other bots, this shouldn't break the build. GTK: More 2.18 goodness. Move from macros to real accessor functions. This does not take care of everything! There are many deprecated macros that can't replace because their accessor replacements were in 2.20 or later. First Review URL: http://codereview.chromium.org/7227027 BUG=none TEST=none Review URL: http://codereview.chromium.org/7484035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93685 0039d316-1c4b-4281-b951-d872f2087c98
* Create new GLSurface for cross process image transport.backer@chromium.org2011-07-2210-1/+25
| | | | | | | | | | | | | | | Currently cross process image transport (on OSX and TOUCH_UI) uses the WebGL code path to render to a texture via FBO. This makes a clean break with path and centralizes the GL context specific IPC communication in one location. By separating from the WebGL code, I was able to avoid wasting a texture attached to the FBO in the decoder (the old code ignored this attachment --- the new code makes no such attachment at the decoder level). As a test of the new architecture, I have also implemented XComposite/GLX_texture_from_pixmap image transport (i.e. it's now possible to use the --use-gl=desktop backend on touch_ui builds). BUG=none TEST=3D CSS and WebGL on TOUCH_UI. Review URL: http://codereview.chromium.org/7395020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93681 0039d316-1c4b-4281-b951-d872f2087c98
* Always write alpha. Turn of blending for root layers. Also, don't clear the ↵backer@chromium.org2011-07-225-24/+40
| | | | | | | | | | | | background before drawing. BUG=5001880 TEST=none Review URL: http://codereview.chromium.org/7473007 Patch from Ian Vollick <vollick@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93675 0039d316-1c4b-4281-b951-d872f2087c98
* Add glBindFragDataLocationIndexedARB to the GLInterface. Add it to skia's ↵bsalomon@google.com2011-07-223-1/+13
| | | | | | | | in-proc GL function ptr struct. Required for Ganesh ui rendering. Review URL: http://codereview.chromium.org/7482003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93673 0039d316-1c4b-4281-b951-d872f2087c98
* Use EXPECT_FLOAT_EQ in interpolated xform unittest and SkMatrix44's ↵backer@chromium.org2011-07-222-44/+12
| | | | | | | | | | | | operator== in Transform. BUG=none TEST=ui_unittests views_unittests Review URL: http://codereview.chromium.org/7462013 Patch from Ian Vollick <vollick@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93640 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Fix text underline color/halo in Skia canvas.derat@chromium.org2011-07-221-27/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes us use the correct color for underlined text and draw a halo around the underlining when needed. Manual testing: - Checked that the underlining on the screen locker sign out link is white. - Hacked up status area text to be underlined and checked that things are mostly reasonable when drawing normal, embossed, or haloed text. (Actually, underlined-and-haloed text can get clipped in some cases, but I don't think that we use it anywhere and this is hard to fix without a lot of refactoring -- we don't specify whether text is going to be drawn with a halo or not when requesting its size.) - Turned on underlining on tab titles and checked that the underline also fades out to the right on long, elided titles. BUG=chromium-os:16490 TEST=manual; see above Review URL: http://codereview.chromium.org/7466025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93559 0039d316-1c4b-4281-b951-d872f2087c98
* Allow creating a gpu channel that uses software renderingjbauman@chromium.org2011-07-2113-37/+144
| | | | | | | | | | | | | Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests TBR=apatrick Review URL: http://codereview.chromium.org/7471042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93449 0039d316-1c4b-4281-b951-d872f2087c98
* Dup of Issue 7465011: Larger Combo box Hit Targets for TOUCH_UIsaintlou@chromium.org2011-07-214-0/+16
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7465015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93431 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93393 - Crashed Linux Touch build: ↵leandrogracia@chromium.org2011-07-2113-144/+37
| | | | | | | | | | | | | | | | | | http://build.chromium.org/p/chromium/builders/Linux%20Touch/builds/2649/steps/compile/logs/stdio Allow creating a gpu channel that uses software rendering Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 TBR=jbauman@chromium.org Review URL: http://codereview.chromium.org/7468030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93399 0039d316-1c4b-4281-b951-d872f2087c98
* Allow creating a gpu channel that uses software renderingjbauman@chromium.org2011-07-2113-37/+144
| | | | | | | | | | | Where supported (on ANGLE with EGL_ANGLE_software_display), allow for the creation of gpu channels that use software rendering instead of hardware rendering. BUG= TEST=trybots, other later tests Review URL: http://codereview.chromium.org/7383004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93393 0039d316-1c4b-4281-b951-d872f2087c98
* revert r93279saintlou@chromium.org2011-07-203-12/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7467017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93283 0039d316-1c4b-4281-b951-d872f2087c98
* Dup of Issue 7465011: Larger Combo box Hit Targets for TOUCH_UIsaintlou@chromium.org2011-07-203-0/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7465012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93279 0039d316-1c4b-4281-b951-d872f2087c98
* some cleanup for base/stl_utildilmah@chromium.org2011-07-193-3/+3
| | | | | | | | | | | | | removed unused/irrelevant functions removed irrelevant comments Moved stl_util-inl.h => stl_util.h BUG=None TEST=None Review URL: http://codereview.chromium.org/7342047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
* Fix vertical range slider.rogerta@chromium.org2011-07-192-0/+4
| | | | | | | | | | | | | BUG=88017 TEST=Load a web page that should display a vertical slider and make sure it appears vertical and correctly instead of horizonatally. Note that the thumb part appears too far to the right; I have confirmed this on all platforms (win,linux,mac). Since bug was was about a windows specific rendering issue, I have opened another bug (89616) to keep track of the right offset. Review URL: http://codereview.chromium.org/7400024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92927 0039d316-1c4b-4281-b951-d872f2087c98
* Export some ui:: functions to fix component build for chromeos/touchui.sadrul@chromium.org2011-07-181-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7401031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92896 0039d316-1c4b-4281-b951-d872f2087c98
* Fix GCC build bustage.darin@chromium.org2011-07-171-2/+2
| | | | | | | TBR=backer@chromium.org Review URL: http://codereview.chromium.org/7396011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92820 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce ui.dll / libui.so for the component build.darin@chromium.org2011-07-1737-124/+163
| | | | | | | R=ben@chromium.org Review URL: http://codereview.chromium.org/7328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92819 0039d316-1c4b-4281-b951-d872f2087c98
* Fix context sharing in CompositorGL.backer@chromium.org2011-07-152-111/+158
| | | | | | | | | | | We use context sharing in CompositorGL to avoid compiling the same shaders for different compositors. Previously, we kept the shaders around until the program exited. With this change, we keep the shaders around until there are no more compositors. BUG=89239 TEST=ui_tests on linux_views pass Review URL: http://codereview.chromium.org/7367005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92683 0039d316-1c4b-4281-b951-d872f2087c98
* Detect and expose loss of OpenGL context using GL_ARB_robustness.kbr@chromium.org2011-07-148-41/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This CL was originally reviewed under http://codereview.chromium.org/7331020/ . The only difference is the removal of an #include from command_buffer.h that was accidentally left in and which caused a significant increase in the number of files containing static initializers, presumably because of the dependent #include of <iostream>.) This initial patch changes the Linux port to use GLX_ARB_create_context_robustness when available, and tests periodically whether the context has been lost after each draw call and when making the context current. The detection of context loss also works with EGL and ANGLE, although it always reports an unknown reset status. WebKit changes will follow which test the reset status and determine what to do in response; for example, the policy might be to never restore a WebGL context which was lost (due to a GPU reset) and which was determined to be the guilty context. Tested manually with WebGL stress tests and verified on Linux and Windows that in at least some situations it is possible to detect guilty contexts and shut down the associated WebGL application. Some precision of this detection was recently lost and will need to be fixed in following CLs. Also updated and ran GPU unit tests. BUG=88106 TEST=none (tested manually; try servers) R=gman,apatrick,piman Review URL: http://codereview.chromium.org/7362005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92453 0039d316-1c4b-4281-b951-d872f2087c98
* Same commit as Issue 7307032: Disabled scrollbars for TOUCH_UI build.saintlou@chromium.org2011-07-132-0/+8
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7363005 Patch from Fady Samuel <fsamuel@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92437 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 92429 - Detect and expose loss of OpenGL context using ↵kbr@chromium.org2011-07-138-183/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GL_ARB_robustness. (Regressed static initalizer size on Linux -- will need to reexamine code to understand why.) This initial patch changes the Linux port to use GLX_ARB_create_context_robustness when available, and tests periodically whether the context has been lost after each draw call and when making the context current. The detection of context loss also works with EGL and ANGLE, although it always reports an unknown reset status. WebKit changes will follow which test the reset status and determine what to do in response; for example, the policy might be to never restore a WebGL context which was lost (due to a GPU reset) and which was determined to be the guilty context. Tested manually with WebGL stress tests and verified on Linux and Windows that in at least some situations it is possible to detect guilty contexts and shut down the associated WebGL application. Some precision of this detection was recently lost and will need to be fixed in following CLs. Also updated and ran GPU unit tests. BUG=88106 TEST=none (tested manually; try servers) Review URL: http://codereview.chromium.org/7331020 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/7346032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92434 0039d316-1c4b-4281-b951-d872f2087c98
* Detect and expose loss of OpenGL context using GL_ARB_robustness.kbr@chromium.org2011-07-138-41/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | This initial patch changes the Linux port to use GLX_ARB_create_context_robustness when available, and tests periodically whether the context has been lost after each draw call and when making the context current. The detection of context loss also works with EGL and ANGLE, although it always reports an unknown reset status. WebKit changes will follow which test the reset status and determine what to do in response; for example, the policy might be to never restore a WebGL context which was lost (due to a GPU reset) and which was determined to be the guilty context. Tested manually with WebGL stress tests and verified on Linux and Windows that in at least some situations it is possible to detect guilty contexts and shut down the associated WebGL application. Some precision of this detection was recently lost and will need to be fixed in following CLs. Also updated and ran GPU unit tests. BUG=88106 TEST=none (tested manually; try servers) Review URL: http://codereview.chromium.org/7331020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92429 0039d316-1c4b-4281-b951-d872f2087c98
* Moving DCHECK to the return value only.bradnelson@google.com2011-07-121-1/+2
| | | | | | | | | | | | | | | | | | | | As we want to call GetClientRect, even in non-release builds. BUG=Failing on release builder with: 375>d:\b\build\slave\chrome-official\build\src\third_party\leveldb\util\env_chromium.cc(239) : warning C4722: 'leveldb::`anonymous namespace'::ChromiumEnv::~ChromiumEnv' : destructor never returns, potential memory leak 365>d:\b\build\slave\chrome-official\build\src\ui\gfx\gl\gl_surface_wgl.cc(264) : error C2220: warning treated as error - no 'executable' file generated 365>d:\b\build\slave\chrome-official\build\src\ui\gfx\gl\gl_surface_wgl.cc(264) : warning C4700: uninitialized local variable 'rect' used 375>d:\b\build\slave\chrome-official\build\src\ui\gfx\gl\gl_surface_wgl.cc(264) : error C2220: warning treated as error - no 'executable' file generated 375>d:\b\build\slave\chrome-official\build\src\ui\gfx\gl\gl_surface_wgl.cc(264) : warning C4700: uninitialized local variable 'rect' used 365>d:\b\build\slave\chrome-official\build\src\third_party\leveldb\util\env_chromium.cc(239) : warning C4722: 'leveldb::`anonymous namespace'::ChromiumEnv::~ChromiumEnv' : destructor never returns, potential memory leak 375>LINK : fatal error LNK1257: code generation failed TEST=Built locally. R=apatrick@chromium.org Review URL: http://codereview.chromium.org/7349012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92228 0039d316-1c4b-4281-b951-d872f2087c98
* Check string to decide if rtldavemoore@chromium.org2011-07-081-5/+16
| | | | | | | | | BUG=chromium-os:16019 TEST=Open http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=arabic#sclient=psy&hl=en&source=hp&q=%D8%A8%D8%AC%D8%AF%D9%8A%D8%A9+%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9%E2%80%8E+%CA%BE&pbx=1&oq=%D8%A8%D8%AC%D8%AF%D9%8A%D8%A9+%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9%E2%80%8E+%CA%BE&aq=f&aqi=&aql=undefined&gs_sm=e&gs_upl=4559l4559l0l1l1l0l0l0l0l76l76l1l1&bav=on.2,or.r_gc.r_pw.&fp=7c469d2a1253a36a&biw=1832&bih=1022 and check if the tab has a "..." in the middle Review URL: http://codereview.chromium.org/7324011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91881 0039d316-1c4b-4281-b951-d872f2087c98
* Use SkMatrix44 for the underlying implementation of ui::Transformbacker@chromium.org2011-07-0812-134/+812
| | | | | | | | | | BUG= TEST=ui_unittest Review URL: http://codereview.chromium.org/7044062 Patch from Ian Vollick <vollick@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91855 0039d316-1c4b-4281-b951-d872f2087c98
* Share shaders between browser compositors.backer@chromium.org2011-07-082-18/+31
| | | | | | | | | | | Each compositor has it's own context. We should share shaders between them because compiling shaders is expensive. To do this, I pin the very first context created with a ref count. Then I use context sharing to share the shaders. BUG=none TEST=by hand with intel, nv, nouveau, and tegra drivers on a TOUCH_UI build Review URL: http://codereview.chromium.org/7327001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91853 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromium_code: 1 to surface.gyp and gl.gyp to pick up -Werror.thakis@chromium.org2011-07-086-60/+16
| | | | | | | | | | | | | | | | | | It looks like this was dropped accidentally in http://codereview.chromium.org/6718027 (surface.gyp) and http://codereview.chromium.org/6722026 (gl.gyp) Remove now-redudant code that's implied by chromium_code: 1. Fix the warnings that have crept in since chromium_code: 1 was removed. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91598 Review URL: http://codereview.chromium.org/7227009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91813 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91761 - GTK: More 2.18 goodness. Move from macros to real accessor ↵erg@google.com2011-07-071-1/+1
| | | | | | | | | | | | | | | | | | functions. This does not take care of everything! There are many deprecated macros that we can't replace because their accessor replacements were in 2.20 or later. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227027 TBR=erg@chromium.org Review URL: http://codereview.chromium.org/7329003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91774 0039d316-1c4b-4281-b951-d872f2087c98
* Convert remaining instances of the 'os' variable in grit conditionstony@chromium.org2011-07-071-1/+1
| | | | | | | | | | | to the new easier to read variables. BUG=none TEST=Manual, everything still compiles. Review URL: http://codereview.chromium.org/7313017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91773 0039d316-1c4b-4281-b951-d872f2087c98
* When GL implementation is Mock or None return rather than setting the ↵bsalomon@google.com2011-07-071-2/+2
| | | | | | | | skia-gpu GL interface with an uninitialized binding. Fixes a -Werror issue. Review URL: http://codereview.chromium.org/7316023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91763 0039d316-1c4b-4281-b951-d872f2087c98
* GTK: More 2.18 goodness. Move from macros to real accessor functions.erg@chromium.org2011-07-071-1/+1
| | | | | | | | | | | | | This does not take care of everything! There are many deprecated macros that we can't replace because their accessor replacements were in 2.20 or later. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91761 0039d316-1c4b-4281-b951-d872f2087c98
* ui: Rename app_unittests_strings to ui_unittests_strings.tfarina@chromium.org2011-07-071-1/+1
| | | | | | | | | | | BUG=72317 TEST=None R=tony@chromium.org Review URL: http://codereview.chromium.org/7314013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91651 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 91598 (broke linux64) - Add chromium_code: 1 to surface.gyp and ↵thakis@chromium.org2011-07-065-13/+60
| | | | | | | | | | | | | | | | | | | | | gl.gyp to pick up -Werror. It looks like this was dropped accidentally in http://codereview.chromium.org/6718027 (surface.gyp) and http://codereview.chromium.org/6722026 (gl.gyp) Remove now-redudant code that's implied by chromium_code: 1. Fix the warnings that have crept in since chromium_code: 1 was removed. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227009 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/7227022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91601 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromium_code: 1 to surface.gyp and gl.gyp to pick up -Werror.thakis@chromium.org2011-07-065-60/+13
| | | | | | | | | | | | | | | | It looks like this was dropped accidentally in http://codereview.chromium.org/6718027 (surface.gyp) and http://codereview.chromium.org/6722026 (gl.gyp) Remove now-redudant code that's implied by chromium_code: 1. Fix the warnings that have crept in since chromium_code: 1 was removed. BUG=none TEST=none Review URL: http://codereview.chromium.org/7227009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91598 0039d316-1c4b-4281-b951-d872f2087c98
* Push (not pull) window geometry for the compositor.backer@chromium.org2011-07-065-57/+64
| | | | | | | | | | | The previous implementation used to poll the environment for the window size every drawing cycle. On Linux this is an expensive operation because it requires a round trip to the X server. This CL pushes window size change to the compositor. BUG=none TEST=none Review URL: http://codereview.chromium.org/7212028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91572 0039d316-1c4b-4281-b951-d872f2087c98
* Compile fix for windows.backer@chromium.org2011-06-301-1/+2
| | | | | | | | This should fix a compile error on Windows introduced at r91145. TBR=sky@chromium.org,backer@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91155 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/7262024/ for Ian:sky@chromium.org2011-06-303-0/+526
| | | | | | | | | | | Added interpolated transforms BUG= none TEST=ui_unittests Review URL: http://codereview.chromium.org/7285003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91145 0039d316-1c4b-4281-b951-d872f2087c98