Commit Graph

174 Commits

Author SHA1 Message Date
Xavier Ducrohet
aea732c8d6 Merge branch 'readonly-p4-master' 2009-04-18 21:43:30 -07:00
Dirk Dougherty
ec199f6634 Merge branch 'readonly-p4-master' 2009-04-18 21:11:00 -07:00
Dirk Dougherty
cbf8225789 Merge branch 'readonly-p4-master' 2009-04-18 21:08:19 -07:00
Scott Main
ac08d9c38b Merge branch 'readonly-p4-master' 2009-04-18 16:14:56 -07:00
Scott Main
4bb4aab510 Merge branch 'readonly-p4-master' 2009-04-18 16:12:09 -07:00
Guang Zhu
d0604d37af Merge branch 'readonly-p4-master' 2009-04-18 15:58:39 -07:00
Ramanan Rajeswaran
53d361410d Merge branch 'readonly-p4-master' 2009-04-18 15:29:04 -07:00
Android (Google) Code Review
c5a8dd2f82 Merge change 271
* changes:
  Manually merge 129, 174, and 233 from donut
2009-04-17 11:04:03 -07:00
Jack Palevich
412f38f270 Manually merge 129, 174, and 233 from donut
This adds a static OpenGL ES API.

Here are the three commit messages for the original changes:

Clean up trivial Eclipse warnings and fix whitespace.

Added @Override to overridden methods.
Removed unused imports.
Converted tabs to spaces.
Removed \r characters from end-of-lines.
Add .gitignore file to ignore the .class files that are
generated when the "gen" script is run.

This is the 2nd commit message:

Improve glgen

