code
stringlengths
1
2.06M
language
stringclasses
1 value
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ShaderCache: Defines rx::ShaderCache, a cache of Direct3D shader objects // keyed by their byte code. #ifndef LIBGLESV2_RENDERER_SHADER...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // renderer9_utils.h: Conversion functions and other utility routines // specific to the D3D9 renderer #ifndef LIBGLESV2_RENDERER_RE...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexBuffer11.cpp: Defines the D3D11 VertexBuffer implementation. #include "libGLESv2/renderer/VertexBuffer11...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Renderer11.cpp: Implements a back-end specific class for the D3D11 renderer. #include "libGLESv2/main.h" ...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderTarget11.cpp: Implements a DX11-specific wrapper for ID3D11View pointers // retained by Renderbuffers. #...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // generatemip.h: Defines the GenerateMip function, templated on the format // type of the image for which mip levels are being genera...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Indexffer9.cpp: Defines the D3D9 IndexBuffer implementation. #include "libGLESv2/renderer/IndexBuffer9.h"...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Image11.h: Defines the rx::Image11 class, which acts as the interface to // the actual underlying resources of a Texture #ifndef LIBGLE...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // TextureStorage9.h: Defines the abstract rx::TextureStorage9 class and its concrete derived // classes TextureStorage9_2D and TextureStor...
C++
#include "precompiled.h" // // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Blit.cpp: Surface copy utility class. #include "libGLESv2/renderer/Blit.h" #include "libGLESv2/main.h" #...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Query9.h: Defines the rx::Query9 class which implements rx::QueryImpl. #ifndef LIBGLESV2_RENDERER_QUERY9_H_ #define LIBGLESV2_RENDERER_...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ImageSSE2.cpp: Implements SSE2-based functions of rx::Image class. It's // in a separated file for GCC, wh...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SwapChain.h: Defines a back-end specific class that hides the details of the // implementation-specific swapchain. #ifndef LIBGLESV2_RE...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderTarget9.cpp: Implements a D3D9-specific wrapper for IDirect3DSurface9 // pointers retained by renderbuffe...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // TextureStorage11.cpp: Implements the abstract rx::TextureStorage11 class and its concrete derived // classes Te...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SwapChain9.h: Defines a back-end specific class for the D3D9 swap chain. #ifndef LIBGLESV2_RENDERER_SWAPCHAIN9_H_ #define LIBGLESV2_REN...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ShaderExecutable11.cpp: Implements a D3D11-specific class to contain shader // executable implementation d...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // BufferStorage.cpp Defines the abstract BufferStorage class. #include "libGLESv2/renderer/BufferStorage.h" nam...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Query11.h: Defines the rx::Query11 class which implements rx::QueryImpl. #ifndef LIBGLESV2_RENDERER_QUERY11_H_ #define LIBGLESV2_RENDER...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // TextureStorage9.cpp: Implements the abstract rx::TextureStorage9 class and its concrete derived // classes Text...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // renderer11_utils.cpp: Conversion functions and other utility routines // specific to the D3D11 renderer. #incl...
C++
// // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderStateCache.h: Defines rx::RenderStateCache, a cache of Direct3D render // state objects. #ifndef LIBGLESV2_RENDERER_RENDERST...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // renderer11_utils.h: Conversion functions and other utility routines // specific to the D3D11 renderer. #ifndef LIBGLESV2_RENDERER_RENDE...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // QueryImpl.h: Defines the abstract rx::QueryImpl class. #ifndef LIBGLESV2_RENDERER_QUERYIMPL_H_ #define LIBGLESV2_RENDERER_QUERYIMPL_H_ ...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // TextureStorage.cpp: Implements the abstract rx::TextureStorageInterface class and its concrete derived // ...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Fence9.cpp: Defines the rx::Fence9 class. #include "libGLESv2/renderer/Fence9.h" #include "libGLESv2/main.h" #...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // renderer9_utils.cpp: Conversion functions and other utility routines // specific to the D3D9 renderer. #i...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // IndexDataManager.cpp: Defines the IndexDataManager, a class that // runs the Buffer translation process fo...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // IndexBuffer.cpp: Defines the abstract IndexBuffer class and IndexBufferInterface // class with derivations...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Image.h: Defines the rx::Image class, an abstract base class for the // renderer-specific classes which will define the interface ...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderStateCache.cpp: Defines rx::RenderStateCache, a cache of Direct3D render // state objects. #include...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexBuffer11.h: Defines the D3D11 VertexBuffer implementation. #ifndef LIBGLESV2_RENDERER_VERTEXBUFFER11_H_ #define LIBGLESV2_RENDERE...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexDataManager.h: Defines the VertexDataManager, a class that // runs the Buffer translation process. ...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Fence11.cpp: Defines the rx::Fence11 class which implements rx::FenceImpl. #include "libGLESv2/renderer/Fence1...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // IndexDataManager.h: Defines the IndexDataManager, a class that // runs the Buffer translation process for index buffers. #ifndef L...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // BufferStorage.h Defines the abstract BufferStorage class. #ifndef LIBGLESV2_RENDERER_BUFFERSTORAGE_H_ #define LIBGLESV2_RENDERER_BUFFER...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // IndexBuffer11.h: Defines the D3D11 IndexBuffer implementation. #ifndef LIBGLESV2_RENDERER_INDEXBUFFER11_H_ #define LIBGLESV2_RENDERER_I...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderTarget11.h: Defines a DX11-specific wrapper for ID3D11View pointers // retained by Renderbuffers. #ifndef LIBGLESV2_RENDERER_REND...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Fence11.h: Defines the rx::Fence11 class which implements rx::FenceImpl. #ifndef LIBGLESV2_RENDERER_Fence11_H_ #define LIBGLESV2_RENDER...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Query11.cpp: Defines the rx::Query11 class which implements rx::QueryImpl. #include "libGLESv2/renderer/Query1...
C++
// // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ShaderExecutable9.h: Defines a D3D9-specific class to contain shader // executable implementation details. #ifndef LIBGLESV2_RENDE...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexDeclarationCache.cpp: Implements a helper class to construct and cache vertex declarations. #include "li...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Image9.cpp: Implements the rx::Image9 class, which acts as the interface to // the actual underlying surfa...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // BufferStorage9.cpp Defines the BufferStorage9 class. #include "libGLESv2/renderer/BufferStorage9.h" #include "...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderTarget9.h: Defines a D3D9-specific wrapper for IDirect3DSurface9 pointers // retained by Renderbuffers. #ifndef LIBGLESV2_RENDERE...
C++
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // IndexBuffer11.cpp: Defines the D3D11 IndexBuffer implementation. #include "libGLESv2/renderer/IndexBuffer11.h"...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexDeclarationCache.h: Defines a helper class to construct and cache vertex declarations. #ifndef LIBGLESV2_RENDERER_VERTEXDECLARATI...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SwapChain9.cpp: Implements a back-end specific class for the D3D9 swap chain. #include "libGLESv2/rendere...
C++
// // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Renderer11.h: Defines a back-end specific class for the D3D11 renderer. #ifndef LIBGLESV2_RENDERER_RENDERER11_H_ #define LIBGLESV2...
C++
// // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Blit.cpp: Surface copy utility class. #ifndef LIBGLESV2_BLIT_H_ #define LIBGLESV2_BLIT_H_ #include "common/angleutils.h" namespa...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ShaderExecutable9.cpp: Implements a D3D9-specific class to contain shader // executable implementation det...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Fence9.h: Defines the rx::Fence9 class which implements rx::FenceImpl. #ifndef LIBGLESV2_RENDERER_FENCE9_H_ #define LIBGLESV2_RENDERER_...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // InputLayoutCache.h: Defines InputLayoutCache, a class that builds and caches // D3D11 input layouts. #ifndef LIBGLESV2_RENDERER_INPUTLA...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // RenderTarget.h: Defines an abstract wrapper class to manage IDirect3DSurface9 // and ID3D11View objects belonging to renderbuffers. #if...
C++
// // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // vertexconversion.h: A library of vertex conversion classes that can be used to build // the FormatConverter objects used by the buf...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexBuffer.h: Defines the abstract VertexBuffer class and VertexBufferInterface // class with derivations, classes that perform g...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // IndexBuffer.h: Defines the abstract IndexBuffer class and IndexBufferInterface // class with derivations, classes that perform grap...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // FenceImpl.h: Defines the rx::FenceImpl class. #ifndef LIBGLESV2_RENDERER_FENCEIMPL_H_ #define LIBGLESV2_RENDERER_FENCEIMPL_H_ #include...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Renderer.cpp: Implements EGL dependencies for creating and destroying Renderer instances. #include <EGL/e...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SwapChain11.cpp: Implements a back-end specific class for the D3D11 swap chain. #include "libGLESv2/rende...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // TextureStorage11.h: Defines the abstract rx::TextureStorage11 class and its concrete derived // classes TextureStorage11_2D and TextureS...
C++
#include "precompiled.h" // // Copyright (c) 2012-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Renderer9.cpp: Implements a back-end specific class for the D3D9 renderer. #include "libGLESv2/main.h" #i...
C++
#include "precompiled.h" // // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // BufferStorage11.cpp Defines the BufferStorage11 class. #include "libGLESv2/renderer/BufferStorage11.h" #includ...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // BufferStorage9.h Defines the BufferStorage9 class. #ifndef LIBGLESV2_RENDERER_BUFFERSTORAGE9_H_ #define LIBGLESV2_RENDERER_BUFFERSTORAG...
C++
#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexBuffer9.cpp: Defines the D3D9 VertexBuffer implementation. #include "libGLESv2/renderer/VertexBuffe...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SwapChain11.h: Defines a back-end specific class for the D3D11 swap chain. #ifndef LIBGLESV2_RENDERER_SWAPCHAIN11_H_ #define LIBGLESV2_...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // ShaderExecutable.h: Defines a renderer-agnostic class to contain shader // executable implementation details. #ifndef LIBGLESV2_RENDERE...
C++
// // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Fence.h: Defines the gl::Fence class, which supports the GL_NV_fence extension. #ifndef LIBGLESV2_FENCE_H_ #define LIBGLESV2_FENCE...
C++
// // Copyright (c) 2010-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #ifndef LIBGLESV2_UNIFORM_H_ #define LIBGLESV2_UNIFORM_H_ #include <string> #include <vector> #define GL_APICALL #inclu...
C++
#include "precompiled.h" // // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Fence.cpp: Implements the gl::Fence class, which supports the GL_NV_fence extension. #include "libGLESv2/...
C++
// // Copyright (c) 2002-2010 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Renderbuffer.h: Defines the wrapper class gl::Renderbuffer, as well as the // class hierarchy used to store its contents: Renderbuf...
C++
#include "precompiled.h" // // Copyright (c) 2010-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "libGLESv2/Uniform.h" #include "libGLESv2/utilities.h" namespace gl { Uniform::Unifo...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // mathutil.h: Math and bit manipulation functions. #ifndef LIBGLESV2_MATHUTIL_H_ #define LIBGLESV2_MATHUTIL_H_ #include <intrin.h> ...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Program.h: Defines the gl::Program class. Implements GL program objects // and related functionality. [OpenGL ES 2.0.24] section 2....
C++
// // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Buffer.h: Defines the gl::Buffer class, representing storage of vertex and/or // index data. Implements GL buffer objects and relat...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Program.h: Defines the gl::Program class. Implements GL program objects // and related functionality. [OpenGL ES 2.0.24] section 2....
C++
#include "precompiled.h" // // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Texture.cpp: Implements the gl::Texture class and its derived classes // Texture2D and TextureCubeMap. Imp...
C++
// // Copyright (c) 2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // precompiled.h: Precompiled header file for libGLESv2. #define GL_APICALL #include <GLES2/gl2.h> #include <GLES2/gl2ext.h> #define EGLA...
C++
// // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "GLSLANG/ShaderLang.h" #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #inc...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class LocationTest : public PreprocessorTest { protected: void expectLocation(int cou...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #ifndef PREPROCESSOR_TESTS_MOCK_DIRECTIVE_HANDLER_H_ #define PREPROCESSOR_TESTS_MOCK_DIRECTIVE_HANDLER_H_ #include "gmock/gmock.h" #includ...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class DefineTest : public PreprocessorTest { }; TEST_F(DefineTest, NonIdentifier) { ...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #ifndef PREPROCESSOR_TESTS_MOCK_DIAGNOSTICS_H_ #define PREPROCESSOR_TESTS_MOCK_DIAGNOSTICS_H_ #include "gmock/gmock.h" #include "Diagnosti...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" void PreprocessorTest::preprocess(const char* input, const char* expected) { ASSERT_T...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" #define CLOSED_RANGE(x, y) testing::Range(x, static_cast<char>((y) + 1)) class InvalidNu...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class CommentTest : public PreprocessorTest, public testing::WithPara...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "gtest/gtest.h" #include "Token.h" TEST(TokenTest, DefaultConstructor) { pp::Token token; EXPECT_EQ(0, token.type); ...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class ExtensionTest : public PreprocessorTest { }; TEST_F(ExtensionTest, Valid) { co...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include <algorithm> #include <climits> #include "PreprocessorTest.h" #include "Token.h" class CharTest : public PreprocessorTest, ...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" struct OperatorTestParam { const char* str; int op; }; class OperatorTest : publ...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" #define CLOSED_RANGE(x, y) testing::Range(x, static_cast<char>((y) + 1)) class Identifie...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class SpaceTest : public PreprocessorTest { protected: void expectSpace(const std::...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "gtest/gtest.h" #include "MockDiagnostics.h" #include "MockDirectiveHandler.h" #include "Preprocessor.h" #ifndef PREPROCESSOR_TE...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class IfTest : public PreprocessorTest { }; TEST_F(IfTest, If_0) { const char* str =...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class ErrorTest : public PreprocessorTest { }; TEST_F(ErrorTest, Empty) { const char...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class VersionTest : public PreprocessorTest { }; TEST_F(VersionTest, Valid) { const ...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Input.h" #include "Token.h" class InitTest : public PreprocessorTest { }; TEST_F(InitTest, Negati...
C++
// // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "PreprocessorTest.h" #include "Token.h" class PragmaTest : public PreprocessorTest { }; TEST_F(PragmaTest, EmptyName) { cons...
C++
// // Copyright (c) 2002-2013 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include <sstream> #include <string> #include <vector> #include "GLSLANG/ShaderLang.h" #include "gtest/gtest.h" #define SHADER(Src) #S...
C++
// // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #include "compiler/VariablePacker.h" #include "gtest/gtest.h" TEST(VariablePacking, Pack) { VariablePacker packer; TVariableInfoLi...
C++