OSDN Git Service
Nicolas Capens [Mon, 27 Apr 2015 01:34:16 +0000 (18:34 -0700)]
Dispatch EGL entry functions to avoid resolving to the same symbol.
Bug
18752589
Change-Id: I96bbad9ab0593b93b219ec8a769523342497c5da
Reviewed-on: https://swiftshader-review.googlesource.com/2910
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Wed, 29 Apr 2015 00:17:02 +0000 (17:17 -0700)]
Predefine (E)GL export macros.
Bug
18752589
Change-Id: I2a4fad80b433e62131d66f12bab2f73c6b16a9a0
Reviewed-on: https://swiftshader-review.googlesource.com/2962
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Tue, 28 Apr 2015 23:49:59 +0000 (16:49 -0700)]
Prepend entry functions with their export macros.
Change-Id: I81d0021ebce2a2e846988f2cce8a0b78802e58a1
Reviewed-on: https://swiftshader-review.googlesource.com/2961
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Tue, 28 Apr 2015 22:21:53 +0000 (15:21 -0700)]
Combine es2::Image and es1::Image into egl::Image.
Change-Id: Iadd4ce8ac36ad3458741f244423731fa00d7fd84
Reviewed-on: https://swiftshader-review.googlesource.com/2982
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Tue, 28 Apr 2015 22:13:30 +0000 (15:13 -0700)]
Use %p without precision specifier in TRACE() calls.
Bug
20564705
Change-Id: I6c82867a11d7efe54c5d95cd3a4f435cb241f52c
Reviewed-on: https://swiftshader-review.googlesource.com/2986
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Tue, 28 Apr 2015 22:30:28 +0000 (15:30 -0700)]
Fix compilation regression on Linux.
Change-Id: I6534a1cd4fcf935e55a03d81e59ad58cbdbfc4da
Reviewed-on: https://swiftshader-review.googlesource.com/2987
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Fri, 24 Apr 2015 21:25:10 +0000 (17:25 -0400)]
Adding instanced drawing
- Added the ANGLE extension for instance
drawing (GL_ANGLE_instanced_arrays)
- VertexDataManager can now pull data
either from the current attributes
or from the VertexArray object
Change-Id: Id0aa078bf9401e4f3f62594e90908fad98954051
Reviewed-on: https://swiftshader-review.googlesource.com/2946
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
Alexis Hetu [Tue, 28 Apr 2015 14:06:13 +0000 (10:06 -0400)]
VertexArray Object implementation
Added VertexArray.cpp with a few
trivial function implementations.
Change-Id: I9ea0bf47b2c6a1f76392c5fc84837f1778946855
Reviewed-on: https://swiftshader-review.googlesource.com/2984
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Tue, 28 Apr 2015 13:59:09 +0000 (09:59 -0400)]
Constness in Context
Added proper constness to Context getters.
Change-Id: I0495cbe7ab0c9f50d4d9aa3d969507f117539bd8
Reviewed-on: https://swiftshader-review.googlesource.com/2983
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Wed, 22 Apr 2015 12:29:22 +0000 (08:29 -0400)]
TransformFeedback buffer binding
Added get/set functions for binding
a transform feedback buffer.
Change-Id: I409841a35644ff8d5f99c0a6b4c3a43568676822
Reviewed-on: https://swiftshader-review.googlesource.com/2930
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sat, 25 Apr 2015 18:34:50 +0000 (11:34 -0700)]
Fix compilation regression on Linux.
Change-Id: I8a2706ed0cf92bc8841823b181a9f88b819d4337
Reviewed-on: https://swiftshader-review.googlesource.com/2960
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Greg Hartman [Sat, 18 Apr 2015 00:29:14 +0000 (17:29 -0700)]
Initial work to connect gralloc to egl::Image
Change-Id: Ia11a9520bb6525dc367e0b2956850574b29e4796
Reviewed-on: https://swiftshader-review.googlesource.com/2900
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Greg Hartman [Sat, 18 Apr 2015 00:29:14 +0000 (17:29 -0700)]
Fix several compilation warnings.
Change-Id: I6525eab19ebe5a90e8f0fbfbef3d3e2ba2170da9
Reviewed-on: https://swiftshader-review.googlesource.com/2944
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 24 Apr 2015 20:28:12 +0000 (13:28 -0700)]
Initial version of the gralloc module for SwiftShader
Change-Id: Ia092831a101e1916ee5a00c5ce9b607ecb6a9fef
Reviewed-on: https://swiftshader-review.googlesource.com/2945
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Alexis Hetu [Fri, 17 Apr 2015 20:58:45 +0000 (16:58 -0400)]
Adding draw instanced functions
This cl adds the API function
implementations for both the
core OpenGL ES 3.0 functions:
- glDrawArraysInstanced
- glDrawElementsInstanced
and the OpenGL ES 2.0 extensions:
- GL_EXT_draw_instanced
- GL_EXT_instanced_arrays
which include these functions:
- glDrawArraysInstancedEXT
- glDrawElementsInstancedEXT
- glVertexAttribDivisorEXT
Change-Id: I71efdd48087f14fe5e8229c7f6a74e6525921fe3
Reviewed-on: https://swiftshader-review.googlesource.com/2893
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Fri, 10 Apr 2015 18:51:27 +0000 (14:51 -0400)]
Implemented glDrawRangeElements
This function is basically the same as
glDrawElements, except, in Debug, it
returns an error if the draw operation
reads outside of the expected range.
Change-Id: I2472c317eb5d8a1da89c5a76f076fe95adc6789e
Reviewed-on: https://swiftshader-review.googlesource.com/2829
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Mon, 20 Apr 2015 17:50:37 +0000 (13:50 -0400)]
When X11 is unavailable, default to a headless display.
Bug
20104157
Change-Id: Idc6cbadc69921b3fa5c299ffe8ad4d2442d0478f
Reviewed-on: https://swiftshader-review.googlesource.com/2901
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 16 Apr 2015 15:49:11 +0000 (11:49 -0400)]
Assembly output for NxM matrices
Made a few minor changes to adjust for
NxM matrices in assembly output.
Change-Id: I3dde37e0f4bd2623232eebf0dc06182d8071d751
Reviewed-on: https://swiftshader-review.googlesource.com/2863
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Fri, 17 Apr 2015 18:26:07 +0000 (14:26 -0400)]
Connecting the dots for some built-in functions
- Completed implementation of round
and hyperbolic trigonometry operations
- Added a few more cases in op to string
functions
Change-Id: Ic09d228de8e4446a66152b70edc6a6bba511288a
Reviewed-on: https://swiftshader-review.googlesource.com/2891
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 17 Apr 2015 04:44:59 +0000 (21:44 -0700)]
Revise the SwiftShader makefiles to avoid compile errors
We can get intermittent compile errors with the current makefiles because
the same .cpp is built from multiple Android.mk's. The normal way to resolve
this is to use static libraries to hold the common files.
Change-Id: Ifd39809dfac8c96a622b98ef83f31510b34461e4
Reviewed-on: https://swiftshader-review.googlesource.com/2890
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Nicolas Capens [Fri, 17 Apr 2015 20:36:51 +0000 (16:36 -0400)]
Remove -fvisibility=protected from Android.mk files.
It causes Android-GCE to fail to boot.
Change-Id: I7ad8a904ae39bc9d3548969471e5908276508d72
Reviewed-on: https://swiftshader-review.googlesource.com/2892
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 10 Apr 2015 01:48:53 +0000 (18:48 -0700)]
Set up Android-specific debugging
Change-Id: I293568f0d0ee42dd64ee869e3c3ba28810e4883a
Reviewed-on: https://swiftshader-review.googlesource.com/2824
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Nicolas Capens [Fri, 17 Apr 2015 16:40:04 +0000 (12:40 -0400)]
Only load a dependent library when it has an expected symbol.
Bug
18752589
Change-Id: Ic42be261dc101810e6363c4823620d6c827c7975
Reviewed-on: https://swiftshader-review.googlesource.com/2880
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Wed, 15 Apr 2015 03:25:44 +0000 (20:25 -0700)]
Changes to enable compile on Android JellyBean.
Now incorporates "create common V1&v2 code for Android, consolidating image
format handling."
Change-Id: I6312084f1425354b619361929da533aa5ac357e3
Reviewed-on: https://swiftshader-review.googlesource.com/2850
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 16 Apr 2015 15:33:34 +0000 (11:33 -0400)]
New builtin function implementations
A few new OpenGLES3.0 builtin
function are implemented here:
- sinh, cosh, tanh, arcsinh,
arccosh, arctanh
- floatBitsToInt, floatBitsToUInt,
intBitsToFloat, uintBitsToFloat
- round
Change-Id: Ic0edcd80dff2bdded6cd6dccf1e5d4df64c5d8ba
Reviewed-on: https://swiftshader-review.googlesource.com/2862
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 16 Apr 2015 14:38:41 +0000 (10:38 -0400)]
Adding new GLES3.0 builtin functions
This cl simply adds the function signatures,
without any implementation, for the new
GLES 3.0 builtin functions.
Change-Id: Ib67830aedd3c067ca7c16738e4a071547a893321
Reviewed-on: https://swiftshader-review.googlesource.com/2860
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
Alexis Hetu [Tue, 24 Feb 2015 19:33:49 +0000 (14:33 -0500)]
First simplest 3D mipmap implementation
Bug
19126833
Change-Id: Idd67457542deb1408812bce2c796b275a7b19f0e
Reviewed-on: https://swiftshader-review.googlesource.com/2420
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 16 Apr 2015 14:49:45 +0000 (10:49 -0400)]
Adding new glsl interpolation qualifiers
This adds proper handling of the new
interpolation qualifiers "flat" and
"smooth" for glsl in OpenGL ES 3.0.
These aren't implemented yet, they are
simply parsed properly with this cl.
Change-Id: I32aa2ca0f9ddb4c2b1a1e9c5f285a41a1716f4cc
Reviewed-on: https://swiftshader-review.googlesource.com/2861
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Thu, 16 Apr 2015 17:56:32 +0000 (13:56 -0400)]
Remove unnecessary assert.h includes.
Bug
19919781
Change-Id: I3f8e91b2f3ae58fbece0028a00275f0cdb5ed9df
Reviewed-on: https://swiftshader-review.googlesource.com/2870
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Wed, 15 Apr 2015 20:50:21 +0000 (16:50 -0400)]
Access library dependencies through a single object.
Bug
18752589
Change-Id: I93155cead50b30faa876023f9ed00f60b7c9e34e
Reviewed-on: https://swiftshader-review.googlesource.com/2831
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Wed, 15 Apr 2015 19:47:42 +0000 (15:47 -0400)]
Implement glColor4f().
Change-Id: I2afaad1693844292e58180b1dd8ff9bf7b351c44
Reviewed-on: https://swiftshader-review.googlesource.com/2853
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Wed, 15 Apr 2015 14:30:23 +0000 (10:30 -0400)]
Renamed Vector4i to Vector4s
The current Vector4i was a vector of shorts
and OpenGL ES 3.0 actually requires vectors
of ints and uints, so I renamed Vector4i to
Vector4s so that I may later add Vector4i
and Vector4u with the proper internal
representation.
Change-Id: I9d413c459154c7ef9ddafc46b9fb7fa6186633b8
Reviewed-on: https://swiftshader-review.googlesource.com/2851
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Mon, 13 Apr 2015 17:23:20 +0000 (13:23 -0400)]
Completing GLES 3.0 language parser
Added new matrix and sampler types in
glslang parsed files, along with related
code and new types in the C++ code.
Change-Id: Id70c73fac04d000d508236bc9bf1b39a46beda6f
Reviewed-on: https://swiftshader-review.googlesource.com/2826
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Fri, 10 Apr 2015 17:44:36 +0000 (13:44 -0400)]
New Buffers in OpenGL ES 3.0
Added new GLES 3.0 buffers:
- CopyReadBuffer
- CopyWriteBuffer
- PixelPackBuffer
- PixelUnpackBuffer
- UniformBuffer
Added related API function changes.
Note: I left TransformFeedback related buffer
changes out of this cl to avoid clashing with
other ongoing work and to keep this cl short.
Change-Id: Icb96f217e80a38f634c1735931dc37d53810d7f7
Reviewed-on: https://swiftshader-review.googlesource.com/2827
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 9 Apr 2015 14:42:44 +0000 (10:42 -0400)]
Texture Storage for GLES 3.0
Added Texture Storage for both 2D and 3D textures.
A map was added to both verify if the format is
valid and to return a valid type. The type itself
is irrelevant, since there's not data to upload
at this point, but I made sure to return a valid
type nonetheless in order to prevent breaking any
current/future type checks in the code.
Change-Id: I49618c52427c86236afddacc4d57288f465bf971
Reviewed-on: https://swiftshader-review.googlesource.com/2812
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 2 Apr 2015 20:45:59 +0000 (16:45 -0400)]
Added utility function for OpenGL extension strings
The new glGetStringi() function needed to be unified
with glGetString(), so I made a utility function
to make future modifications easy.
Change-Id: I6619d9f99b10d9fc43bd8783a1d50274e2b37a7b
Reviewed-on: https://swiftshader-review.googlesource.com/2797
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Fri, 10 Apr 2015 18:31:01 +0000 (14:31 -0400)]
New VertexAttribute data types
Added int and unsigned int as possible
internal storage types for VertexAttribute
on top of the existing float type by using
a union in order to be able to store the new
VertexAttribute types in their native types.
Change-Id: I5a98aeded065095df6b44fa20f4c293ae230bc37
Reviewed-on: https://swiftshader-review.googlesource.com/2828
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 10 Apr 2015 19:51:26 +0000 (12:51 -0700)]
Remove -g from LDFLAGS.
Changes for b/
20145724
Change-Id: I60164c1f98284bb87c89ffe890ca372ce1e98de6
Reviewed-on: https://swiftshader-review.googlesource.com/2830
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 9 Apr 2015 17:26:14 +0000 (13:26 -0400)]
Transform Feedback and Sampler API Implemented
Implemented API functions related to creating,
binding, deleting or accessing the parameters
of Transform Feedback and Sampler objects.
Change-Id: I267605733758332439addd71c24f5f438d22ba46
Reviewed-on: https://swiftshader-review.googlesource.com/2814
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Mon, 13 Apr 2015 17:27:35 +0000 (13:27 -0400)]
Bump the version number for release.
Change-Id: Ide1dcc27d6382423b65887eccb6660b3ac62ea5c
Reviewed-on: https://swiftshader-review.googlesource.com/2840
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Mon, 13 Apr 2015 07:51:45 +0000 (03:51 -0400)]
Manually load X11 and resolve its symbols when needed.
This removes the static dependency on X11 on Linux, allowing for
headless rendering on systems without it.
Bug
20104157
Change-Id: I463c8b3340c3ad16cd0f0d1d0f8804ee31012dd0
Reviewed-on: https://swiftshader-review.googlesource.com/2832
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 10 Apr 2015 00:57:12 +0000 (17:57 -0700)]
Configure emacs for proper SwiftShader indentation.
Change-Id: Iee73200ecc0f069da908b8cd03a8669a76c19c46
Reviewed-on: https://swiftshader-review.googlesource.com/2823
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Thu, 9 Apr 2015 05:09:38 +0000 (22:09 -0700)]
Add support for missing pixel formats, primarily RGB565.
This is definitely a work-in-progress, but it does improve the maps situation
on L.
Change-Id: Ia09c0647196497290461e602bd9f1bed515d96de
Reviewed-on: https://swiftshader-review.googlesource.com/2821
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Wed, 8 Apr 2015 16:57:16 +0000 (09:57 -0700)]
Treat the call to getIntegerv as a non-error on Android only.
Change-Id: I8aab90d46971bc47ab14a8b3df573637f8a0106f
Reviewed-on: https://swiftshader-review.googlesource.com/2820
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Thu, 2 Apr 2015 19:29:13 +0000 (15:29 -0400)]
Reference count the TLS objects.
Bug
20045861
Change-Id: I4881187cb45b6c818ceca2d950977b3af43443ab
Reviewed-on: https://swiftshader-review.googlesource.com/2795
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Thu, 2 Apr 2015 18:43:13 +0000 (14:43 -0400)]
Refactor GL objects into named and unnamed ones.
Bug
20045861
Change-Id: Ib6a6625d3eb876a1444ae4dab17c6e25246fbc43
Reviewed-on: https://swiftshader-review.googlesource.com/2794
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Thu, 2 Apr 2015 17:18:21 +0000 (13:18 -0400)]
Refactor using concrete EGL object pointers.
Bug
20045861
Change-Id: I3dc737b5cc5759e487245030bfd8d871eacd8124
Reviewed-on: https://swiftshader-review.googlesource.com/2793
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Wed, 1 Apr 2015 20:32:53 +0000 (16:32 -0400)]
Reset TLS when the EGL context is destroyed.
Bug
20045861
Change-Id: I16e76a464f58ffb47ed92374cf9d2aef21cc7603
Reviewed-on: https://swiftshader-review.googlesource.com/2783
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 9 Apr 2015 14:58:55 +0000 (10:58 -0400)]
Fixed object destruction in context
Added proper destruction of new objects recently added to
the context (VerterArray, Sampler and TransformFeedback).
Change-Id: I45a741476d84b74469d5463653eb6a3bb04d501d
Reviewed-on: https://swiftshader-review.googlesource.com/2813
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Wed, 1 Apr 2015 14:27:54 +0000 (07:27 -0700)]
Put debug information into the symbols files
Change-Id: I370f5d2b6b18abefb1ea1c1e02f64e6c50b7c1d2
Reviewed-on: https://swiftshader-review.googlesource.com/2771
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Alexis Hetu [Thu, 2 Apr 2015 19:31:39 +0000 (15:31 -0400)]
Adding new object types for OpenGL ES 3.0
New objects:
- Sampler
- Transform feedback
- Vertex Array
Change-Id: I701ea5fea75b81196290c3bdb3230cd471cc537b
Reviewed-on: https://swiftshader-review.googlesource.com/2796
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 2 Apr 2015 16:02:28 +0000 (12:02 -0400)]
Added more OpenGL ES 3.0 cases in front end
- Added Texture2DArray where Texture3D was present
- Added OpenGL ES 3.0 compressed texture formats
- Used new buffer/texture parameters in setters/getters
- Added new Texture2D formats (mostly sized formats)
- Added missing matrix 2x3 code
- Added some trivial vertex attrib functions
Change-Id: I74913383a5623080a51193975d8b6bc811d06703
Reviewed-on: https://swiftshader-review.googlesource.com/2791
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Tue, 7 Apr 2015 18:48:40 +0000 (14:48 -0400)]
Query objects for OpenGL ES 3.0
Query objects already existed as an extension
for OpenGL ES 2.0, so all that was needed was
to fill in the blanks in the API functions.
Change-Id: I6b48d34bdd8a92e7531bbf6cecb1f4d75b55d144
Reviewed-on: https://swiftshader-review.googlesource.com/2800
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Wed, 1 Apr 2015 17:12:10 +0000 (13:12 -0400)]
Added OpenGL ES 3.0 parameters to buffers and textures
Added parameters to support:
- Mapping a subset of a buffer
- New texture features like swizzling, min/max LOD,
texture comparison modes, etc.
Change-Id: Iffd961a3aeab33cb95892f93d78d3888ce60e401
Reviewed-on: https://swiftshader-review.googlesource.com/2780
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
Nicolas Capens [Wed, 1 Apr 2015 19:59:10 +0000 (15:59 -0400)]
Fix using an alpha-less GL format for Android's RGBX.
Bug
19979126
Change-Id: Ic074079cbe3630751a95ffcc2b2b33700063abcf
Reviewed-on: https://swiftshader-review.googlesource.com/2782
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Ping-Hao Wu <pinghao@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Tue, 31 Mar 2015 23:01:46 +0000 (16:01 -0700)]
On Android: remove fallbacks that can match system libraries
Change-Id: Ieb57c03730387f04a339c2b19a7e59beb4408d19
Reviewed-on: https://swiftshader-review.googlesource.com/2770
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Nicolas Capens [Wed, 1 Apr 2015 14:54:59 +0000 (10:54 -0400)]
Move the code generation mutex to Reactor.
Generation of the routines for copying surfaces and blitting
were not protected by the same critical section as the renderer.
Change-Id: I10eb386bdeebb04abc999b3313dc2c3b52adc090
Reviewed-on: https://swiftshader-review.googlesource.com/2772
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Maxime Gregoire [Wed, 1 Apr 2015 15:45:36 +0000 (11:45 -0400)]
Possibility to call a non-existing display list without error
Change-Id: I13fba44145d378470f2090f7688a8dd68ae56452
Reviewed-on: https://swiftshader-review.googlesource.com/2773
Tested-by: Maxime Grégoire <mgregoire@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Tue, 31 Mar 2015 15:48:57 +0000 (11:48 -0400)]
Replacing numbers by constants
In order to be able to easily modify
values in between OpenGL ES versions,
some constants were added to replace
hardcoded numbers.
Change-Id: Ic35bf8e45341addf5315acaa9ffac01095b8907c
Reviewed-on: https://swiftshader-review.googlesource.com/2761
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
Nicolas Capens [Sun, 29 Mar 2015 04:27:33 +0000 (00:27 -0400)]
Use matching internal and external formats for RGBA8 images.
Change-Id: I056e1a4c7ace83207bed85ce28aca187d72adc6f
Reviewed-on: https://swiftshader-review.googlesource.com/2757
Reviewed-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sun, 29 Mar 2015 02:01:42 +0000 (22:01 -0400)]
Implement glReadPixels() for RGBA formats.
Change-Id: Ia2f7d1db3b2a0f075326c3331125ca347f42932d
Reviewed-on: https://swiftshader-review.googlesource.com/2756
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sun, 29 Mar 2015 01:48:51 +0000 (21:48 -0400)]
Enable using RGBA as internal formats.
Change-Id: Ied6d934f67c05c02bf75e99ab5e58bfd3b9070e6
Reviewed-on: https://swiftshader-review.googlesource.com/2755
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sat, 28 Mar 2015 22:57:56 +0000 (18:57 -0400)]
Implement support for RGBA blitting.
Change-Id: I1ad9fed9aea34cd20f8d78f4d4469c61aeb00ea6
Reviewed-on: https://swiftshader-review.googlesource.com/2753
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sat, 28 Mar 2015 22:54:07 +0000 (18:54 -0400)]
Implement support for RGBA render targets.
Change-Id: I0b903412c86442f3aca5dc454956c8d46b467083
Reviewed-on: https://swiftshader-review.googlesource.com/2752
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sat, 28 Mar 2015 22:44:48 +0000 (18:44 -0400)]
Implement support for RGBA sampling.
Also improve the filtering precision of 3-byte formats.
Change-Id: If314c870735488dfcd22b9ab60b4783e31a4c05b
Reviewed-on: https://swiftshader-review.googlesource.com/2751
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Mon, 30 Mar 2015 14:52:47 +0000 (10:52 -0400)]
Adding uniform related APIs for GLES3
- Added NxM size matrices
- Added unsigned int uniforms
- Removed dead code(packVaryings) in Program
Change-Id: I0ecb47fa468245f60b9aa026d07fa9ed1f871340
Reviewed-on: https://swiftshader-review.googlesource.com/2745
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Sun, 22 Mar 2015 05:45:06 +0000 (22:45 -0700)]
Implement basic ANDROID_image_native_buffer support.
Change-Id: I7e844eb7c313455d48cd2fc09440f10d639b4c77
Reviewed-on: https://swiftshader-review.googlesource.com/2758
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Ping-Hao Wu <pinghao@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Sat, 28 Mar 2015 01:47:49 +0000 (21:47 -0400)]
Implement support for RGBA display formats.
Change-Id: I5d9c9567d6885a2c3bbaf78a821f66f99b1bfcfe
Reviewed-on: https://swiftshader-review.googlesource.com/2750
Reviewed-by: Ping-Hao Wu <pinghao@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Mon, 23 Mar 2015 19:34:43 +0000 (15:34 -0400)]
Adding trace and more verifications to new ES3 APi functions
- Added missing TRACE macros
- Added some trivial verifications in a few more functions
Change-Id: I32762a5caf8ee086ee423ba39a077d3cf3ec543a
Reviewed-on: https://swiftshader-review.googlesource.com/2683
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 27 Mar 2015 18:04:01 +0000 (11:04 -0700)]
Added missing stride value.
Change-Id: I5931d9284e4e4b0649ceb38df6c5947efb1ca7d0
Reviewed-on: https://swiftshader-review.googlesource.com/2741
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Ping-Hao Wu [Thu, 26 Mar 2015 22:44:07 +0000 (15:44 -0700)]
Add missing external texture type to the sampler uniforms.
Change-Id: I6954c992401bca495df3808603fba1bb5ecb8a60
Reviewed-on: https://swiftshader-review.googlesource.com/2740
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Wed, 25 Mar 2015 18:03:21 +0000 (14:03 -0400)]
Implement EGL_SWAP_BEHAVIOR for eglSurfaceAttrib().
SwiftShader currently always preserves the color buffer on eglSwapBuffers,
so both EGL_BUFFER_PRESERVED and EGL_BUFFER_DESTROYED can be used without
real changes.
Change-Id: I55fcd7d4b4211483d8876c15d3d6ea77ea2685e6
Reviewed-on: https://swiftshader-review.googlesource.com/2721
Reviewed-by: Ping-Hao Wu <pinghao@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Fri, 20 Mar 2015 17:34:51 +0000 (13:34 -0400)]
Add a critical section for dynamic code generation.
Bug
19864302
Change-Id: Iaca49fa72146ff35b6f1e5e40ade5cd2c5c48d0e
Reviewed-on: https://swiftshader-review.googlesource.com/2657
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 20 Mar 2015 20:05:34 +0000 (13:05 -0700)]
Android FrameBuffer implementation.
Change-Id: I95356056e7785e2dcfeffa95d4a38cc4e113ec62
Reviewed-on: https://swiftshader-review.googlesource.com/2661
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Nicolas Capens [Wed, 25 Mar 2015 15:05:04 +0000 (11:05 -0400)]
Implement basic GL_OES_draw_texture functionality.
Change-Id: If242cfd4df1a7519152946b3d2364fc180f8ffae
Reviewed-on: https://swiftshader-review.googlesource.com/2720
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Mon, 23 Mar 2015 22:28:19 +0000 (15:28 -0700)]
Turn on tracing on Android by default.
Log errors on UNIMPLEMENTED() rather than aborting.
For now ASSERT() will still abort.
Change-Id: I4db66934d0cd69b557fd2989e0c120a5fa372b99
Reviewed-on: https://swiftshader-review.googlesource.com/2691
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 20:15:56 +0000 (13:15 -0700)]
dlopen() has no NO_LOAD option before Android L.
This change could result in multiple instances of the shared library being
loaded when using alternate paths. This will be addressed by b/
18752589.
Change-Id: Icf26a0c6f76edfd4f1c710e14f1005138d97e77a
Reviewed-on: https://swiftshader-review.googlesource.com/2664
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Nicolas Capens [Tue, 24 Mar 2015 20:59:26 +0000 (16:59 -0400)]
Implement glTexEnvx().
All current texture environment parameters are integer, so just pass them
through to glTexEnvi().
Change-Id: I2f1abea0d6da0e76b7ef305588ffc65fead32502
Reviewed-on: https://swiftshader-review.googlesource.com/2701
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Tue, 24 Mar 2015 20:37:08 +0000 (16:37 -0400)]
Implement glTexParameterx().
All current texture parameters are integer, so just pass them through to
glTexParameteri().
Change-Id: Ic4042b26b31194916af7814cabf2eb0d22c76ecb
Reviewed-on: https://swiftshader-review.googlesource.com/2710
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Tue, 24 Mar 2015 20:06:53 +0000 (16:06 -0400)]
Implement glShadeModel() for OpenGL ES 1.1.
Change-Id: I9b360f92c0b93a854abfd686cdcdd9b2a1dd6a13
Reviewed-on: https://swiftshader-review.googlesource.com/2700
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 20 Mar 2015 20:25:37 +0000 (13:25 -0700)]
Add support for Android window size.
Change-Id: Ib96c227367fe10890e576bf99a654b50fa9e06c4
Reviewed-on: https://swiftshader-review.googlesource.com/2671
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Greg Hartman [Fri, 20 Mar 2015 20:29:14 +0000 (13:29 -0700)]
Update paths for the Android shared libraries
Change-Id: I41f663cc72709300ef59c1663ff0e44555afede8
Reviewed-on: https://swiftshader-review.googlesource.com/2672
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Greg Hartman [Mon, 23 Mar 2015 22:10:11 +0000 (15:10 -0700)]
Pull in a #include to get std::size_t for Android GCE K
Change-Id: Ia2e2550fd333a3fd221ff4f8a5f46c215ca66be3
Reviewed-on: https://swiftshader-review.googlesource.com/2690
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Greg Hartman [Sun, 22 Mar 2015 19:12:22 +0000 (12:12 -0700)]
Connect tracing and logcat
Change-Id: Icb27a7f83b44a1081cae2db15ac43c025a4d04fc
Reviewed-on: https://swiftshader-review.googlesource.com/2681
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Nicolas Capens [Fri, 13 Mar 2015 21:59:58 +0000 (17:59 -0400)]
Work around non-compliant behavior for Google Maps.
Bug
18703920
Change-Id: Ifde19f323e4025e2fd2ce24056e38073e373feb3
Reviewed-on: https://swiftshader-review.googlesource.com/2300
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Mon, 23 Mar 2015 20:47:22 +0000 (16:47 -0400)]
Enable the use of samplerExternalOES.
Change-Id: Iabafc06d073c99f9cc5b2c62ed83eff4862bc2cc
Reviewed-on: https://swiftshader-review.googlesource.com/2684
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Tue, 10 Mar 2015 19:04:37 +0000 (12:04 -0700)]
Ignore files generated by Code::Blocks
Change-Id: I8a5763e8c0fbc2ce788871c18e36f2af7768832c
Reviewed-on: https://swiftshader-review.googlesource.com/2540
Tested-by: Ping-Hao Wu <pinghao@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Fri, 20 Mar 2015 20:21:57 +0000 (13:21 -0700)]
Wait for threads to exit when destroying them.
Bug
19868861
Android does not support canceling threads, but we shouldn't forcefully
destroy them anyway, and we already join() all threads before deleting
them. So use the same semantics on all platforms and join redundantly.
Change-Id: I888e2e64288cf3ac53d570d517f3e0867b8c479e
Reviewed-on: https://swiftshader-review.googlesource.com/2667
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 20 Mar 2015 20:24:30 +0000 (13:24 -0700)]
Indicate support for Android EGL surface config attributes.
Change-Id: Id26f96448c976bedab200713cefa168747251211
Reviewed-on: https://swiftshader-review.googlesource.com/2670
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Mon, 23 Mar 2015 05:56:39 +0000 (01:56 -0400)]
Use sched_yield() instead of pthread_yield().
pthread_yield() is non-standard and not available on Android.
shed_yield() is a POSIX standard function.
Change-Id: I093047031dd0b35a28724540aaddeb3f5ba849bc
Reviewed-on: https://swiftshader-review.googlesource.com/2682
Tested-by: Nicolas Capens <capn@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 20:06:11 +0000 (13:06 -0700)]
LLVM configuration for Android builds.
Change-Id: I788c00ebeef3fa472ebe157cb1cd783a6571b95c
Reviewed-on: https://swiftshader-review.googlesource.com/2662
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 20:07:32 +0000 (13:07 -0700)]
Android's Bionic doesn't support std::sprintf.
Even though the Windows COFF format should not be needed at all on Android,
the dependencies on this file are too entangled.
Change-Id: I7561a1a037cbc8841a6991b5f3beee3a059ad89d
Reviewed-on: https://swiftshader-review.googlesource.com/2663
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 20 Mar 2015 20:04:51 +0000 (13:04 -0700)]
Makefiles for Android integration.
Change-Id: I0bca36fe330c910dc19c12673846797b6cb4aeea
Reviewed-on: https://swiftshader-review.googlesource.com/2660
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Nicolas Capens [Fri, 20 Mar 2015 20:23:01 +0000 (13:23 -0700)]
Remove symbols not available on Android
Change-Id: I35296240662157fb4d0172fd386d82ab038634ca
Reviewed-on: https://swiftshader-review.googlesource.com/2668
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Greg Hartman [Fri, 20 Mar 2015 20:23:26 +0000 (13:23 -0700)]
Remove uninformative error message details on division by zero.
Android does not support operator<< for long long. Instead of trying to use a
supported type, we noticed that this error adds very little value so remove it
wholesale.
Change-Id: Id0c15a24f7a609bb6e61a4d0b9816eec80ffc1cf
Reviewed-on: https://swiftshader-review.googlesource.com/2669
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 20:21:28 +0000 (13:21 -0700)]
Add missing virtual destructors.
Polymorphic classes should have virtual destructors.
Change-Id: Ia3c8e48b43ff96df9b9db2e4742fabcbd13ee853
Reviewed-on: https://swiftshader-review.googlesource.com/2666
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 20:19:01 +0000 (13:19 -0700)]
Added missing header
Change-Id: Ibc44597e6c4c07686dfc775cff9877e417c66542
Reviewed-on: https://swiftshader-review.googlesource.com/2665
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 15:41:49 +0000 (11:41 -0400)]
Use a string format for safer printing.
The string was directly used as the string format, which would have caused
printf to expect additional arguments when it contains formatting elements.
Bug
18720257
Change-Id: Ie4391097e58d4cab2793a05eda2b03acd02d7f22
Reviewed-on: https://swiftshader-review.googlesource.com/2656
Reviewed-by: Greg Hartman <ghartman@google.com>
Tested-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Ping-Hao Wu [Fri, 20 Mar 2015 15:10:11 +0000 (11:10 -0400)]
Remove unnecessary <exception> includes.
Bug
18720257
Change-Id: I33917bedd2861b64ca0480b66861b2a25451188c
Reviewed-on: https://swiftshader-review.googlesource.com/2655
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
Alexis Hetu [Thu, 12 Mar 2015 21:33:07 +0000 (17:33 -0400)]
Implement simple OpenGL ES 3.0 parameter checks
Added some "low hanging fruit" implementations and quick validation
checks for a portion of the GLES 3.0 API functions.
Change-Id: I003031091bc2c2c32919896e86e38b5f1f43c555
Reviewed-on: https://swiftshader-review.googlesource.com/2610
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>