Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-05-03 Thread Kristian Høgsberg
2010/4/28 Brian Paul : > Kristian Høgsberg wrote: >> >> 2010/4/27 Kristian Høgsberg : >> [ I hit send to early there... ] >>> >>> review the patches, or at least just some of them.  The overall >>> approach is >> >>  1. Add a API tag to GLcontext so we key off of that. >>  2. Use API-aware construc

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-29 Thread Chia-I Wu
2010/4/29 Kristian Høgsberg : > 2010/4/28 Chia-I Wu : >> 2010/4/28 Kristian Høgsberg : >>> 2010/4/27 Kristian Høgsberg : >>> [ I hit send to early there... ] review the patches, or at least just some of them.  The overall approach is >>> >>>  1. Add a API tag to GLcontext so we key off of

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Kristian Høgsberg
2010/4/28 Chia-I Wu : > 2010/4/28 Kristian Høgsberg : >> 2010/4/27 Kristian Høgsberg : >> [ I hit send to early there... ] >>> review the patches, or at least just some of them.  The overall >>> approach is >> >>  1. Add a API tag to GLcontext so we key off of that. >>  2. Use API-aware constructor

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Mark Mueller
Would it work to put a dummy value into the enum to assure you get the size you want? enum __dri_api_enum { __DRI_API_OPENGL = 0, #define __DRI_API_OPENGL __DRI_API_OPENGL __DRI_API_GLES1 = 1, #define __DRI_API_GLES1 __DRI_API_GLES1 __DRI_API_GLES2 = 2, #define __DRI_API_GLES2

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Kristian Høgsberg
2010/4/28 Jakob Bornecrantz : > On 2010-04-28 17.32, Kristian Høgsberg wrote: >> >> 2010/4/28 Brian Paul: >>> >>> Kristian Høgsberg wrote: 2010/4/27 Kristian Høgsberg: [ I hit send to early there... ] > > review the patches, or at least just some of them.  The overall > a

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Chia-I Wu
2010/4/28 Kristian Høgsberg : > 2010/4/27 Kristian Høgsberg : > [ I hit send to early there... ] >> review the patches, or at least just some of them.  The overall >> approach is > >  1. Add a API tag to GLcontext so we key off of that. >  2. Use API-aware constructor where we create GLES1/2 contex

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Jakob Bornecrantz
On 2010-04-28 17.32, Kristian Høgsberg wrote: 2010/4/28 Brian Paul: Kristian Høgsberg wrote: 2010/4/27 Kristian Høgsberg: [ I hit send to early there... ] review the patches, or at least just some of them. The overall approach is 1. Add a API tag to GLcontext so we key off of that. 2.

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Kristian Høgsberg
2010/4/28 Brian Paul : > Kristian Høgsberg wrote: >> >> 2010/4/27 Kristian Høgsberg : >> [ I hit send to early there... ] >>> >>> review the patches, or at least just some of them.  The overall >>> approach is >> >>  1. Add a API tag to GLcontext so we key off of that. >>  2. Use API-aware construc

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-28 Thread Brian Paul
Kristian Høgsberg wrote: 2010/4/27 Kristian Høgsberg : [ I hit send to early there... ] review the patches, or at least just some of them. The overall approach is 1. Add a API tag to GLcontext so we key off of that. 2. Use API-aware constructor where we create GLES1/2 contexts (currently on

Re: [Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-27 Thread Kristian Høgsberg
2010/4/27 Kristian Høgsberg : [ I hit send to early there... ] > review the patches, or at least just some of them.  The overall > approach is 1. Add a API tag to GLcontext so we key off of that. 2. Use API-aware constructor where we create GLES1/2 contexts (currently only ES1/2 state trackers)

[Mesa-dev] Merging GLES1/2 to mesa/main

2010-04-27 Thread Kristian Høgsberg
Hi, I wrote about my plan to integrate the GLES1/2 code from src/mesa/es into core mesa a couple of weeks ago: http://lists.freedesktop.org/archives/mesa-dev/2010-April/38.html and after wrapping my head around the dispatch and remap tables, I've come up with a series of patches to impleme