Граф коммитов

33 Коммитов

Автор SHA1 Сообщение Дата
Al Patrick 3c6344e7ad add TRACE_EVENT to ANGLE (reland)
Tracing code the same as previous CL:
https://codereview.appspot.com/12699047/

Setup code simplified, and follows the GetProcAddress model of other
gl functions.

R=shannonwoods@google.com
2013-09-24 15:13:04 -04:00
Jamie Madill ba615196a8 Normalize line endings of tracked files in the repository.
TRAC #23896

Signed-off-by: Shannon Woods
2013-09-24 14:21:28 -04:00
shannon.woods%transgaming.com@gtempaccount.com 7b2e6758c8 Adds Jamie and Geoff to CONTRIBUTORS file
git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2152 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-04-13 03:41:33 +00:00
daniel@transgaming.com b35da7afe3 Make angle compile on Win64
BUG=http://crbug.com/166496
BUG=http://crbug.com/167187

Landing this for Justin Schuh:
https://codereview.appspot.com/7011048/
Review URL: https://codereview.appspot.com/7040045


Conflicts:

	src/common/version.h

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1702 736b8ea6-26fd-11df-bfd4-992fa37f6226
2013-01-11 04:12:04 +00:00
daniel@transgaming.com a16a55f728 Add explicit std:: namespace to code from <cXYZ> includes.
Some platforms seem to implicitly include the <XYZ.h> headers
which also add some types and functions (like strlen, size_t,...)
into the global namespace.

On other platforms though, this can result in compile errors, which
is noticeable in WebKit on e.g. QNX. See also:
https://bugs.webkit.org/show_bug.cgi?id=95468

https://codereview.appspot.com/6843083/

Contributed by Milian Wolff, Klaralvdavens Datakonsult AB.

git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1565 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-12-20 20:51:54 +00:00
daniel@transgaming.com 0d3b36deca .gitignore: Add *.target.mk, generated when building as part of ChromiumOS
BUG=None
TEST=Build Chromium and ChromiumOS from source, and run "repo status",
    with and without this change.

Contributed by Josh Triplett <josh.triplett@intel.com>

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1316 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-10-17 20:58:50 +00:00
jbauman@chromium.org 6bc4a14693 Ensure texture level count accounts for lod offset.
The lower texture levels (below the lod offset) aren't used and can't be seen, so don't count them in levelCount.

BUG=

Review URL: https://codereview.appspot.com/6492084

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1275 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-09-06 21:28:30 +00:00
daniel@transgaming.com 3b6ff3e8a2 Reconcile AUTHORS and CONTRIBUTORS files
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1269 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-09-05 15:50:49 +00:00
apatrick@chromium.org 3e8fc7f6bf Move targets from src\build_angle.gyp to src\build_angle.gypi
This enables Skia to compile ANGLE
Review URL: https://codereview.appspot.com/6492063

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1268 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-08-30 21:15:39 +00:00
daniel@transgaming.com 07ab841a88 Implement Anisotropic Texture filtering support
Bug=297
Authored-by: Conor Dickinson, Cloud Party, Inc.
Signed-off-by: Daniel Koch

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1219 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-07-12 15:17:09 +00:00
daniel@transgaming.com 69ab299337 Remove an unused variable from readCPPline()
This causes problems with -Wunused-but-set-variable in GCC 4.6.

Review: http://codereview.appspot.com/6296o59/

Author: Steve Block

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1147 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-06-13 15:42:30 +00:00
maxvujovic@gmail.com 66ebd0143e Add the SH_TIMING_RESTRICTIONS compile flag and dependency graph implementation.
Description of the algorithm:
http://code.google.com/p/mvujovic/wiki/ShaderControlFlowAnalysis

This flag is one potential solution to timing attacks on textures containing cross-domain content
or user agent data.
This kind of analysis could be useful for both WebGL and CSS Shaders.

The SH_TIMING_RESTRICTIONS flag will reject a shader if it uses texture dependent data to affect
control flow.

Other ways of affecting shader timing such as using NaNs in basic arithmetic operations or using
built-in functions (e.g. atan) with different inputs are still under investigation.

Issue=329
Review URL: http://codereview.appspot.com/6195062/



git-svn-id: https://angleproject.googlecode.com/svn/trunk@1101 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-30 22:18:11 +00:00
daniel@transgaming.com 519c32ba9a Implement SSE2 version of loadAlphaData
http://codereview.appspot.com/6050054/
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Authored-by: Jin Yang

With this patch, my HTML5 2D canvas benchmark with Chromium on Windows7 with GPU
acceleration can boost about 4% though the most execution time is in GPU.

git-svn-id: https://angleproject.googlecode.com/svn/trunk@1067 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-05-01 15:24:05 +00:00
daniel@transgaming.com cb37afdb6a The normalized argument of vertexAttribPointer should not affect float and fixed.
Issue=155
Signed-off-by: Nicolas Capens
Author: Pierre Leveille

git-svn-id: https://angleproject.googlecode.com/svn/trunk@981 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-02-01 18:10:40 +00:00
jacob.benoit.1@gmail.com 77b95e1cb2 Detect GNU Hurd and Debian kFreeBSD as ANGLE_OS_POSIX
See https://bugzilla.mozilla.org/show_bug.cgi?id=711353

Patch by Mike Hommey



