diff options
Diffstat (limited to 'emulator/opengl/host/libs/renderControl_dec')
5 files changed, 0 insertions, 127 deletions
diff --git a/emulator/opengl/host/libs/renderControl_dec/Android.mk b/emulator/opengl/host/libs/renderControl_dec/Android.mk deleted file mode 100644 index 4a97a93..0000000 --- a/emulator/opengl/host/libs/renderControl_dec/Android.mk +++ /dev/null @@ -1,21 +0,0 @@ -LOCAL_PATH := $(call my-dir) - - -### host library ############################################ -$(call emugl-begin-host-static-library,lib_renderControl_dec) -$(call emugl-import,libOpenglCodecCommon) -$(call emugl-gen-decoder,$(LOCAL_PATH),renderControl) -# For renderControl_types.h -$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) -$(call emugl-end-module) - -### host library, 64-bit #################################### -ifdef EMUGL_BUILD_64BITS - $(call emugl-begin-host64-static-library,lib64_renderControl_dec) - $(call emugl-import,lib64OpenglCodecCommon) - $(call emugl-gen-decoder,$(LOCAL_PATH),renderControl) - # For renderControl_types.h - $(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) - $(call emugl-export,CFLAGS,-m64) - $(call emugl-end-module) -endif
\ No newline at end of file diff --git a/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib b/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib deleted file mode 100644 index 8b9972f..0000000 --- a/emulator/opengl/host/libs/renderControl_dec/renderControl.attrib +++ /dev/null @@ -1,41 +0,0 @@ -GLOBAL - base_opcode 10000 - encoder_headers <stdint.h> <EGL/egl.h> "glUtils.h" - -rcGetEGLVersion - dir major out - len major sizeof(EGLint) - dir minor out - len minor sizeof(EGLint) - -rcQueryEGLString - dir buffer out - len buffer bufferSize - -rcGetGLString - dir buffer out - len buffer bufferSize - -rcGetNumConfigs - dir numAttribs out - len numAttribs sizeof(uint32_t) - -rcGetConfigs - dir buffer out - len buffer bufSize - -rcChooseConfig - dir attribs in - len attribs attribs_size - dir configs out - var_flag configs nullAllowed - len configs configs_size*sizeof(uint32_t) - -rcReadColorBuffer - dir pixels out - len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height) - -rcUpdateColorBuffer - dir pixels in - len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height) - var_flag pixels isLarge diff --git a/emulator/opengl/host/libs/renderControl_dec/renderControl.in b/emulator/opengl/host/libs/renderControl_dec/renderControl.in deleted file mode 100644 index 55539f9..0000000 --- a/emulator/opengl/host/libs/renderControl_dec/renderControl.in +++ /dev/null @@ -1,26 +0,0 @@ -GL_ENRTY(GLint, rcGetRendererVersion) -GL_ENTRY(EGLint, rcGetEGLVersion, EGLint *major, EGLint *minor) -GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize) -GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize) -GL_ENTRY(EGLint, rcGetNumConfigs, uint32_t *numAttribs) -GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer) -GL_ENTRY(EGLint, rcChooseConfig, EGLint *attribs, uint32_t attribs_size, uint32_t *configs, uint32_t configs_size) -GL_ENTRY(EGLint, rcGetFBParam, EGLint param) -GL_ENTRY(uint32_t, rcCreateContext, uint32_t config, uint32_t share, uint32_t glVersion) -GL_ENTRY(void, rcDestroyContext, uint32_t context) -GL_ENTRY(uint32_t, rcCreateWindowSurface, uint32_t config, uint32_t width, uint32_t height) -GL_ENTRY(void, rcDestroyWindowSurface, uint32_t windowSurface) -GL_ENTRY(uint32_t, rcCreateColorBuffer, uint32_t width, uint32_t height, GLenum internalFormat) -GL_ENTRY(void, rcOpenColorBuffer, uint32_t colorbuffer) -GL_ENTRY(void, rcCloseColorBuffer, uint32_t colorbuffer) -GL_ENTRY(void, rcSetWindowColorBuffer, uint32_t windowSurface, uint32_t colorBuffer) -GL_ENTRY(int, rcFlushWindowColorBuffer, uint32_t windowSurface) -GL_ENTRY(EGLint, rcMakeCurrent, uint32_t context, uint32_t drawSurf, uint32_t readSurf) -GL_ENTRY(void, rcFBPost, uint32_t colorBuffer) -GL_ENTRY(void, rcFBSetSwapInterval, EGLint interval) -GL_ENTRY(void, rcBindTexture, uint32_t colorBuffer) -GL_ENTRY(void, rcBindRenderbuffer, uint32_t colorBuffer) -GL_ENTRY(EGLint, rcColorBufferCacheFlush, uint32_t colorbuffer, EGLint postCount,int forRead) -GL_ENTRY(void, rcReadColorBuffer, uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void *pixels) -GL_ENTRY(int, rcUpdateColorBuffer, uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void *pixels) -GL_ENTRY(int, rcOpenColorBuffer2, uint32_t colorbuffer) diff --git a/emulator/opengl/host/libs/renderControl_dec/renderControl.types b/emulator/opengl/host/libs/renderControl_dec/renderControl.types deleted file mode 100644 index a7d96ab..0000000 --- a/emulator/opengl/host/libs/renderControl_dec/renderControl.types +++ /dev/null @@ -1,11 +0,0 @@ -uint32_t 32 0x%08x false -EGLint 32 0x%08x false -GLint 32 0x%08x false -GLuint 32 0x%08x false -GLenum 32 0x%08x false -EGLenum 32 0x%08x false -uint32_t* 32 0x%08x true -EGLint* 32 0x%08x true -GLint* 32 0x%08x true -GLuint* 32 0x%08x true -void* 32 0x%08x true diff --git a/emulator/opengl/host/libs/renderControl_dec/renderControl_types.h b/emulator/opengl/host/libs/renderControl_dec/renderControl_types.h deleted file mode 100644 index da215bb..0000000 --- a/emulator/opengl/host/libs/renderControl_dec/renderControl_types.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -* Copyright 2011 The Android Open Source Project -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -#include <stdint.h> -#include <EGL/egl.h> -#include "glUtils.h" - -// values for 'param' argument of rcGetFBParam -#define FB_WIDTH 1 -#define FB_HEIGHT 2 -#define FB_XDPI 3 -#define FB_YDPI 4 -#define FB_FPS 5 -#define FB_MIN_SWAP_INTERVAL 6 -#define FB_MAX_SWAP_INTERVAL 7 |