Commit Graph

  • ba2cfe7cc7 Moved the definition of max-token length from preprocessor to compiler. Alok Priyadarshi 2013-08-14 16:57:56 -07:00
  • 76985f3ca0 Expose varying variables and also precision for all variables. Zhenyao Mo 2013-08-14 14:36:08 -07:00
  • 3cf1f4eac8 add TRACE_EVENT to ANGLE (reland) Al Patrick 2013-08-14 12:35:35 -07:00
  • d03104370d Fixed a bug where the frontFace shader constant would not be updated if the drawMode or frontFace changed but not the viewport. Geoff Lang 2013-08-14 12:28:33 -04:00
  • de14d6070d Fixed a bug where the frontFace shader constant would not be updated if the drawMode or frontFace changed but not the viewport. Geoff Lang 2013-08-14 12:28:33 -04:00
  • 7ecdd3d892 Revert "Eliminate bitfield enum members." Shannon Woods 2013-08-14 10:28:50 -04:00
  • b0c3137da3 Ignore files generated by GYP. Alok Priyadarshi 2013-08-13 15:09:00 -07:00
  • e06002a4e7 Fixed error message for exceeding maximum struct nesting. Alok Priyadarshi 2013-08-13 14:35:34 -07:00
  • feaaae2827 Revert "Add TRACE_EVENT support to ANGLE" Shannon Woods 2013-08-13 16:53:16 -04:00
  • 686eb7d5fa Print token string into the syntax error message. Alok Priyadarshi 2013-08-13 11:11:02 -07:00
  • 23c8169f50 Add support for GL_NUM_EXTENSIONS. Geoff Lang 2013-08-12 10:46:58 -04:00
  • 889f9d7185 Add TRACE_EVENT support to ANGLE Shannon Woods 2013-08-12 14:15:33 -04:00
  • d206c85e27 Eliminate bitfield enum members. Nicolas Capens 2013-08-12 11:21:19 -04:00
  • 56702e6d60 Eliminate bitfield enum members. Nicolas Capens 2013-08-12 11:10:06 -04:00
  • afcb765335 Removed checks for DXGI_FORMAT_R32G32B32_FLOAT support since GL_RGB32F is converted to DXGI_FORMAT_R32G32B32A32_FLOAT. Geoff Lang 2013-08-09 15:35:44 -04:00
  • 5724442b51 Removed checks for DXGI_FORMAT_R32G32B32_FLOAT support since GL_RGB32F is converted to DXGI_FORMAT_R32G32B32A32_FLOAT. Geoff Lang 2013-08-09 15:35:44 -04:00
  • 34dbb6f5ed Capitalized the first letter of all validation function names. Geoff Lang 2013-08-05 15:05:47 -04:00
  • e8ebe7f6ec Refactored entry point validation functions into their own files. Geoff Lang 2013-08-05 15:03:13 -04:00
  • 5b61c69666 Load 1 into the alpha channel of RGB integer formats instead of 0. Geoff Lang 2013-08-02 15:02:59 -04:00
  • 7e9ee232eb Add GL_DEPTH_STENCIL_ATTACHMENT attachment handling to glFramebufferRenderbuffer. Geoff Lang 2013-08-05 10:18:42 -04:00
  • 444419fdad Fixed the rounding of the source lookup in Blit11's copy depth stencil. Geoff Lang 2013-08-05 14:15:41 -04:00
  • 4150b35bfe Fixed ES3 incorreclty not allowing 2D array textures to accept depth stencil formats. Geoff Lang 2013-08-05 14:14:43 -04:00
  • e836cf2a9d Fixed a bug where height was used instead of width to calculate a mip size. Geoff Lang 2013-08-05 14:12:37 -04:00
  • ed573c25be Fixed a bug where the parameters to gl::GetDepthPitch were passed in the wrong order. Geoff Lang 2013-08-05 14:11:51 -04:00
  • 2a353a75aa Split the overflow check into explicit multiplication and addition overflow checks. Geoff Lang 2013-08-06 10:41:05 -04:00
  • 662c3afa39 Change the offset variable to an unsigned int since it cannot be negative and is assigned to streamOffset which is an unsigned int. Geoff Lang 2013-08-06 10:43:14 -04:00
  • fdf0694845 Split the overflow check into explicit multiplication and addition overflow checks. Geoff Lang 2013-08-06 10:41:05 -04:00
  • b23fc0916d Change the offset variable to an unsigned int since it cannot be negative and is assigned to streamOffset which is an unsigned int. Geoff Lang 2013-08-06 10:43:14 -04:00
  • 78568ba9e5 Releases a resource that was leaking. Shannon Woods 2013-08-08 14:15:08 -04:00
  • 23307051b9 Releases leaking resource Shannon Woods 2013-08-08 13:51:47 -04:00
  • f55c5a983f Bump version.h. Al Patrick 2013-08-07 13:01:11 -07:00
  • c4b81a9d43 Presort reverse mapping of ProgramBinary::mSemanticIndex. Al Patrick 2013-08-07 12:58:57 -07:00
  • 9edebd6828 Implement mipmapping for integer samplers. Nicolas Capens 2013-08-06 10:59:10 -04:00
  • c7de4feb6b Fix additional overflow and underflow issues with triangle fans and line loops. chrome_m29 Geoff Lang 2013-07-31 17:01:58 -04:00
  • d20ca42cf0 Merge branch 'chrome_m29' of http://code.google.com/p/angleproject into chrome_m29 Al Patrick 2013-08-05 13:37:10 -07:00
  • 0fe1949dc0 Updated gl::IsInternalTextureTarget to have a client version parameter. Geoff Lang 2013-07-25 17:04:31 -04:00
  • 3ed0c4848a Refactored validation for glFramebufferTexture* and implemented glFramebufferTextureLayer. Geoff Lang 2013-07-25 17:03:18 -04:00
  • d5d8e393a7 Added Renderbuffers for 3D and 2DArray textures. Geoff Lang 2013-07-25 16:53:03 -04:00
  • 8040f57dd7 Updated Renderbuffers, Textures and TextureStorageInterface to be aware of render targets which are based on miplevels and layers other than zero. Geoff Lang 2013-07-25 16:49:54 -04:00
  • 309c92aa2a Framebuffer now uses mip level and texture layer for binding textures. Geoff Lang 2013-07-25 16:23:19 -04:00
  • 4907f2c4c0 The Texture class now stores the target instead of using a virtual method. Geoff Lang 2013-07-25 12:53:57 -04:00
  • c90d73a06e Added a new type of binding pointer for framebuffer texture bindings which stores type, mip level and layer. Geoff Lang 2013-07-22 16:39:23 -04:00
  • a49a9bf984 Removes auto from compiler. Shannon Woods 2013-08-02 17:23:14 -04:00
  • a36ead4a7d Updated VertexBuffer's getSpaceRequired and storeVertexAttributes methods to return bools and fixed some validation of parameters to prevent under and overflows. Geoff Lang 2013-08-02 11:54:08 -04:00
  • af88d7290a Fix assert side-effects. Nicolas Capens 2013-08-02 16:56:32 -04:00
  • f3fc6571dc Updated VertexBuffer's getSpaceRequired and storeVertexAttributes methods to return bools and fixed some validation of parameters to prevent under and overflows. Geoff Lang 2013-08-02 11:54:08 -04:00
  • 9b8f92ea05 Remove uses of the HASH_MAP define since unordered_map is already used in several places. Geoff Lang 2013-07-30 15:23:30 -04:00
  • ea2286352f Use SafeRelease and SafeDelete to make sure released objects are NULL and will cause proper errors if referenced again. Geoff Lang 2013-07-30 15:17:12 -04:00
  • 7dca186668 Initialize the vertex current value data. Geoff Lang 2013-07-30 16:30:46 -04:00
  • d21656c1fb Fixed uninitialized local variable warning. Geoff Lang 2013-08-02 11:45:23 -04:00
  • b93f84acde Made multiple calls to ShInitialize not assert. Alok Priyadarshi 2013-08-01 16:02:39 -07:00
  • 0b78533f96 Fix additional overflow and underflow issues with line loops. Geoff Lang 2013-07-31 17:40:12 -04:00
  • 57e713e87c Fix additional overflow and underflow issues with triangle fans and line loops. Geoff Lang 2013-07-31 17:01:58 -04:00
  • f1e1c1e43f Fix additional overflow and underflow issues with triangle fans and line loops. Geoff Lang 2013-07-31 17:01:58 -04:00
  • 1294924fa0 Fixed a bug where cube depth stencils used the wrong format and didn't set the D3D11_DEPTH_STENCIL_VIEW_DESC::Flags member. Geoff Lang 2013-07-29 15:22:42 -04:00
  • 688f78a6c1 Fixed memory leak associated with TLS. Alok Priyadarshi 2013-07-29 16:32:36 -07:00
  • 55ba29c54f Implement the DEPTH_STENCIL attachment point for FBOs. Geoff Lang 2013-07-11 16:57:53 -04:00
  • 1c3192efe2 Emulate RGB32F textures with DXGI_FORMAT_R32G32B32A32_FLOAT so that sampling is always supported. Geoff Lang 2013-07-22 13:59:24 -04:00
  • 07dd3ea661 Remove use of C++11 feature (auto keyword). Al Patrick 2013-07-26 15:23:48 -07:00
  • 39da0844b9 Bump version.h. Al Patrick 2013-07-26 14:45:12 -07:00
  • e05daf7d06 Bump version.h. Al Patrick 2013-07-26 14:33:48 -07:00
  • bb1d5afcef Bump version.h Al Patrick 2013-07-26 14:32:26 -07:00
  • 919f9049bc Bump ANGLE version. Geoff Lang 2013-07-26 17:23:05 -04:00
  • c21954a911 Bump ANGLE version. Geoff Lang 2013-07-26 17:22:32 -04:00
  • f23eb28c3a Cache the index ranges at the gl::Buffer and rx::IndexBuffer levels so that ranges do not need to be re-calculated for direct buffers. Geoff Lang 2013-07-22 10:52:19 -04:00
  • 4d782730ae RenderTarget11::get* calls no longer add references to the D3D resources. Geoff Lang 2013-07-22 10:44:18 -04:00
  • 4c09586e7c Cache applied primitive topology. Geoff Lang 2013-07-22 10:43:36 -04:00
  • c6354ee588 Cache applied constant buffers. Geoff Lang 2013-07-22 10:40:07 -04:00
  • 1f53cab03d Cache applied vertex buffers and input layout. Geoff Lang 2013-07-22 10:37:22 -04:00
  • 95c37cbdb9 Cache the index ranges at the gl::Buffer and rx::IndexBuffer levels so that ranges do not need to be re-calculated for direct buffers. Geoff Lang 2013-07-19 13:41:05 -04:00
  • 07b87fa35e RenderTarget11::get* calls no longer add references to the D3D resources. Geoff Lang 2013-07-22 12:20:52 -04:00
  • 93a5ce9605 Cache applied primitive topology. Geoff Lang 2013-07-22 12:20:03 -04:00
  • a6abd8914f Cache applied constant buffers. Geoff Lang 2013-07-22 12:19:28 -04:00
  • b312b1c6bf Cache applied vertex buffers and input layout. Geoff Lang 2013-07-22 12:18:39 -04:00
  • b7797e7eaf Protect against integer overflows in the IndexBuffer class by validating that the new write position will not overflow. Geoff Lang 2013-07-09 16:02:30 -04:00
  • 26b4b730e4 Protect against integer overflows in the VertexBuffer class by validating the reserved space. Geoff Lang 2013-07-09 15:58:36 -04:00
  • 8f037985d7 Protect against integer overflows when generating index buffers for line loop and triangle fan drawing. unknown 2013-07-09 15:55:07 -04:00
  • 5ccc6248cb Add a missing case to build manged names of uint types. Jamie Madill 2013-07-26 13:14:54 -04:00
  • 3641b4b139 Provide a pass-through mechanic for the new ES3 Query methods to use the old ES2 query extension. Jamie Madill 2013-07-26 12:54:59 -04:00
  • 5215e1a12a Implement the API entry points for fence sync objects in GLES 3. Jamie Madill 2013-07-26 11:55:19 -04:00
  • cd055f81f9 Add state for the new fence sync objects in ES3. Jamie Madill 2013-07-26 11:55:15 -04:00
  • be26b522bb Make a slight style change to clarify that VAOs are not stored in the ResourceManager. Jamie Madill 2013-07-26 11:54:50 -04:00
  • 33dc84394b Rename the old Fence class and associated methods to show an NV suffix, for differentiation with ES3 fences sync objects. Jamie Madill 2013-07-26 11:55:05 -04:00
  • fb9a740951 Move the API parameter validation out of Fence.cpp to libGLESv2.cpp. Jamie Madill 2013-07-26 11:55:01 -04:00
  • 09752369e8 Move the GL_NV_fence-specific stuff stuff out of the Fence implementation class to gl::Fence. Jamie Madill 2013-07-26 11:54:57 -04:00
  • ac4109a39d Fixes handling in eglMakeCurrent to allow for null displays. Shannon Woods 2013-07-24 19:11:23 -04:00
  • 5b3f92177f Uses R32G32B32A32_FLOAT textures to emulate RGB32F Shannon Woods 2013-07-24 19:08:02 -04:00
  • ba6944849a Fixes handling in eglMakeCurrent to allow for null displays. Shannon Woods 2013-07-24 18:45:24 -04:00
  • 2ccad0643a Replace the logic for doing vector and matrix equivalence tests in the shader with a much simpler formula. Jamie Madill 2013-07-17 16:16:50 -04:00
  • 74fe3199d7 Fix handling of null displays in eglMakeCurrent Shannon Woods 2013-07-24 19:04:28 -04:00
  • 82ff2b36b6 Diverges version for ES3 ANGLE Shannon Woods 2013-07-19 17:16:56 -04:00
  • 9ccc7e5816 Remove some accidentally committed compiled shaders. Jamie Madill 2013-07-19 17:06:04 -04:00
  • f6cc8ccfc4 Implement support all sampler object associated GLES 3 API entry points. Jamie Madill 2013-07-03 12:44:15 -04:00
  • fb8a830e83 Add a helper method to return the selected texture for the TexParameter* and GetTexParameter* family of functions. Jamie Madill 2013-07-03 14:24:12 -04:00
  • 478fdb2b88 Refactor the validation logic for the TexParameter* series of API entry points to use the same shared method. Jamie Madill 2013-07-19 16:36:59 -04:00
  • 9675b80889 Add internal accessor functions for querying sampler object parameters. Jamie Madill 2013-07-19 16:36:59 -04:00
  • a85f6f13c6 Use the currently bound sampler object combined with the internal texture state to determine the current filtering and address modes at draw time. Jamie Madill 2013-07-19 16:36:59 -04:00
  • f898990d68 Pass a SamplerState as a parameter to Texture::isSamplerComplete, instead of using the internal SamplerState. Jamie Madill 2013-07-19 16:36:58 -04:00
  • 07edd4486c Change the checks for texture completeness in Texture*::copySubImage to only check if the specified level is complete. Jamie Madill 2013-07-19 16:36:58 -04:00
  • eb3665c2ec Do not check the texture's filtering mode in Texture*::updateTexture, instead check the texture's dirty flags. Jamie Madill 2013-07-19 16:36:57 -04:00