- 27 Aug, 2012 5 commits
-
-
daniel@transgaming.com authored
Issue=358 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1263 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
To use SSE2 in GCC, a compiler -msse2 flag is needed. It adds both possibility to write SSE2 code in the file, but also allows compiles to optimize the whole file with SSE2. To make sure that the code works on non-SSE2 machines, moving SSE2 functions to separated file and compiling only that file with -msse2 is the common practice. Issue=358 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@1262 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
- Added missing typename keyword - Use proper filenames includes (this matters when cross compiling on case sensitive OSes) - Added <string> include where GCC requires it - Avoid collision between enum variables and template params Issue=358 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@1261 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
stdext namespace is a non-standard extension. Use standard std::unordered_map on GCC. Issue=358 Signed-of-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@1260 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
- Preprocessor variables need to be separated from string constants to be separated token - Use ##__VA_ARGS__ GCC extension to support empry __VA_ARGS__ (should be no-op on MSVC). See: http://www.delorie.com/gnu/docs/gcc/gcc_44.html for details. The following series fixes compilation on GCC (from mingw-w64) and allows cross compiling the source on Linux. It was tested in Mozilla tree since ANGLE has no support for GCC in its build system. Issue=358 Signed-off-by: Daniel Koch git-svn-id: https://angleproject.googlecode.com/svn/trunk@1259 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 17 Aug, 2012 2 commits
-
-
apatrick@chromium.org authored
This is actually to fix AMD / Intel switchable systems when using integrated Intel where the source rectangle to Present is not respected. Review URL: https://codereview.appspot.com/6459101 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1254 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
apatrick@chromium.org authored
Review URL: https://codereview.appspot.com/6460100 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1253 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 13 Aug, 2012 2 commits
-
-
alokp@chromium.org authored
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1247 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
alokp@chromium.org authored
Shader translator converted single-element vector swizzle to direct index access. It is not wrong, but unnecessary and moreover it triggers a MESA optimizer bug. Review URL: https://codereview.appspot.com/6460074 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1246 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 10 Aug, 2012 1 commit
-
-
apatrick@chromium.org authored
Review URL: https://codereview.appspot.com/6449123 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1245 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 25 Jul, 2012 1 commit
-
-
maxvujovic@gmail.com authored
Add angle_code var to common.gypi and build_angle.gyp. Add GCC and clang warning flags from WebKit to ANGLE Mac and Linux builds. The angle_code var differentiates between core ANGLE code vs. test code, sample code, and third party code. Review URL: https://codereview.appspot.com/6427049/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1244 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 24 Jul, 2012 14 commits
-
-
apatrick@chromium.org authored
See https://codereview.appspot.com/6427049/. Review URL: https://codereview.appspot.com/6422063 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1243 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Make ProgramBinary a refcount object and use Binding pointers to maintain it's lifetime on context and program. Trac #21270 Bug=351 Signed-off-by: Nicolas Capens This fixes the underlying bug since it allows the context to keep the program binary alive, after a relink has occurred. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1242 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens If link fails we still need to keep the failed binary around for information such as number of active attributes, varyings, etc. Thus we can no longer use the presence of a binary to tell us if we've successfully linked a program object. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1241 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1240 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1239 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1238 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1237 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens This is unnecessary since the current program can never be deleted, only flagged for deletion. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1236 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens Everywhere we used the currentProgram it was immediately used to get the program's binary. git-svn-id: https://angleproject.googlecode.com/svn/trunk@1235 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1234 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens This is necessary since the shaders can change every time a new ProgramBinary is created (eg when re-linking or loading a new binary). git-svn-id: https://angleproject.googlecode.com/svn/trunk@1233 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1232 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
Trac #21270 Bug=351 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1231 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
maxvujovic@gmail.com authored
Review URL: https://codereview.appspot.com/6427049/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1230 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 19 Jul, 2012 1 commit
-
-
apatrick@chromium.org authored
Ran a WebGL conformance test that exercises the blitter - copy-tex-image-2d-formats. Review URL: https://codereview.appspot.com/6403043 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1229 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 18 Jul, 2012 2 commits
-
-
maxvujovic@gmail.com authored
Issue: 349 Review URL: https://codereview.appspot.com/6420046/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1228 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
alokp@chromium.org authored
MacroExpander::popMacro() assumes that the macro being popped has been fully parsed. This may not be true for MacroExpander destructor which may get called anytime the compiler decides to abort the compilation process. This patch just deletes the macro-contexts pushed in the stack without validating the parse state of current macro. BUG=348 Review URL: https://codereview.appspot.com/6415043 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1227 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 13 Jul, 2012 4 commits
-
-
apatrick@chromium.org authored
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1226 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
apatrick@chromium.org authored
WebGL conformance tests did not regress. I verified they exercise the Blit code. Review URL: https://codereview.appspot.com/6345105 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1225 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
maxvujovic@gmail.com authored
Review URL: http://codereview.appspot.com/6356098/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1224 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
maxvujovic@gmail.com authored
Review URL: https://codereview.appspot.com/6353097/ git-svn-id: https://angleproject.googlecode.com/svn/trunk@1223 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 12 Jul, 2012 7 commits
-
-
jbauman@chromium.org authored
D3D doesn't support DXT textures that aren't a multiple of 4 in size, so multiply the sizes by 2 or 4 so they work. Then ensure sampler parameters are set up correctly so they don't sample the unuploaded miplevels. BUG=https://code.google.com/p/angleproject/issues/detail?id=237 TEST= Review URL: https://codereview.appspot.com/6287045 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1222 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
daniel@transgaming.com authored
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
-
daniel@transgaming.com authored
git-svn-id: https://angleproject.googlecode.com/svn/trunk@1218 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
apatrick@chromium.org authored
Review URL: https://codereview.appspot.com/6352103 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1217 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
apatrick@chromium.org authored
Review URL: https://codereview.appspot.com/6349053 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1216 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
apatrick@chromium.org authored
Review URL: https://codereview.appspot.com/6351082 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1215 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
apatrick@chromium.org authored
The texture v coordinate was still being flipped. Fixes http://code.google.com/p/chromium/issues/detail?id=136650. Review URL: https://codereview.appspot.com/6345095 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1214 736b8ea6-26fd-11df-bfd4-992fa37f6226
-
- 11 Jul, 2012 1 commit
-
-
daniel@transgaming.com authored
TRAC #21167 ISSUE=338 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1213 736b8ea6-26fd-11df-bfd4-992fa37f6226
-