+ gen script is really a bash script rather than a sh script,
  so declare that to be true. (For example, it uses pushd,
  which is a part of bash, but not a part of sh. Not sure
  how this worked until now. Possibly gen was only run in
  environments where /bin/sh was really bash.

+ Check the results of the java compile of the code generator,
  and abort the script if the compile fails.

+ Turn on the bash shell option that guards against using
  uninitialized variables in the script.

+ Remove the generated class files.

Refactor JniCodeEmitter into two classes: a general-purpose
JniCodeEmitter and a specific Jsr239CodeEmitter. The hope is
to use JniCodeEmitter as a base for emitting static OpenGL ES
bindings.

This is the 3rd commit message:

Add an Android-specific static OpenGL ES 1.1 Java API.

This change adds four new public classes that expose a static OpenGL ES 1.1 API:

	android.opengl.GLES10
	android.opengl.GLES10Ext
	android.opengl.GLES11
	android.opengl.GLES11Ext

Benefits:

 + The static API is slightly faster (1% to 4%) than the existing Interface based JSR239 API.
 + The static API is similar to the C API, which should make it easier to import C-based
   example code.
 + The static API provides a clear path for adding new OpenGL ES 1.1 extensions
   and OpenGL ES 2.0 APIs, neither of which currently have a JSR standard.

Example:

  import static android.opengl.GLES10.*;

  ...

  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

Note that it is possible to mix-and-match calls to both the static and JSR239 APIs.
This works because neither API maintains state. They both call through to the same underlying
C OpenGL ES APIs.

Implementation details:

This change enhances the "glgen" "gen" script to generate both the original JSR239 and
new static OpenGL ES APIs. The contents of the generated JSR239 classes remained the same as before,
so there is no need to check in new versions of the generated JSR239 classes.

As part of this work the gen script was updated to be somewhat more robust, and to
work with git instead of perforce. The script prints out commands to git add the generated files,
but leaves it up to the script runner to actually execute those commands.
2009-04-17 10:32:56 -07:00
Android (Google) Code Review
f8c4464414 Merge change 164
* changes:
  Use lower case mime type, encoding, and transfer encoding.
2009-04-17 05:26:25 -07:00
Ramanan Rajeswaran
519b9c52c1 Merge branch 'readonly-p4-master' 2009-04-16 12:48:12 -07:00
Ramanan Rajeswaran
3628d1d00d Merge branch 'readonly-p4-master' 2009-04-16 12:42:17 -07:00
Scott Main
19caa910f3 Merge branch 'readonly-p4-master' 2009-04-16 11:43:01 -07:00
Android (Google) Code Review
afac476f5b Merge changes 222,223,227
* changes:
  update onCreate method to work around InstrumentationTestRunner limitation.
  Removing unused StreamPipe class, also stripping some white spaces
  * Update the way that run_page_cycler.py detectes instrumentation failures. * Use Debug.getMemoryInfo to collect memory information in LoadTestAutoTest.
2009-04-16 11:12:33 -07:00
Android (Google) Code Review
4f33a4c871 Merge change 219
* changes:
  Fix a null pointer exception in DumpRenderTree (issue 1792567)
2009-04-16 11:11:14 -07:00
Robert Greenwalt
fd25425797 Merge branch 'readonly-p4-master' 2009-04-16 11:07:25 -07:00
Ramanan Rajeswaran
225b75ca30 Merge branch 'readonly-p4-master' 2009-04-16 10:49:44 -07:00
Android (Google) Code Review
5c6e70f655 Merge change 195
* changes:
  Make webkit's cursor draw at the correct times.
2009-04-16 06:21:10 -07:00
Eric Shienbrood
af43695f97 Merge branch 'readonly-p4-master' 2009-04-15 06:59:53 -07:00
Eric Shienbrood
240a001160 Merge branch 'readonly-p4-master' 2009-04-14 15:41:38 -07:00
Yu Shan Emily Lau
7b624ffa05 Merge branch 'readonly-p4-master' 2009-04-14 14:33:23 -07:00
Dan Bornstein
a2aef005fc Merge branch 'readonly-p4-master' 2009-04-14 12:42:22 -07:00
Brett Chabot
7d6daac1a1 Merge branch 'readonly-p4-master' 2009-04-14 12:39:37 -07:00
Lorenzo Colitti
4680ab625f Merge branch 'readonly-p4-master' 2009-04-14 12:10:26 -07:00
Leon Scroggins
56eccb2855 Merge commit 'goog/master' 2009-04-14 12:06:19 -07:00
Android (Google) Code Review
11b61b471f Merge change 79
* changes:
  Squashed commit of the following:
2009-04-14 11:54:14 -07:00
Leon Scroggins
b52d5323ea Merge branch 'readonly-p4-master' 2009-04-14 11:07:14 -07:00
Jeffrey Sharkey
cdda14a60c Merge branch 'readonly-p4-master' 2009-04-13 16:58:42 -07:00
Dianne Hackborn
7a8e25ab11 Merge branch 'readonly-p4-master' 2009-04-13 16:55:10 -07:00
Dirk Dougherty
c11ebc3cd3 Merge branch 'readonly-p4-master' 2009-04-13 16:52:33 -07:00
Dianne Hackborn
75d2f0da2c Merge branch 'readonly-p4-master' 2009-04-13 16:13:37 -07:00
Dianne Hackborn
2f6d881687 AI 145994: Integrate #145778 from Donut.
Automated import of CL 145994
2009-04-13 16:11:55 -07:00
Grace Kloba
6c7aa8d6b8 Merge branch 'readonly-p4-master' 2009-04-13 14:05:40 -07:00
Patrick Scott
bcf27e3ee8 Merge branch 'readonly-p4-master' 2009-04-13 09:59:09 -07:00
Feng Qian
26945b419b Merge branch 'readonly-p4-master' 2009-04-10 18:12:55 -07:00
Jack Palevich
34a85cc7c0 Merge branch 'readonly-p4-master' 2009-04-09 19:54:37 -07:00
Jack Palevich
eafa04c90d Merge branch 'readonly-p4-master' 2009-04-09 19:41:44 -07:00
Fred Quintana
002c054d61 Merge branch 'readonly-p4-master' 2009-04-09 15:07:04 -07:00
Jack Palevich
8386075e62 Merge branch 'readonly-p4-master' 2009-04-09 15:04:22 -07:00
Jack Palevich
3986a024cf Merge branch 'readonly-p4-master' 2009-04-09 14:55:24 -07:00
Eric Fischer
ec2d5b75a2 Merge branch 'readonly-p4-master' 2009-04-09 14:33:10 -07:00
Nick Pelly
078edfb6ba Merge branch 'readonly-p4-master' 2009-04-08 19:24:05 -07:00
Romain Guy
82734d92a0 Merge branch 'readonly-p4-master' 2009-04-08 19:21:21 -07:00
Fred Quintana
57fb1cba52 Merge branch 'readonly-p4-master' 2009-04-08 19:16:09 -07:00
Android (Google) Code Review
d83eaa0d31 Merge change 54
* changes:
  Revert "Enable OpenCORE on master - part 1"
2009-04-08 17:02:55 -07:00
Android (Google) Code Review
f968f2de31 Merge change 53
* changes:
  Revert "Changes required to accommodate OpenCORE 2.0"
2009-04-08 16:59:58 -07:00
Cynthia Wong
5ef76a0245 Merge branch 'readonly-p4-master' 2009-04-08 13:33:32 -07:00
Fred Quintana
4248a4e776 Merge branch 'readonly-p4-master' 2009-04-08 00:39:52 -07:00
Andy McFadden
e9e210781e Merge branch 'readonly-p4-master' 2009-04-08 00:37:08 -07:00
Eric Fischer
fb21b9565e Merge branch 'readonly-p4-master' 2009-04-08 00:31:50 -07:00