[core] Rationalize naming for style-related code

This commit is contained in:
John Firebaugh
2016-04-26 16:39:56 -07:00
parent 18149cbcc2
commit c902f9098b
156 changed files with 1079 additions and 805 deletions

View File

@@ -1,7 +1,7 @@
#include <jni.h>
#include <GLES2/gl2.h>
#include <mbgl/layer/custom_layer.hpp>
#include <mbgl/style/layers/custom_layer.hpp>
static const GLchar * vertexShaderSource = "attribute vec2 a_pos; void main() { gl_Position = vec4(a_pos, 0, 1); }";
static const GLchar * fragmentShaderSource = "void main() { gl_FragColor = vec4(0, 1, 0, 1); }";
@@ -64,7 +64,7 @@ void nativeInitialize(void *context) {
reinterpret_cast<ExampleCustomLayer*>(context)->initialize();
}
void nativeRender(void *context, const mbgl::CustomLayerRenderParameters& /*parameters*/) {
void nativeRender(void *context, const mbgl::style::CustomLayerRenderParameters& /*parameters*/) {
reinterpret_cast<ExampleCustomLayer*>(context)->render();
}