Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: native_client_sdk/src/doc/devguide/coding/3D-graphics.rst

Issue 488133003: Second batch of corrections for incorrect paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix more paths. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/doc/devguide/coding/3D-graphics.rst
diff --git a/native_client_sdk/src/doc/devguide/coding/3D-graphics.rst b/native_client_sdk/src/doc/devguide/coding/3D-graphics.rst
index 44c08c00fdd8ec557b7d84a6330159ba40f46965..6bd800ba4d4521dbf7c7164acadb01556d15c4d2 100644
--- a/native_client_sdk/src/doc/devguide/coding/3D-graphics.rst
+++ b/native_client_sdk/src/doc/devguide/coding/3D-graphics.rst
@@ -507,13 +507,13 @@ Don'ts
``GL_ARRAY_BUFFER`` and ``GL_ELEMENT_ARRAY_BUFFER``, but that would be
expensive overhead and it is not recommended.
-* **Don't call ``glGet*`` or ``glCheck*`` during rendering.** This is normal
+* **Don't call glGet* or glCheck* during rendering.** This is normal
advice for OpenGL programs, but is particularly important for 3D on
Chrome. Calls to any OpenGL ES 2.0 function whose name begins with these
strings blocks the Native Client thread. This includes ``glGetError``; avoid
calling it in release builds.
-* **Don't use fixed point (``GL_FIXED``) vertex attributes.** Fixed point
+* **Don't use fixed point (GL_FIXED) vertex attributes.** Fixed point
attributes are not supported in OpenGL ES 2.0, so emulating them in OpenGL ES
2.0 is slow. By default, ``GL_FIXED`` support is turned off in the Pepper 3D
API.
@@ -525,6 +525,6 @@ Don'ts
``glSubBufferData`` for example) the entire buffer must be reprocessed. To
avoid this problem, keep static and dynamic data in different buffers.
-* **Don't call ``glDisable(GL_TEXTURE_2D)``.** This is an OpenGL ES 2.0
+* **Don't call glDisable(GL_TEXTURE_2D).** This is an OpenGL ES 2.0
error. Each time it is called, an error messages will appear in Chrome's
``about:gpu`` tab.

Powered by Google App Engine
This is Rietveld 408576698