HomeSort by relevance Sort by last modified time
    Searched refs:ApiType (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/deqp/framework/opengl/
gluRenderContext.hpp 70 class ApiType
73 ApiType (void) : m_bits(pack(0, 0, PROFILE_LAST)) {}
74 ApiType (int major, int minor, Profile profile) : m_bits(pack(major, minor, profile)) {}
80 bool operator== (ApiType other) const { return m_bits == other.m_bits; }
81 bool operator!= (ApiType other) const { return m_bits != other.m_bits; }
86 static ApiType es (int major, int minor) { return ApiType(major, minor, PROFILE_ES); }
87 static ApiType core (int major, int minor) { return ApiType(major, minor, PROFILE_CORE); }
88 static ApiType compatibility (int major, int minor) { return ApiType(major, minor, PROFILE_COMPATIBILITY);
    [all...]
gluRenderContext.cpp 40 inline bool versionGreaterOrEqual (ApiType a, ApiType b)
46 bool contextSupports (ContextType ctxType, ApiType requiredApiType)
119 RenderContext* createDefaultRenderContext (tcu::Platform& platform, const tcu::CommandLine& cmdLine, ApiType apiType)
133 config.type = glu::ContextType(apiType, ctxFlags);
168 if (config.type.getAPI() == ApiType::es(3,1))
178 static std::vector<std::string> getExtensions (const glw::Functions& gl, ApiType apiType)
183 if (apiType.getProfile() == PROFILE_ES && apiType.getMajorVersion() == 2
    [all...]
gluShaderUtil.cpp 93 static ApiType getMinAPIForGLSLVersion (GLSLVersion version)
95 static const ApiType s_minApi[] =
97 ApiType::es(2,0),
98 ApiType::es(3,0),
99 ApiType::es(3,1),
100 ApiType::core(3,0),
101 ApiType::core(3,1),
102 ApiType::core(3,2),
103 ApiType::core(3,3),
104 ApiType::core(4,0)
    [all...]
gluStateReset.cpp 55 if (contextSupports(type, ApiType::es(3,0)))
61 if (contextSupports(type, ApiType::es(3,1)))
69 if (contextSupports(type, ApiType::es(3,0)))
83 if (contextSupports(type, ApiType::es(3,0)))
98 if (contextSupports(type, ApiType::es(3,0)))
110 if (contextSupports(type, ApiType::es(3,1)))
143 if (contextSupports(type, ApiType::es(3,0)))
157 if (contextSupports(type, ApiType::es(3,1)))
176 if (contextSupports(type, ApiType::es(3,0)))
190 if (contextSupports(type, ApiType::es(3,1))
    [all...]
gluStrUtil.hpp 94 std::ostream& operator<< (std::ostream& str, ApiType apiType);
  /packages/apps/Camera2/src/com/android/camera/device/
CameraDeviceKey.java 37 public enum ApiType {
45 private final ApiType mApiType;
51 public ApiType getApiType() {
65 public CameraDeviceKey(ApiType apiType, CameraId cameraId) {
66 mApiType = apiType;
PortabilityCameraActionProvider.java 23 import com.android.camera.device.CameraDeviceKey.ApiType;
57 if (key.getApiType() == ApiType.CAMERA_API_PORTABILITY_API2) {
59 } else if (key.getApiType() == ApiType.CAMERA_API_PORTABILITY_API1) {
MultiCameraDeviceLifecycle.java 27 import com.android.camera.device.CameraDeviceKey.ApiType;
137 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API2, cameraId);
163 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_AUTO,
190 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_API2,
216 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API_PORTABILITY_API1, cameraId);
240 CameraDeviceKey key = new CameraDeviceKey(ApiType.CAMERA_API1, cameraId);
  /external/deqp/framework/egl/
egluPlatform.cpp 39 tcu::FunctionLibrary* Platform::createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine&) const
42 if (apiType.getProfile() == glu::PROFILE_ES)
egluPlatform.hpp 90 virtual tcu::FunctionLibrary* createDefaultGLFunctionLibrary (glu::ApiType apiType, const tcu::CommandLine& cmdLine) const;
egluGLUtil.hpp 41 eglw::EGLint apiRenderableType (glu::ApiType apiType);
egluGLFunctionLoader.hpp 66 const tcu::FunctionLibrary* getLibrary (glu::ApiType apiType);
egluGLFunctionLoader.cpp 60 const tcu::FunctionLibrary* GLLibraryCache::getLibrary (glu::ApiType apiType)
63 const deUint32 key = apiType.getPacked();
68 library = m_platform.createDefaultGLFunctionLibrary(apiType, m_cmdLine);
  /external/deqp/modules/gles2/
tes2Context.cpp 47 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(2,0));
  /external/deqp/modules/gles3/
tes3Context.cpp 44 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,0));
  /external/deqp/modules/egl/
teglTestCase.cpp 62 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const
64 initGLFunctions(dst, apiType, 0, DE_NULL);
67 void EglTestContext::initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const
69 const tcu::FunctionLibrary* platformLib = m_glLibraryCache.getLibrary(apiType);
72 glu::initCoreFunctions(dst, &loader, apiType);
73 glu::initExtensionFunctions(dst, &loader, apiType, numExtensions, extensions);
teglTestCase.hpp 71 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType) const;
72 void initGLFunctions (glw::Functions* dst, glu::ApiType apiType, int numExtensions, const char* const* extensions) const;
teglImageTests.cpp 69 using glu::ApiType;
151 ImageTestCase (EglTestContext& eglTestCtx, ApiType api, const string& name, const string& desc)
176 ApiType m_api;
184 : ImageTestCase(eglTestCtx, ApiType::es(2, 0), "invalid_create_image", "eglCreateImageKHR() with invalid arguments")
217 EGLConfig chooseConfig (const Library& egl, EGLDisplay display, ApiType apiType)
224 attribs[EGL_RENDERABLE_TYPE] = eglu::apiRenderableType(apiType);
333 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("create_image_gles2_") + getTargetName(target) + "_" + getStorageName(storage) + (useTexLevel0 ? "_level0_only" : ""), "Create EGLImage from GLES2 object")
351 const ContextType contextType (ApiType::es(2, 0));
394 : ImageTestCase (eglTestCtx, ApiType::es(2, 0), string("image_target_gles2_") + getTargetName(target), "Use EGLImage as GLES2 object"
    [all...]
  /external/deqp/modules/glshared/
glsInteractionTestUtil.hpp 121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight);
123 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, std::vector<RenderCommand>& dst);
glsDrawTest.hpp 209 bool valid (glu::ApiType apiType) const;
218 glu::ApiType apiType; //!< needed in spec validation
glsInteractionTestUtil.cpp 54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight)
192 if (apiType == glu::ApiType::es(2,0))
254 void computeRandomRenderCommands (de::Random& rnd, glu::ApiType apiType, int numCommands, int targetW, int targetH, vector<RenderCommand>& dst)
261 computeRandomRenderState(rnd, cmd->state, apiType, targetW, targetH);
  /external/deqp/modules/gles31/
tes31Context.cpp 60 m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,1));
  /external/deqp/framework/platform/osx/
tcuOSXPlatform.cpp 100 static glu::ApiType getVersion (const glw::Functions& gl)
107 return glu::ApiType::core(major, minor);
152 const glu::ApiType actualApi = getVersion(m_functions);
  /external/deqp/framework/platform/ios/
tcuIOSPlatform.mm 109 if (type.getAPI() == glu::ApiType::es(3,0))
111 else if (type.getAPI() == glu::ApiType::es(2,0))
133 if (type.getAPI() == glu::ApiType::es(3,0))
135 else if (type.getAPI() == glu::ApiType::es(2,0))
  /external/deqp/framework/platform/null/
tcuNullRenderContext.cpp 129 using glu::ApiType;
131 if (ctxType.getAPI() == ApiType::es(2, 0))
136 else if (ctxType.getAPI() == ApiType::es(3, 0))
141 else if (ctxType.getAPI() == ApiType::es(3, 1))

Completed in 1041 milliseconds

1 2 3