git-svn-id: https://angleproject.googlecode.com/svn/trunk@954 736b8ea6-26fd-11df-bfd4-992fa37f6226
2012-01-23 17:09:06 +00:00
daniel@transgaming.com ffc4e74d84 Add another contributor
git-svn-id: https://angleproject.googlecode.com/svn/trunk@894 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-11-24 22:34:22 +00:00
daniel@transgaming.com f5cfcd2d1a Update contributors
git-svn-id: https://angleproject.googlecode.com/svn/trunk@893 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-11-24 22:34:18 +00:00
daniel@transgaming.com 3442c2bbe1 Fix contribution
git-svn-id: https://angleproject.googlecode.com/svn/trunk@799 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-10-19 15:32:37 +00:00
daniel@transgaming.com a033e02d00 VC11 fails to build angle because oppl_allocator::operator= does not exist
ANGLEBUG=229
Signed-off-by: Nicolas Capens
Author: Ehsan Akhgari

git-svn-id: https://angleproject.googlecode.com/svn/trunk@798 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-10-19 13:29:32 +00:00
daniel@transgaming.com 4d27f3b49f Update contributor list
git-svn-id: https://angleproject.googlecode.com/svn/trunk@791 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-10-12 16:20:00 +00:00
daniel@transgaming.com bb1d1713ac Add Wayland typedefs to eglplatform.h
Issue=188
Author: Daniel Nicoara

git-svn-id: https://angleproject.googlecode.com/svn/trunk@709 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-07-29 16:32:31 +00:00
daniel@transgaming.com 0608ad1f05 Win64: fix return value from lookupAttribute
Issue=190
Author: Makoto Kato

git-svn-id: https://angleproject.googlecode.com/svn/trunk@707 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-07-29 16:32:17 +00:00
daniel@transgaming.com b0eb69789a Fix an overflow issue when a static buffer is invalidated.
Issue=104,139,179
TRAC #15143
Signed-off-by: Daniel Koch
Author: Nicolas Capens
Original-patch-by: Yore Apex

git-svn-id: https://angleproject.googlecode.com/svn/trunk@702 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-07-08 16:23:42 +00:00
zmo@google.com 5601ea0d66 Implement ES2 backend for Angle translator.
With this CL, we have the option to select a code output backend: GLSL, GLSL ES, or HLSL.

Note that we always emit the highest supported float precision for fragment shader due to anglebug 168.  Although this is a temporary solution, it's not against GLSL ES spec, because it's ok for implementation to upgrade precision.

Tested with WebGL conformance test suite, GLES2 conformance test suite (only failed 2/1198), and a few webgl demos, including worlds of webgl, aquarium, etc.

anglebug=81
test=translator emitting correct GLSL ES code when ES2 backend is selected.
Review URL: http://codereview.appspot.com/4550129

git-svn-id: https://angleproject.googlecode.com/svn/trunk@687 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-06-10 18:23:25 +00:00
baustin@google.com 2475f02e89 Update and alphabetize contributors list.
Review URL: http://codereview.appspot.com/4574041

git-svn-id: https://angleproject.googlecode.com/svn/trunk@670 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-06-03 21:10:06 +00:00
daniel@transgaming.com a5fd7a5aa5 Update contributors list
git-svn-id: https://angleproject.googlecode.com/svn/trunk@646 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-05-11 16:19:54 +00:00
daniel@transgaming.com f963e92f82 Update contributors and version
git-svn-id: https://angleproject.googlecode.com/svn/trunk@576 736b8ea6-26fd-11df-bfd4-992fa37f6226
2011-03-15 18:25:13 +00:00
daniel@transgaming.com 5751ed385b Update contributors list
git-svn-id: https://angleproject.googlecode.com/svn/trunk@505 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-12-12 08:53:40 +00:00
daniel@transgaming.com 5783308ef9 Add Al and Vlad to contributors file
git-svn-id: https://angleproject.googlecode.com/svn/trunk@371 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-08-08 04:50:02 +00:00
daniel@transgaming.com 8c9ff193e3 Add Jim Hauxwell as a contributor
git-svn-id: https://angleproject.googlecode.com/svn/trunk@313 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-05-20 19:18:11 +00:00
daniel@transgaming.com 26e9604f9e update contributors list
git-svn-id: https://angleproject.googlecode.com/svn/trunk@118 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-04-10 05:29:13 +00:00
alokp@chromium.org ea0e1af4c3 Minor reshuffling of directory structure in preparation of ESSL to GLSL compiler work.
1. Added include/GLSLANG which includes compiler API
2. Deleted src/include and moved the header files to the same directory as the corresponding source files
3. Modied include path to be relative to src/. I have only fixed paths for files I moved. We should fix it for all new files at least. It is much easier to see where an included file is coming from.

I noticed that a few libGLESv2 source files include headers from libEGL project, which seems wrong. I think we should address this issue. Next step: move compiler source files to compiler/frontend and create two new projects compiler/glsl_backend and compiler/hlsl_backend.

Review URL: http://codereview.appspot.com/662042

git-svn-id: https://angleproject.googlecode.com/svn/trunk@62 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-22 19:33:14 +00:00
daniel@transgaming.com 4f39fd9956 Initial import from TransGaming
git-svn-id: https://angleproject.googlecode.com/svn/trunk@2 736b8ea6-26fd-11df-bfd4-992fa37f6226
2010-03-08 20:26:45 +00:00