Commit Graph
18 Commits
Author SHA1 Message Date
Geoff Lang 5aad967353 Update Queries to return Error objects instead of calling gl::error.
BUG=angle:520

Change-Id: If8f2bb1c4de7b9cc30861a06aab1d89c97305b26
Reviewed-on: https://chromium-review.googlesource.com/216699
Reviewed-by: Shannon Woods <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-09-16 18:00:03 +00:00
Shannon Woods 97d65b7921 Clean up Query classes.
BUG=angle:717

Change-Id: I8f29f24964a9661d9f0bea5dca48cebddbf9b0b2
Reviewed-on: https://chromium-review.googlesource.com/211136
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Shannon Woods <[email protected]>
2014-09-02 19:12:38 +00:00
Geoff Lang 0b7eef7c46 Removed common_includes.h reordered includes.
Since we are not using precompiled headers anymore, remove common_includes.h
so that fewer files are included in cpp files.

Reordered includes to be in the following order:
 1) Local ANGLE project headers, ordered by directory in descending depth
 2) GL headers
 3) STL headers
This helps enforce the include-what-you-use principal by reducing the
number of STL headers unexpectedly shared between files.

This include order conflicts with some of the Google c++ style guide
which states that STL includes should be first but this helps us catch
more issues.

Change-Id: I8f7785f4ad574e253dd3c7b4fb1e54d3ce3b99fc
Reviewed-on: https://chromium-review.googlesource.com/214850
Reviewed-by: Jamie Madill <[email protected]>
Tested-by: Geoff Lang <[email protected]>
2014-08-28 18:41:12 +00:00
Jamie Madill ea24759ffc Remove remnants of old PCH code.
Remove the precompiled.cpp file which was producing a build warning,
and rename the header to make it clear we no longer support PCH.

BUG=angle:

Change-Id: I944081ae477b1478ca9c18924fb02bb920d420a7
Reviewed-on: https://chromium-review.googlesource.com/214187
Tested-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2014-08-28 14:52:46 +00:00
Brandon Jones 3b579e3698 Minor cleanup to Query constructor to normalize it with other interfaces
Change-Id: I562245cf6323edc7a127480e8de6ac16c6f97c03
Reviewed-on: https://chromium-review.googlesource.com/211641
Tested-by: Brandon Jones <[email protected]>
Reviewed-by: Shannon Woods <[email protected]>
2014-08-15 21:00:00 +00:00
Jamie Madill 45c785d35c Move validation of EndQuery out of gl::Context.
BUG=angle:571

Change-Id: I8913eb1b565a4282d9d84d06933e8b854453f17d
Reviewed-on: https://chromium-review.googlesource.com/199349
Reviewed-by: Geoff Lang <[email protected]>
Tested-by: Jamie Madill <[email protected]>
2014-05-16 15:06:49 +00:00
[email protected] bdf2d80f45 Add precompiled header support for the libGLESv2 project.
TRAC #22518

Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1938 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-02-28 23:16:20 +00:00
[email protected] 486d9e9b6b Remove a lot of unnecessary include files and break include chains.
This should speed up incremental compile times when modifying headers, by reducing the number of dependencies.

TRAC #22518

Signed-off-by: Geoff Lang
Signed-off-by: Shannon Woods
Author: Jamie Madill

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1937 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-02-28 23:15:41 +00:00
[email protected] b32e198750 gl::Query now uses the abstract rx::Query.
TRAC #22418

Signed-off-by: Nicolas Capens
Signed-off-by: Shannon Woods
Author: Geoff Lang

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1840 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-02-28 23:02:59 +00:00
[email protected] 27290c1bce Use convenience function for downcasting the renderer.
TRAC #22016
Signed-off-by: Daniel Koch
Author: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1497 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-11-28 20:57:47 +00:00
[email protected] dedd1a0f6c Eliminate D3D9 from Context.
TRAC #22016
Signed-off-by: Daniel Koch
Signed-off-by: Geoff Lang
Author: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1494 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-11-28 20:57:11 +00:00
[email protected] 414c9168bc Moves checkDeviceLost to renderer9_utils.h
TRAC #22141

Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1483 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-11-28 20:54:57 +00:00
[email protected] 76d3e6e07b Rename renderer namespace to rx
Trac #21999
Author: Shannon Woods
Signed-off-by: Daniel Koch

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1379 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-10-31 19:55:33 +00:00
[email protected] 2507f41e4f Split Renderer into version independent interface and Renderer9 implementation.
TRAC #21963
Signed-off-by: Daniel Koch
Author: Nicolas Capens

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1358 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-10-31 18:46:48 +00:00
[email protected] f688c0d18c Make testDeviceLoss able to perform the notifications
Trac #21727

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1332 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-10-31 17:52:57 +00:00
[email protected] ef21ab2955 Move query and sync support to Renderer
Trac #21727

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1331 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-10-31 17:52:47 +00:00
[email protected] 621ce053c1 Add Renderer class and move functionality from Display
Trac #21727

Conflicts:

	src/libGLESv2/Texture.cpp
	src/libGLESv2/libGLESv2.vcxproj

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1329 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-10-31 17:52:29 +00:00
[email protected] 86bdb824d5 Adds support for EXT_occlusion_query_boolean
TRAC #19360
Signed-off-by: Daniel Koch
Authored-by: Shannon Woods

git-svn-id: https://angleproject.googlecode.com/svn/trunk@951 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-20 18:24:39 +00:00